@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|
|Williams alligator crossover scan for tos||Questions||1|
|A||EMA crossover strategy is not plotting||Questions||4|
|L||Making a 13 over 30 Crossover Scan||Questions||9|
|C||Making a custom scanner for EMA crossover||Questions||2|
|A||PrevDayClose CrossOver Watchlist Column||Questions||2|