-Hot cakes, pancakes, pancakes! - In a figurative sense, of course. Discuss and criticise the new indicators. - page 5
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
--------------------------------------
Keeping my promise by correcting a logical error created during programming.
It turns out there was more than one.
Error (1). With this error the indicator showed "the strength of a certain direction". It consisted in the wrong variable description. Without it it started to show the "relative strength of the definite direction of movement".
Error (2). With this error the indicator has shown the "the relative strength of the exact movement direction". It consisted in a mistake made during the FORMULA COMPLETION. Without it it began to show
."the relative strength of the exact direction of the price movement".
So much for the "healthy" code:
--------------------------------------
I've seen such "designs" in an MQ4 tutorial, but didn't know how to apply them. )
Kolier_SuperTrend_Indip_1_.mq4 - indicator displayed in the main window.
To cross them, it would be enough to change the way one of them is displayed (main window or subwindow).
I see that indicators show calculations with final results in different intervals.
sIndex-v6g-uEUR.mq4 = x, (2 < x > 3 );
Kolier_SuperTrend_Indip_1_.mq4 = y, (0,5 < y > 2).
There is an option to change the formula for calculating one of them.
sIndex-v6g-uEUR.mq4 * B * R = L, where
B - number, equal to the price value in the current moment,
R - the number, set for balancing the indicator readings.
L - the number, equal to the final result of indicator calculations, related to the price.
Kolier_SuperTrend_Indip_1_.mq4 * T = E, where
T - number that is between 0 and 1 (performs the function of the divider).
or
Kolier_SuperTrend_Indip_1_.mq4 / T = E.
The variable T will acquire a wider range, from 1 to (+) infinity.
E is a number equal to the quotient of the price indicator Kolier_SuperTrend_Indip_1_.mq4.
I don't think you should change the formulas too much.