Example:
Variables:
Traded_Pair - CURRENT CHART (Using Euro in this example)
Lot_Size - 10 (but can be user defined)
Trade_Direction - Buy (but can be adjusted to sell)
Entry1 - 1.3000 (Activated initial BUY ORDER, 10 lots when CLOSE => 1.3000)
TS1 - 1.2900 (Trailing stop for 10 lots bought at Entry1)
Entry2 - 1.3100
TS2 - 1.3000 (Trailing Stop changed to 1.3000 for 10 lots bought at 1.3000 and Entry 2)
Entry3 - 1.3200
TS3 - 1.3100 (Trailing Stop changed to 1.3100 for lots bought at 1.3000, 1.3100 and Entry3)
Entry4 - 1.3300
TS4 - 1.3200 (Trailing Stop changed to 1.3085 for lots bought at 1.3000, 1.3100, 1.3200 and Entry4)
Entry5 - 1.3400
TS5 - 1.3300 (Trailing stop changed to 1.3300 for all lots open).
All "Entry" and "TS" entries should be able to be user defined.
Again, I have no idea how to put this in a EA form, but hopefully this syntax/example gives a better idea of the logic.
Thanks for any guidance!
Variables:
Traded_Pair - CURRENT CHART (Using Euro in this example)
Lot_Size - 10 (but can be user defined)
Trade_Direction - Buy (but can be adjusted to sell)
Entry1 - 1.3000 (Activated initial BUY ORDER, 10 lots when CLOSE => 1.3000)
TS1 - 1.2900 (Trailing stop for 10 lots bought at Entry1)
Entry2 - 1.3100
TS2 - 1.3000 (Trailing Stop changed to 1.3000 for 10 lots bought at 1.3000 and Entry 2)
Entry3 - 1.3200
TS3 - 1.3100 (Trailing Stop changed to 1.3100 for lots bought at 1.3000, 1.3100 and Entry3)
Entry4 - 1.3300
TS4 - 1.3200 (Trailing Stop changed to 1.3085 for lots bought at 1.3000, 1.3100, 1.3200 and Entry4)
Entry5 - 1.3400
TS5 - 1.3300 (Trailing stop changed to 1.3300 for all lots open).
All "Entry" and "TS" entries should be able to be user defined.
Again, I have no idea how to put this in a EA form, but hopefully this syntax/example gives a better idea of the logic.
Thanks for any guidance!