Lavoro terminato
Specifiche
hello, I would like an EA with only ZigZag indicators, Sorry my english is not perfect so I join you some screen to explain my strategy .thank you
I need trailing stop (in pips) option: true/false and a complex martingal.
first when the trade is good (don't need martingal), the EA have to place buy stop and sell stop (screen 1), I don't want trade all the ZigZag, So I need an option, ZigZagmax: 30pips (for example) and ZigZagMin: 10 pips (for example), so in this example, if the zigzigag is 40 pips or 5pips the EA will not take the set up.
WHEN the trailing stop is OFF, THE TP is the distance between the buy stop and the sell stop . When the trailing stop is on, the TP is based only on the trailing stop.
Secondly, in Short martingal (Screen 2) the buy=0.01 have to stop when sellstop=0.02 is trigerred (logic) the TP or Trailing stop is the same as before BUT the TP start WHEN we recover all the losses
In long martingal ( screen 3) REALLY important, sellstop or buystop must have to stay on the lowest point for a sellstop and on the highest point for the buystop, screen 3 is a good example and it's really important. TP or Trailing stop is the same as before BUT the TP start WHEN we recover ALL the losses.
Last point really important: When the martingal is too long ( because range). the EA need to Stop when there is 3 martingal or 4 martingal , 5 martingal and must continue to the next set up. it's like a cycle. Example: I choose StopMartingal=3 , so buystop=0.01, sellstop=0.02, buystop=0.04, at 0.04 the EA stop the trade (cycle1) and will restart a new cycle at the next setup (1hour or 1day after it depend of the market) and will begin at 0.08. TP or Trailing stop is the same as before BUT start WHEN we recover all the losses of all the cycles and order.
TO finish, in option, I need an offset=1pips or 2 pips.... for the buy stop only , it's because the spread.
Please tell me if you don't undersatnd something, You and me don't want to waste our time. I can do more screen to explain.
sorry for my english.
today and tomorrow I don't work.