ON and OFF Block.
-
Hi,
I will appreciate the help if someone can guide me regarding the use of ON/OFF Block.
I want to disable the trading for the rest of the day if i have 3 consecutive profitable or lossing trades.I have tried a bit, but the logic is taking total trades not for day, and after total profitable trades reaches 3 it never take a trade, so turn ON block didnt work..

-
Logically this is doing this, but if it has turned a block off then the next day this will still be true so as soon as blocks are turned back on they will be turned back off
-
@jstap Thank you for here by, can you please suggest me a correction ?
-
Put a pass once above turn off, once you have a win or a loss reset the pass once
-
is that okay ? where you place the reset block ?

-
Yes that's correct, add a shared link rather than a picture, and the rest goes under whatever you deem as relevant to allow blocks to be switched off again
-
It is working but it stopped considering 3 profitable trades, or we can say it is not checking consecutive profits.
https://fxdreema.com/shared/daQs4qhTc -
I can't help if it is a block not working as needed, you will have to go to the main page and as admin.
-
@Mani13 Is this the whole project or just part of it?
-
Check for 3 consecutive trades: that includes those in past days.
Everyday you started a new checking, and the number wouldn't reset to 0.
Moreover, there were no blocks with the numbers (26,27) as stated in the on/off block
-
@sktsec Yes, you said correct, in initial message image.. it is considering past trades also. and after 3 consecutive profit trades it never open a trade.
Number should reset to 0 each day.
i shared the partial project, buy and sell block are covered as 26/27