Ali Şahin Bayoğlu / Publications
Forum
The ATR indicator gives me decimal numbers. I want to get the parts after the comma as a whole number.how can I do that?
//for eample atrs return 0.02214, 0.2, 0.1957,0.34,0.1976 but ı want to 22140,20000, 19570, 34000, 19760 void OnTick () { //--- double PriceArray[]; int AverageTrueRangeDefination= iATR ( _Symbol , _Period , 14 ); ArraySetAsSeries (PriceArray, true ); CopyBuffer (AverageTrueRangeDefination, 0