@jstap Thanks for the advice. This is what I have so far but it still doesn't work properly. sometimes it opens multiple of the same lot and sometimes after TP it still continue the sequence. Please advice. Thanks
Posts made by Whitenight
-
RE: Need help with custom Martingaleposted in Questions & Answers
-
Need help with custom Martingaleposted in Questions & Answers
Hi,
I am looking for help in creating a martingale EA with the parameter that I want.
I tried the fxdreema martingale system system but it’s not quiet right for me.The Parameter that I am trying to make is:
-
The Lot
Instead of multiplying the lot, I want it in a sequence.
For example:
Initial Lots 0.1
2nd Card. 0.2
3rd Card. 0.3
4th Card. 0.5 and so on. -
The opening of the Card
I want it to open on 2 conditions.
First , it check every hour on the opening candle, so the timing would be 13:00 or 14:00 and so on.
Secondly, the point difference from the opening price. I want it to be at least .00220. For instance if the buy opens at 1.34567 then at the next hour, if it comes down to 1.34347 then only the EA would open a new card with the lot specified in the sequence that I input for the lot size.
Otherwise nothing happens. -
The TP
I am only using TP and no SL.
I want the TP to be set automatically according to this calculation.
A. The Opening Price of the Card
For instance, at the next hour it does come down to 1.34300. The EA would then open a 2nd card.B. The Point Difference
In this case the point difference would be 1.34567-1.34300=0.00267C. A Percentage Value
I want to be able to setup a percentage value just like for the Lot.
2nd card 70%
3rd card 65%
And so on.So here, The TP would be
1.34300+(0.00267*70%)=1.34487If it comes back and hit the Tp, then at the next hour it would open a new buy card automatically. If it doesn’t then it just keeps floating.
I am looking forward to any help or advice

Thanks in advanced. -