THE DISTANCE BETWEEN SOME CANDLES
-
I want to SELL after this condition appears:
-
Moving AVERAGE 5 above UPPER BOLINGER BAND
-
CANDLE STICK CLOSE CROSSES BELOW MIDLE BOLINGER BAND, and CANDLE STICK CLOSE CROSSES BELOW MOVING AVERAGE 5 LOWER PRICE, AND CANDLE STICK CLOSE CROSSES BELOW MOVING AVERAGE 10 LOWER PRICE
HOW CAN I SELL WITH THAT CONDITIONS?
MY PROBLEM IS THE DISTANCE BETWEEN CONDITION 1 AND CONDITION 2 IS NOT ALWAYS THE SAME. SOMETIMES DISTANCE 6 CANDLE STICK. SOMETIMES DISTANCE LESS THAN 6, EVEN SOMETHES MORE THAN 6 CANDLE.
https://fxdreema.com/shared/FvuXSV1je
CASE 1: THE DISTANCE 6 CANDLES https://drive.google.com/file/d/1-ZNLPNeK3BhR80tHxXi3_ZXt3fPe0J-N/view?usp=sharing
CASE 2 : The Distance is 15 Candles https://drive.google.com/file/d/1fqZ5S2R1IEun8dWol_rLDTKFP6N89ydI/view?usp=sharing
Case 3 : The distance is 2 Candles https://drive.google.com/file/d/1gdqvqMcoOerakUk2I1Bo1Eb_k8M8qtTg/view?usp=sharing
-
-
Just use counter variables. Create as many of them as you need and add +1 ever new candle is open. Then you can use a condition block so that if the maximum number has not been reached when the crossing happened, the next condition can be checked.
-
@l-andorrà Thank you for your answers.
Sorry, I don't understand what you mean. Please help me here https://fxdreema.com/shared/FvuXSV1je -
@fuad-2 This is a simpler way to do it:
-
@l-andorrà I just knew fxdreema. please help me. I really do not understand MODIFY VARIABLES.
Please help me to overcome this problem -
@fuad-2 Well, talking about variables is a whole world in itself. What do you exactly need?
-
@l-andorrà 587/5000
I really don't understand the Modify Variables that you provide can operate, and can solve my problem.
https://fxdreema.com/shared/Ztn4klDqdHow does my block work well with the help of Modify Variables that you provide.
https://fxdreema.com/shared/FvuXSV1jeSorry. I am a new user at fxdreema, and I need a lot of guidance from you. I want to learn many things from fxdreema.
I am from Indonesia. Here, I did not find anyone who could help me about fxdreema.Thank you for your help.
-
@fuad-2 My project was an ideo of how to apply a counter to your project it doesn't necessarily is to be applied to your project as I suggested. So let's do it step by step. So I recommend:
- Connect the 3 condition blocks one blow the other and remove that 'And' block. It is not necessary.
- Then connect the 'Once per bar' block on top of the block tree and 'sell now' at the bottom.
- Is that lonely unconnect block really necessary?