separate check conditions : i want to first check stockastic below 20 and then wait until rsi comes below 50 to close order
-
Re: [after a condition is true](wait for another condition and only then enter a position)
separate check conditions
-
-
-
@khansari What is this not doing? maybe you need to check the stoc is above before buying so it has a reason to stay open before closing?
-
let me explain the main problem... the robot check the stochastic <20 and RSI>50 together but i want to when stock<20 then from this time to next the robot just looking for RSI <50 and when this happen close the deal
-
@khansari There may different ways to achieve this, if stoc is < then you wait until RSI X< you have separated the 2 conditions any combination may do as you would like, the other option is to set a flag when one condition is filled, then act when the other condition is filled, to do this you need to reset the flag when needed.
-
thanks sooo much *******************************