Hello Guys,
i was a bit disappointed, when Mathtraders EA (http://www.forexfactory.com/showthread.php?t=598198) stopped working, so i tried to program the logic of that EA by myself. So far, i am pretty happy and maybe with your support we can improve/implement new things.
This EA is based on Martingale Strategy so i can happen, that you blow your account. Use with caution!
Cheers
Alex
Small description:
Inputs:
TakeProfit: Takeprofit in €. Closes Order when Profit is reached.
StopLoss: Closes all Orders when the Drawdown is bigger then this value.
Lots: Startlot of this EA.
Grid: Pointsdistance between Orders.
Gridmulti: If set to 1, the distance is always the same. For example = 2: first Gridvalue is 100, third order will be placed after 200 Points.
MartMulti: Same like GridMulti but for Lots.
useSMART: I used a method to squeeze the last points out of every Order. There is no disadvantage, so better use it.
MaxOrders: Number of MartingaleSteps.
EntryLogic:
-Bollinger: Places an Order when price touches the outer Bands
-MA Sells, when fastMA<slowMA and the other way around
-Candle: follows previous Candle
-Spearman: tries to follow the trend with the spearmancorrelation
-CCI/EMA: tries to follow the trend with CCI and EMA
distanceMA: minimum distance between the MAs to Sell/buy
The EA only opens new Orders on new Candles!
Edit: Uploaded a corrected version
Contact: [email protected]
i was a bit disappointed, when Mathtraders EA (http://www.forexfactory.com/showthread.php?t=598198) stopped working, so i tried to program the logic of that EA by myself. So far, i am pretty happy and maybe with your support we can improve/implement new things.
This EA is based on Martingale Strategy so i can happen, that you blow your account. Use with caution!
Cheers
Alex
Small description:
Inputs:
TakeProfit: Takeprofit in €. Closes Order when Profit is reached.
StopLoss: Closes all Orders when the Drawdown is bigger then this value.
Lots: Startlot of this EA.
Grid: Pointsdistance between Orders.
Gridmulti: If set to 1, the distance is always the same. For example = 2: first Gridvalue is 100, third order will be placed after 200 Points.
MartMulti: Same like GridMulti but for Lots.
useSMART: I used a method to squeeze the last points out of every Order. There is no disadvantage, so better use it.
MaxOrders: Number of MartingaleSteps.
EntryLogic:
-Bollinger: Places an Order when price touches the outer Bands
-MA Sells, when fastMA<slowMA and the other way around
-Candle: follows previous Candle
-Spearman: tries to follow the trend with the spearmancorrelation
-CCI/EMA: tries to follow the trend with CCI and EMA
distanceMA: minimum distance between the MAs to Sell/buy
The EA only opens new Orders on new Candles!
Edit: Uploaded a corrected version
Contact: [email protected]
Attached File(s)
MartingaleEA.ex4
135 KB
|
469 downloads
|
Uploaded Sep 13, 2023 6:52am