Turning on and off two different branches ,buying $ selling
-
Turning on and off two different branches, for example buying and selling or uptrend and downtrend
I encountered a problem in turning on and off two different branches, for example buying and selling or uptrend and downtrend.
For example, when I create two different branches of blocks, only the second branch, which is sells , keeps repeating and in the situations I defined When the purchase is made, nothing happens and no transaction is made at all
To solve this problem, I used condition block with Boolean value, I used flags commands, I used different variables.It seems that the loop is not executed completely
In addition, I checked the numbers of the blocks carefully and arranged them in the construction of the branches
Please send me some examples to define the loop so that I can fix my problem -
Can you please share the link to the project?