ayaloveschab / Publications
Forum
Trend indicator comment not working
Hello, I am new to coding and I cant seems to properly identify the trend direction using below codes. Your inputs is greatly appreciated. Thank you This is the logic: Trend Direction = 1 (if MA50>MA100 and MA50 last 3 candles is "Rising" and MA100 last 3 candles is "Rising" Trend Direction = -1 (if