Pretty much the essence of all grid martingale style EA is the ability to avoid trends. I could only get the EA to run once, so added some code before the final }. I set the initial size to .01 and it runs ok now with the usual grid profits until a trend starts. My added simple code is add as global variables near inputs int totalOpenBuyOrders, totalOpenSellOrders; then add code before the final }
if (totalOpenBuyOrders == 0 && totalOpenSellOrders == 0 ) { int SellOrder = OrderSend(_Symbol, OP_SELL, initialsize, Bid, Slippage, 0, 0, "Sell Order", magicNumber, 0, Red); int BuyOrder = OrderSend(_Symbol, OP_BUY, initialsize, Ask, Slippage, 0, 0, "Buy Order", magicNumber, 0, Green); }
Really interesting idea. No loss means that it will always have bigger profits than the losses, not that it will not have any losses. I will test it on Demo, already played with settings and found some interesting worth time to test. Good filter would be time filter, avoiding opening trades with bigger spread.
I am going to add it to my Instaforex account with 200$ balance. Initial size 0.01. . I will share the result here. I feel the strategy of EA is low risk. Thank you.
Liene Care #: Pretty much the essence of all grid martingale style EA is the ability to avoid trends. I could only get the EA to run once, so added some code before the final }. I set the initial size to .01 and it runs ok now with the usual grid profits until a trend starts. My added simple code is add as global variables near inputs int totalOpenBuyOrders, totalOpenSellOrders; then add code before the final } if (totalOpenBuyOrders == 0 && totalOpenSellOrders == 0 ) { int SellOrder = OrderSend(_Symbol, OP_SELL, initialsize, Bid, Slippage, 0, 0, "Sell Order", magicNumber, 0, Red); int BuyOrder = OrderSend(_Symbol, OP_BUY, initialsize, Ask, Slippage, 0, 0, "Buy Order", magicNumber, 0, Green); }
I addet it to my real account in eur/usd abd gbp/usd. Initial size 0.01. Distance for GBP/USD- 50 pips. Take profot 20 Cents (0.20) And for EUR/USD. Distance 25 pips. Take profit 10 cents. (0.1) I will share the result.
Liene Care #: Pretty much the essence of all grid martingale style EA is the ability to avoid trends. I could only get the EA to run once, so added some code before the final }. I set the initial size to .01 and it runs ok now with the usual grid profits until a trend starts. My added simple code is add as global variables near inputs int totalOpenBuyOrders, totalOpenSellOrders; then add code before the final } if (totalOpenBuyOrders == 0 && totalOpenSellOrders == 0 ) { int SellOrder = OrderSend(_Symbol, OP_SELL, initialsize, Bid, Slippage, 0, 0, "Sell Order", magicNumber, 0, Red); int BuyOrder = OrderSend(_Symbol, OP_BUY, initialsize, Ask, Slippage, 0, 0, "Buy Order", magicNumber, 0, Green); }
Thank you for checking my EA. If there are any more suggestions please do tell me
I am going to add it to my Instaforex account with 200$ balance. Initial size 0.01. . I will share the result here. I feel the strategy of EA is low risk. Thank you.
Sure please do share the results and thank you for checking my EA
Mario Miloslavov Derev #: Really interesting idea. No loss means that it will always have bigger profits than the losses, not that it will not have any losses. I will test it on Demo, already played with settings and found some interesting worth time to test. Good filter would be time filter, avoiding opening trades with bigger spread.
1. Adding Time filter, 2. avoiding opening trades with bigger spread - Noted. Thank you for checking my EA and giving your suggestions. If there are any more suggestions please do tell me
Chainya #: I addet it to my real account in eur/usd abd gbp/usd. Initial size 0.01. Distance for GBP/USD- 50 pips. Take profot 20 Cents (0.20) And for EUR/USD. Distance 25 pips. Take profit 10 cents. (0.1) I will share the result.
Hi Chainya #, How is the result of this EA in your set-up? What is your max trade? Is it 10 also? Thank you!
I love this EA, the only problem i cant solve is it starts to open big lot sizes when i selected only 0.01, its starts of right but then eventually opens 1.44 lot sizes, why?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I am going to add it to my Instaforex account with 200$ balance. Initial size 0.01. . I will share the result here. I feel the strategy of EA is low risk. Thank you.
Pretty much the essence of all grid martingale style EA is the ability to avoid trends. I could only get the EA to run once, so added some code before the final }. I set the initial size to .01 and it runs ok now with the usual grid profits until a trend starts. My added simple code is add as global variables near inputs int totalOpenBuyOrders, totalOpenSellOrders; then add code before the final } if (totalOpenBuyOrders == 0 && totalOpenSellOrders == 0 ) { int SellOrder = OrderSend(_Symbol, OP_SELL, initialsize, Bid, Slippage, 0, 0, "Sell Order", magicNumber, 0, Red); int BuyOrder = OrderSend(_Symbol, OP_BUY, initialsize, Ask, Slippage, 0, 0, "Buy Order", magicNumber, 0, Green); }
Pretty much the essence of all grid martingale style EA is the ability to avoid trends. I could only get the EA to run once, so added some code before the final }. I set the initial size to .01 and it runs ok now with the usual grid profits until a trend starts. My added simple code is add as global variables near inputs int totalOpenBuyOrders, totalOpenSellOrders; then add code before the final } if (totalOpenBuyOrders == 0 && totalOpenSellOrders == 0 ) { int SellOrder = OrderSend(_Symbol, OP_SELL, initialsize, Bid, Slippage, 0, 0, "Sell Order", magicNumber, 0, Red); int BuyOrder = OrderSend(_Symbol, OP_BUY, initialsize, Ask, Slippage, 0, 0, "Buy Order", magicNumber, 0, Green); }
Thank you for checking my EA. If there are any more suggestions please do tell me
I am going to add it to my Instaforex account with 200$ balance. Initial size 0.01. . I will share the result here. I feel the strategy of EA is low risk. Thank you.
Sure please do share the results and thank you for checking my EA
Really interesting idea. No loss means that it will always have bigger profits than the losses, not that it will not have any losses. I will test it on Demo, already played with settings and found some interesting worth time to test. Good filter would be time filter, avoiding opening trades with bigger spread.
1. Adding Time filter, 2. avoiding opening trades with bigger spread - Noted. Thank you for checking my EA and giving your suggestions. If there are any more suggestions please do tell me
I addet it to my real account in eur/usd abd gbp/usd. Initial size 0.01. Distance for GBP/USD- 50 pips. Take profot 20 Cents (0.20) And for EUR/USD. Distance 25 pips. Take profit 10 cents. (0.1) I will share the result.