HELP with Error "Cannot Load Custom Indicator" on Strategy Tester MT5
-
Hi' guys,
I just stuck in this error with no clear clue at all for a day.
So, i create a custom indicator which just an RSI but taking it's value using VWAP instead of "Close". I successfully build the indicator and load it to the chart with no problem.
Then i upload it to my EA on Fxdreema as Custom Indicator then use it for the calculation. Basically when the RSI corss the BuyLine Value, it'll open a BUY trade. Simple.
I download the Ex5 from Fxdreema and try to test it using Strategy Tester. Then here's the big error i don't have any clear clue.
The strategy tester just threw this error:
I did check the Indicator and load it manually, it successfully loaded without any issue. I also try to load the EA right away into the chart, it loaded successfully. So the error only appears on Strategy Tester. I try using Every Tick and 1 minute OHLC test and results are the same.
Here's my indicator if you want to check the code inside,
0_1607419142201_vwap.mq5Here's my FxDreema Project :
https://fxdreema.com/shared/HYCH1kx2ePlease help me if you find some clue,
Thanks
-
@everjn17 First, rename indicator file in vwap,after, comment "//" Indicator name line in indicator file ,otherwise wrong parameters are passed from iCustom. Like this work,but for me is better delete (PRICE_TYPE)CLOSE_HIGH_LOW in every iCustom line in expert file for the right parameter passed.
-
@miki
Thanks for your answer,
I did delete the PRICE_TYPE enum and try to run it again on strategy tester, but the same error still come up. -
@everjn17 Comment with // line 97 in indicator file and compile it again.


-
@miki
Wow, it works.
Sorry i misunderstood what you mean previously,Thanks Miki, you save me a lot of time