status as trigger
-
can i status from condition use as trigger ? Example if candlestick higher than ema 20 i would like write "higher" in the state and if this happend than trade sell should close. Thanks.
-
@trader-1978 I have never used the status info but I believe this only changes once the block passed, so if a block changes the status the blocks underneath would do as wanted.
-
@trader-1978 Why not using a 'Comment' block instead? It is more versatile.
-
@l-andorrà said in status as trigger:
@trader-1978 Why not using a 'Comment' block instead? It is more versatile.
Thank you for your answer. Can you show me with example how can i used it ?
-
@trader-1978 I didn't say how to use but, if a block gives a signal like MA10 x> MA50 and you have that block set to change the displayed status then, blocks connected to the outputs will also pass.
-
@jstap said in status as trigger:
@trader-1978 I didn't say how to use but, if a block gives a signal like MA10 x> MA50 and you have that block set to change the displayed status then, blocks connected to the outputs will also pass.
I have do wrong with quote sorry. I would my question to @l-andorrà
-
@trader-1978 Easy. You need to create a boolean variables that will change its value when the required condition is true. Then you can use a 'comment (ugly)' this way:

-
@l-andorrà Thank you.
-
@trader-1978 You're welcome.