You are right, my mmistake
It dont seems like the zerro alert it working? can you please check it?
Thank you Mladen! Its working perfect
Please don't forget about this mladen!
could u possibly make the dinapoli macd predictor and oscillator predictor? here is the documentation:
Powered by Google Docs
This is a first step towards DiNapolli levels (as a part of the whole package) Been looking for reliable formulas about the whole package (formulas, not descriptions how do they work on charts) and so far found just one book describing in more detail the whole thing - for example DiNapolli MACD is a MACD with smoothing factors of .213, .108, and .199)
Anyway decided to start with the most difficult one today (but will probably make the easier ones along)
When this becomes a reliable Eliot wave indicator then the D-levels are rather simple (the simplest D-levels are 3 Fibonacci levels calculated from last Elliot wave) It seems that the first step is the most difficult one regarding D-levels
PS: as every peak finding code, this will recalculate (since I do not like the use of word "repaint" for a code that calculate values correctly, "repainting" is in my opinion a coding error) so please bare in mind that
wow thanks mladen this is a great start - look forward to more !
Great work Mladen ,top mark ,thank you.
What are those black lines ,are they standart deviation?Can you show these lines in the code?
Also can you make these levels adjustable?Thank you.
In the man time :
I am actually glad you asked that question. The black lines are a proof that simple ideas can be very effective (the original idea is not mine, as far as I know it is the idea from advanced get people but I am not 100% sure about it so don't take my word for it)
It is actually an EMA, but an EMA that is calculated for values that are "on the right side" of the zero line. So if the value is "on the right side" EMA is calculated as usually, but if the side is wrong, the value is simple inherited. It would be as if you removed every "empty" bar for values over 0 and calculate EMA on that value and doing the same for values less than zero. It is changeable : EMA period is calculated from shortPeriod and longPeriod - if you change either of it EMA will be calculated differently (but bare in mind that the original Elliot oscillator is calculated with those periods)
Continuation of the Elliot oscillator - waves indicator
No limit in waves (now it draws waves for the whole history)
Changed a logic a bit. It affects the way how extremes are found in some cases. The basic logic is the following : when (if) the oscillator value breaks the EMA value up or down then a new wave is started if the direction of the cross is oposite to the current wave direction (crossing zero line does not start a wave nor it ends the current wave). The beginning of the wave is at the first value belonging to that wave that crosses the zero value in the direction of the wave. Here is an example : the highest bar is not marked as extreme simply because it was still not confirmed by the oscillator value that it belongs to up wave.Optimized the work (it is faster now - it calculates effectively just the last leg of the wave (it is necessary because of the changes that can happen to the last leg))
Also, as a note : only the last leg of the wave can change if new high or new low is reached. Once it is "opened" it can not (and I repeat) it can not disappear (like in some zigzags or some peak finding indicators), it can only go higher or lower if the price moves in the right direction. Its starting point is always going to stay fixed. So in combination with the oscillator itself I think it can be a useful tool