Re: XARD - Simple Trend Following Trading System

3823
Blin wrote: Thu Sep 10, 2020 7:18 pm Hello everyone
Does anyone have the template of 15 min lines because i only have 1hr?Thank you
Im trying to use it on indices but i cant find it
Buddy u use the same template all the time. So u will select 5 minute time frame to see a 15 minute line

In the XU-MA V3 FILE from line 76 (TREND LINE) ono. is what u need to change to adapt to your needs. But as per code this what u need

if(Period()==PERIOD_M1) {TRENDper=36*5;} // ON A 1 MINUTE CHART U WILL SEE 5 MIN LINES 1x5
if(Period()==PERIOD_M5) {TRENDper=36*3;} // ON A 5 MINUTE CHART U WILL SEE 15 MIN LINES 5x3
if(Period()==PERIOD_M15){TRENDper=36*4;} // ON A 15 MINUTE CHART U WILL SEE 60 MIN LINES 15x4
if(Period()==PERIOD_M30){TRENDper=36*2;} // ON A 30 MINUTE CHART U WILL SEE 60 MIN LINES 30x2
if(Period()==PERIOD_H1) {TRENDper=36*4;} // ON A 60 MINUTE CHART U WILL SEE 240 MIN LINES 60x4

Line 88 on is for signal line and must reflect same values as above.




Who is online

Users browsing this forum: SijjiN, Yandex [Bot] and 65 guests