Mladen, just a couple of requests left...
1. Supertrend Rayphua Lines to have push alerts - Out and above conditions, Out and below conditions, and in-between conditions.
2. Supertrend Rayphua Histogram to have push alerts - Out and above conditions, Out and below conditions, and in-between conditions.
3. Candler version that colors green on candles / wicks when out and above conditions, orange when out and below conditions, and grey when in-between conditions, with push alerts too.
This is the candles version too. On the chart tere are candles and lines version together (this way it is obvious what is it doing). If you want it to draw bars, set the Wick and Body widths to same value
As of alerts : alerts on indicator that are collecting data from different time frames are what I believe we have spoken about already. I can make it, but that is making alerts on a recalculating indicators (since different time frames are going to recalculate different number of bars, alert, on close (for example) does not meant anything at all). Let me know if that is what you want (in which case it would alert only on current bar)
Again, Mladen, tested it, works as requested. Speedy work Mladen, a big thank you!
Yes, I understand about the alerts issue. I don't think there's any other way about this recalculating problem, but if it alerts on current bar I think it would do the job to at least inform me when to get into a trade, and when to get out of it.
I look forward to seeing those alerts on the 3 sets of indis you coded for me, thank you so very much!
Could you add interpolate to this indicator.
Here you go
Mladen, whenever you're ready with the push alert additions for the 3 indicators. Happy veteran's day.
If can add "Send notification" it would be perfect. Thinking about testing this with EA & one more confirming signal. Thanks for the quick work!
Here is a version with the whole set of alerts added
I did a simple EA to show me the current spread. The EA just has :
Comment("Spread: " + DoubleToStr(Ask - Bid, Digits));
The result is the photo I've attached. How can be possible the difference of the spread between daily data and my script? Is it something wrong in my script or in the indicator?
Also, I would like know how can I get a fix spread on my backtests. I get 99% of quality, but the spread is always the same of the market (I mean, the same spread of real one on the pair of my backtesting).
Thank you aqnd sorry for my english.
There is nothing wrong with your script
In the daily data indicator spread is retrieved from MarketInfo() function and not as difference between bid and ask. That value should be updated by the broker, and as you can see, broker does not update that value with each and every tick (that spread is actually a spread that should be if the spread was fixed)
As of backtesting : metatrader will use simulated spreads and not real spreads. It does not keep values of bid and ask in any form whatsoever so it can not reconstruct historical spreads
Good evening everyone!
Sorry for my english.
Thank you for the last response. I got it.
I need a modification on this indicator. Could you add a mid-band?
I try to draw it on the indicator with a whit line to help to understand.
A big hug.