Re: Calling standard indicator in mqh fails
Compiles without problems. I'm baffled.
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Help and Support → Calling standard indicator in mqh fails
Compiles without problems. I'm baffled.
Do you copied the files I attached to the previous post on the correct folders? Do you reloaded the cs SuperTrend indicator in FSB?
Yes to all questions.
I downloaded the files from the forum. Put them in FSB, exported an EA again and it compiled and run in MT.
I'm using FSB Pro v2.7.3 and Expert_version 20.
If you do the same, it must compile. You must have "AverageTrueRange.mqh" in "User Files\MT4 Files\MQL\Forexsb.com\Indicators" folder by default.
If you can share your desktop with TeamViewer or at least at Skype, I may find the reason for the failure.
Footon, did you solve the problem?
No, I haven't solved it. Or actually I can solve it by cutting out the indi call and substituting it with actual indi calculation, then it compiles without problems.
I'll upload the files to repo, I did this conversion with hourly low/high man Niek in mind, would be great if he would test it out.
I'll include ATR function in the base classes so it will not be necessary to call an indicator.
Forex Software → Help and Support → Calling standard indicator in mqh fails
Powered by PunBB, supported by Informer Technologies, Inc.