SIMPLE BUY AND SELL EA CONDITIONS
-
Hello Guys, i have a simple buy and sell ea where i want the ea not to open a trade at any price where a trade is already open. i will really appreciate help on this. thanks.
-
see below my project.
-
Use No Trade block on top of project.
-
@biztet i want to open as many trades as possible when the condition is yet but just not at the same price.
-
@jstap any ideas
-
@musa-5 Use no trade in the first tree, have a second tree with pink for each trade block->pips away->buy/sell block. Or what ever conditions to open a new trade.
-
@jstap not quite following ,,would you kindly share the blocks
-
@jstap oohhh,,I see,,letme try it out
-
@musa-5 Ok if you struggle just ask.
-
@jstap I built and ea as per our discussion above and tested it ove the last week but does not quite work as expected. where as my goal is to have it open a every 2 pips strictly, it fails to do that. kindly see my project
shared/FHZvbJP7d
-
@musa-5 The light pink blocks need to be below a dark pink block, swop the if trade for a for each trade block.
-
@jstap plese confirm of you meant purple,
-
@musa-5 No pink, pink for each trade, pink pips away.
-
@jstap ive tried that but theres still no 2 pip distance between any two trades,,,ea isopening multiple trades even at the same price while backtesting.
-
@musa-5 Try putting a pink once per position block below the for each trade block.
-
@jstap its now placing just once trade by bar
-
@jstap kinldy see project here
shared/7L29Xc0Vb
-
@musa-5 I would share the time block, stopping the pink block trees placing trades after time, candle 0 doesn't close until it becomes 1.

-
@jstap i dont have any time filters on the pink blocks. i only have filters on the initial blocks and am running them on the day bars.
-
@musa-5 Then don't connect to pink, I just like to know when EA is stopped all trading is stopped.