error include custom indicator but mq4 compile fine?
-
0_1556008963847_Trend direction & force index - smoothed 4.mq4 this custom indie compile fine in mt4 with no warnings but when i use this to upload to 'MY INDICATOR' it says error found in 'enTimeFrames' which do not show in mql4 compiler. can @miro1360 or @fxDreema kindly take a look? could it be the bug?
-
0_1556736060684_trend-direction-amp-force-index-smoothed-4.mq4
perhaps bug in fxdreema, for now try the version above, the timeframe enter in numerical format (0 is current TF, 1 is M1, 60 is H1, and so on) ...
-
i wonder if our big boss know about this bug?
-
@miro1360 i did read one of your earlier reply to someone also having this issue. but i dont understand how you do it.. do you mind guide me? i saw you replace enTimeFrames to TimeFrame using int declare and do away the whole enum enTimeFrames. But when i use your mod to compile under editor, it gives me error on tf-cu and i changed to TimeFrame and it compile nicely.
as i am still new on coding and your assistance would help me greatly
-
0_1556803966818_trend-direction-amp-force-index-smoothed-4.mq4
I had not installed MT4 so I edited the code in text editor without compiling test
I changed tf_cu to PERIOD_CURRENT, now it should compile rightenum in meta code are just INT values, you can read everything here:
https://docs.mql4.com/basis/types/integer/enumeration -
-
dear all, this issue is resolved by the big boss already hehe