forex software

Create and Test Forex Strategies

forex software

express-generator:strategy-properties

Strategy properties

These options control position sizing, entry/exit behavior, and strategy protections.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Strategy properties      ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
entry_lots            = 0.01

; Trade direction: LongAndShort, LongOnly
trade_direction_mode  = LongAndShort

; Opposite entry signal: Ignore, Reverse, IgnoreOrReverse
opposite_entry_signal = Ignore

; Stop Loss: AlwaysUse, MayUse, DoNotUse
stop_loss_usage       = DoNotUse
; Stop Loss type: Fixed, Trailing, FixedOrTrailing
stop_loss_type        = Fixed
stop_loss_range_min   = 10
stop_loss_range_max   = 100

; Take Profit: AlwaysUse, MayUse, DoNotUse
take_profit_usage     = DoNotUse
take_profit_range_min = 10
take_profit_range_max = 100

; Require Take Profit to be greater than or equal to Stop Loss.
take_profit_gte_stop_loss = false

; Max Spread Protection in points, percent, or average multiple.
; Examples: 42 | 90% | 2.5A
max_spread_protection = 0

; Max number of indicators to use
max_entry_slots       = 3
max_exit_slots        = 2

Notes

  • trade_direction_mode values: LongAndShort, LongOnly.
  • opposite_entry_signal values: Ignore, Reverse, IgnoreOrReverse.
  • stop_loss_usage and take_profit_usage values: AlwaysUse, MayUse, DoNotUse.
  • stop_loss_type values: Fixed, Trailing, FixedOrTrailing.
  • max_spread_protection format accepts integer points, percent, or average multiple.