@Talochka You must have added the code as a Study instead of a Strategy.
I try these code but its shows lot of DemaHA signal.. Please clarify what you want me to look. One more this DEMA statergey tested only in ticker not regualr time frame. Still i am not clear ticker thing.@San Take a look at this one https://usethinkscript.com/threads/...le-confirmation-for-thinkorswim.205/post-3445
Looks like a mistake to me - would use the past not future.@mc01439 Hello, I am confused as to why the going up crossover uses the next candle but the crossing down crossover uses the previous candle? Also, how can one enter an order at current price when using a future candle?
def demaCrossingOverGoingUp = demaSlow < demaFast and demaSlow[-1] > demaFast[-1];
def demaCrossingOverGoingDown = demaSlow > demaFast and demaSlow < demaFast;
|Thread starter||Similar threads||Forum||Replies||Date|
|J||Normalizing my HMA Crossover Study so I can include TMO w it?||Questions||0|
|Aroon Indicator Crossover Arrow?||Questions||2|
|L||Crossover alert question/help||Questions||2|
|J||Script to plot horizontal line at moving average crossover||Questions||12|
|Williams alligator crossover scan for tos||Questions||1|