Added an option for arrows and alerts when the outer bands cross upper lower levels and now also an option for when cci crosses the inner band.
i was trying to play around with std deviation indicator to determine trend but i saw that it was pointing up even when the market came down 100 pips. can anyone tell me how to use the indicator std deviation and would also be kind enough to tell me what settings on it works best,
You can not use standard deviation as a trend direction indicator. Here is a short description what is it usually used for in finance :
For example, let's assume an investor had to choose between two stocks. Stock A over the past 20 years had an average return of 10 percent, with a standard deviation of 20 percentage points (pp) and Stock B, over the same period, had average returns of 12 percent but a higher standard deviation of 30 pp. On the basis of risk and return, an investor may decide that Stock A is the safer choice, because Stock B's additional two percentage points of return is not worth the additional 10 pp standard deviation (greater risk or uncertainty of the expected return). Stock B is likely to fall short of the initial investment (but also to exceed the initial investment) more often than Stock A under the same circumstances, and is estimated to return only two percent more on average. In this example, Stock A is expected to earn about 10 percent, plus or minus 20 pp (a range of 30 percent to −10 percent), about two-thirds of the future year returns. When considering more extreme possible returns or outcomes in future, an investor should expect results of as much as 10 percent plus or minus 60 pp, or a range from 70 percent to −50 percent, which includes outcomes for three standard deviations from the average return (about 99.7 percent of probable returns).
You can find much more information on standard deviation on this link : Standard deviation - Wikipedia, the free encyclopedia or you can read some posts at this thread : https://www.mql5.com/en/forum/175608
Thank you very much Mrtools. I appreciate.
Made this version its mtf with alerts.
updated version posted here: https://www.mql5.com/en/forum/180648
thnx Mr.tools i appreciate ur work..It seems that it is oke for my needings..thnx again..take care and have plenty of pips
pretty please add an alarm to the indicator
Heiken Ashi V
Heiken Ashi V.mq4 - MQL4 Code Base
You can find Heiken ashi with alerts at this post : https://www.mql5.com/en/forum/179404 . To get a "regular" heiken ashi, set MaPeriod and MaPeriod2 to 1