newbie needing help to compile
Is that really "your" code ?
It's not even an indicator, it's an EA.
As Alain Verleyen said "your codes" designed to trade (buy or sell) it is not INDICATOR.
And if you want to code it as Auto Trading Application (shortly EA) please check the following link by Vladimir Karputov :
- www.mql5.com
if(!NormalizePrice(s1)) - Do not post code that will not even compile.
-
Perhaps you should read the manual. NormalizeDouble - Conversion Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.NormalizeDouble does not return a boolean.
I am a newbie to MT5. I have a couple of Indicators that I am trying to create and for which I receive just 2 errors when i try to compile them. Would someone be kind enough to point out to me what I am not getting.