Help with Moving Average Script

E

eman999

New member
Hello, i was wondering if anyone could help me with this. I found this script on youtube from sensei trading. I can't get it to show me the indicator on the chart. I have put a picture of the error it brings up along with a picture of the script. Any help would be appreciated as this is my first time. Thank You for your time

 
Last edited by a moderator:
T

tradebyday

Active member
Please copy and paste the script here in text so we can play with it and figured out the error
 
horserider

horserider

Well-known member
VIP
Look closely at your def of uptrend, dwntrend and flttrend and if it matches your assignvaluecolor logic. Mostly the latter.
 
E

eman999

New member
so i figured out what was wrong. when typing the word "Flat" i accidentally made the L a 1 so it was "f1at". Thank you for trying to help i appreciate it.
 

Top