But I stay on the M15 chart and make changes to the indicator and when I compile, I see the reported timeframe in the log file changing between M15 and M30:
14:22:58 myadx USDCHF,M15: 93 ma 46.7 pl 31.4 mi 4.3
14:25:17 myadx USDCHF,M30: 45 ma 14.1 pl 9.6 mi 13.5
I haven't changed the current chart, nor have I changed the hardcoded timeframe - so what's actually causing the changes?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have an indicator that hardcodes the timeframe:
adx[i]=iADX(NULL,PERIOD_M30,.....
But I stay on the M15 chart and make changes to the indicator and when I compile, I see the reported timeframe in the log file changing between M15 and M30:
14:22:58 myadx USDCHF,M15: 93 ma 46.7 pl 31.4 mi 4.3
14:25:17 myadx USDCHF,M30: 45 ma 14.1 pl 9.6 mi 13.5
I haven't changed the current chart, nor have I changed the hardcoded timeframe - so what's actually causing the changes?