Page 12 of 23

Re: Experiments ...

Posted: Tue May 16, 2017 1:29 am
by Dimitri
mladen wrote: Tue May 16, 2017 1:23 am Dimitri

Please check the code - it does exactly that
Dearest Mladen,
If i could ... i surely would ..........
Thank you again
Best Regards
Dimitri

Re: Experiments ...

Posted: Tue May 16, 2017 3:15 am
by Sanni123
mladen wrote: Tue May 16, 2017 1:00 am Combinations when two or more prices need to be "predicted" are making the "prediction" literally impossible (too many possible combinations - regardless of the type of calculation)
I have limited knowledge and still trying grasp core maths. In the case of bullish DMI signal, I assume we would look for the lowest point need for the zero/cross point. In example above if the close price is lowered, and when it is reached the 'Real low point', both close and low price move to same lower value, using one pip increment, would that low possible combinations. I assume all previous period calculation remain the same. Would it be possible to manually change close and/or low price to test hypothesis.
_________________________
In the case of stochastic

%K = 100[(C – L5close)/(H5 – L5)]
C = the most recent closing price
L5 = the low of the five previous trading sessions
H5 = the highest price traded during the same 5 day period.

The formula for the more important %D line looks like this:

%D = 100 X (H3/L3
___________________
Would changing C value therefore changing %K. Allow predictions of cross over for %K and %D

Correct my ignorance

Re: Experiments ...

Posted: Tue May 16, 2017 3:28 am
by mladen
Sanni123 wrote: Tue May 16, 2017 3:15 am I have limited knowledge and still trying grasp core maths. In the case of bullish DMI signal, I assume we would look for the lowest point need for the zero/cross point. In example above if the close price is lowered, and when it is reached the 'Real low point', both close and low price move to same lower value, using one pip increment, would that low possible combinations. I assume all previous period calculation remain the same. Would it be possible to manually change close and/or low price to test hypothesis.
_________________________
In the case of stochastic

%K = 100[(C – L5close)/(H5 – L5)]
C = the most recent closing price
L5 = the low of the five previous trading sessions
H5 = the highest price traded during the same 5 day period.

The formula for the more important %D line looks like this:

%D = 100 X (H3/L3
___________________
Would changing C value therefore changing %K. Allow predictions of cross over for %K and %D

Correct my ignorance
Sanni123

Please check how DMI is calculated. That should clarify all your doubts

Re: Experiments ...

Posted: Tue May 16, 2017 3:48 am
by Dimitri
Dearest Mladen,
I pointed out what is the optical incompatibility with the indicator presentation .... The indicator must be placed in a separate window and the line must represent the difference between "Predicted Price" and the "Used Price for Calculation". As a result must be a line that will oscillate above and below Zero ... If you have the time to make this intervention it will be great ...
Thank You as always so much.
Best Regards
Dimitri

Re: Experiments ...

Posted: Thu May 18, 2017 11:45 pm
by TEAMTRADER
I have been trying to get vertical lines on this indicator - see lines 86 to 91.
As usual I have failed - could this indicator be adapted to include these vertical lines please?
Thanks
TEAMTRADER

Re: Experiments ...

Posted: Fri May 19, 2017 12:05 am
by mladen
TEAMTRADER wrote: Thu May 18, 2017 11:45 pm I have been trying to get vertical lines on this indicator - see lines 86 to 91.
As usual I have failed - could this indicator be adapted to include these vertical lines please?
Thanks
TEAMTRADER
TEAMTRADER

try it out now

Re: Experiments ...

Posted: Fri May 19, 2017 1:07 am
by TEAMTRADER
mladen wrote: Fri May 19, 2017 12:05 am TEAMTRADER

try it out now
Perfect - thanks.
TEAMTRADER

Re: Experiments ...

Posted: Sat May 20, 2017 4:51 am
by AmirDehghani
Dear Master Mladen
as far as I know, You haven't published any Commercial EA. May i ask why ?!
Thank You

Re: Experiments ...

Posted: Sat May 20, 2017 11:50 pm
by TEAMTRADER
I have only changed the name of this indicator to 'Target Bands' but it does not work.
All I have done is to copy and paste the original code into another files and save it in another name.
Original (Tma) and change of name (Target) mq4 files attached.
Thanks
TEAMTRADER

Re: Experiments ...

Posted: Sun May 21, 2017 12:17 am
by mladen
TEAMTRADER wrote: Sat May 20, 2017 11:50 pm I have only changed the name of this indicator to 'Target Bands' but it does not work.
All I have done is to copy and paste the original code into another files and save it in another name.
Original (Tma) and change of name (Target) mq4 files attached.
Thanks
TEAMTRADER
It works as is (no changes in code - see the example)