I used a global variable to track trades and checked it before allowing new ones. Then I reset it at midnight with a time filter and a variable set block.
Set this up and share the project to look at. Why not set up a button for the first trade, pink for each, pips away, will place a trade when pips apart, or pending orders. constants will create adjustable inputs,
Ok sir...Thanks, But the last order is a pending order i need it to close all trades in the group once the pending order gets triggered and it reaches 20pips loss...Is it same thing ill do??
You first trade shluld be on the 'on init' tab like in my example. Then all other blocks should be posotioned on the 'on trade' tab. Obviously you will have to adapt your strategy to your conditions. This is just a glimpse of the overall structure you will need, not what you exactly need.
I think you can use some variables to count each execution of your trees. At the end of the execution, add '+1' or '+2' to keep your numbers in the variable odd or even.