Code Request

Hi All,

I have 2 questions. How can i save the out put value of Average true Range in to a variable and similarly how can i capture the Super Trend Value in to a variable. Please share the formula for the same

Thanks in Advance

regards
Bipin

Dear Sir,

Please find the code Below,

double ATR = iATR(Symbol(),PERIOD_M5, 14,0);

double SUPER=iCustom(Symbol(),PERIOD_M5,“Super Trend”,0,0);

Hi, Is this for Pi?

Dear Sir, in pi it is not possible to assign values to variables, if u want to do so u may have to use software like meta trader or amibroker