Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Indicators
Coppock Indicator
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="hayseed, post: 240886, member: 5898"] there are 4 or 5 coppock indicators...... all seem to have a unique issue...... along with several other indicators like the [URL='https://www.mql5.com/ru/code/23112']roc with signal ma.....[/URL] when a symbol's digits are 0, in other words whole numbers, they will either not plot at all, or plot correctly but with unusable values...... examples would be dow, dax, stoxx50 and such...... nq, es, gold, silver and the like all have at least 1 decimal point...... they work ok..... if you change line 43 from [CODE=mql5]IndicatorSetInteger(INDICATOR_DIGITS, _Digits);[/CODE] to [CODE=mql5]IndicatorSetInteger(INDICATOR_DIGITS, digits);[/CODE] where digits is set in the inputs, it will work on symbols including those that are whole numbers only..... came up with several other methods but using the input idea works best...... my goal was to code alerts when the coppock crossed the 0 line...... without proper values it cant be done, or at least not by me...... once the digits issue is solved, they all work perfectly......h //----- [ATTACH type="full"]31238[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…