safiroTrader
New member
I have seen many cool scripts here that depict strategies on the chart, and what I'm wondering is how to convert or format a script like that into a study that would be accepted in a conditional order. Would that be possible?
For example, this is the Thikscript code for a conditional order to buy that works perfectly:
SimpleMovingAvg("length" = 50)."SMA" is greater than SimpleMovingAvg("length" = 200)."SMA" and MACD()."Value" crosses above MACD()."Avg" and MACD()."Value" is less than MACD()."ZeroLine"
What are the conditions/rules that I need to follow so that a custom script can be understood by a conditional order?
For example, this is the Thikscript code for a conditional order to buy that works perfectly:
SimpleMovingAvg("length" = 50)."SMA" is greater than SimpleMovingAvg("length" = 200)."SMA" and MACD()."Value" crosses above MACD()."Avg" and MACD()."Value" is less than MACD()."ZeroLine"
What are the conditions/rules that I need to follow so that a custom script can be understood by a conditional order?