NO LINKS OR MQL SOURCE CODE REQUESTS. Please follow the rules.

Re: This interesting moving average alert indicator is not updating as it should...

#11
andrei-1 wrote:
Sun Aug 29, 2021 11:58 am
Thanks a good step forward, the cmo 2 I can not get it to work, I would be curious to see it but the cmo_ma is very close to what I had in mind, in practice from the cmo_ma I would remove the Red Vidya (even if it can be hidden), and I would use it as a separate indicator, making the difference with the close, essentially closing the price - Vidya cmo and leave the cmo_ma on the chart, something like this:
it would also be interesting to put an alarm when the price reaches the cmo_ma .....
I can't get the experts to work .....
Vidya.png


Re: This interesting moving average alert indicator is not updating as it should...

#12
frenk wrote:
Mon Aug 30, 2021 2:29 am
Thanks a good step forward, the cmo 2 I can not get it to work, I would be curious to see it but the cmo_ma is very close to what I had in mind, in practice from the cmo_ma I would remove the Red Vidya (even if it can be hidden), and I would use it as a separate indicator, making the difference with the close, essentially closing the price - Vidya cmo and leave the cmo_ma on the chart, something like this:
it would also be interesting to put an alarm when the price reaches the cmo_ma .....
I can't get the experts to work .....


I hope I understood you correctly.

Beeps at 0 bar 1 time. (alert, push, mail)
vidya.JPG
Vidya cmo_ma_1_line.ex4
(16.98 KiB) Downloaded 53 times
Vidya cmo_ma_1_line.mq4
(4.42 KiB) Downloaded 69 times
Vidya cmo_ma_1_line_(sep).ex4
(17.68 KiB) Downloaded 56 times
Vidya cmo_ma_1_line_(sep).mq4
(4.46 KiB) Downloaded 56 times

Re: This interesting moving average alert indicator is not updating as it should...

#13
andrei-1 wrote:
Mon Aug 30, 2021 3:34 am
you are making the indicator yourself, thank you very much, the Vidya cmo_ma_1_line is perfect, as for the Vidya cmo_ma_1_line_ (sep) this indicator should oscillate on the zero line in practice when it reaches this level I know that the Vidya cmo is touched by the price, to make you better understand I'll put the code that I created on the metastock:

Length: = Input ("Length", 1,1000,15);
Smoothing: = Input ("Smoothing", 1,10000,3);
AbsCMO: = (Abs (CMO (C, Length))) / 100;
SC: = 2 / (Length + 1);
VIDYA: = If (Cum (1) <= (Length + 1), C, (SC * AbsCMO * CLOSE) + (1- (SC * AbsCMO)) * PREV);
pc: = CLOSE-VIDYA;
Mov (PC, Smoothing, S) / 100

the alarm should go off either when the moving average of the indicator crosses from bottom to top or vice versa (as you did) or when the indicator touches the zero line or a small percentage just before such as 0.3% (I do not use points because in this way it can be used for more instruments finances forex, commodities, securities, etc.
(but that of 0.3% is one more thing) it would be interesting to be able to indicate also the divergences but I would not like to take advantage too much of your kindness
Vidya.png

Re: This interesting moving average alert indicator is not updating as it should...

#14
frenk wrote:
Mon Aug 30, 2021 5:06 am
it would be interesting to be able to indicate also the divergences
It's not difficult now. And everyone is interested in what you have come up with. :razz:
I don't read MetaStock.
The zones are calculated as a percentage, for each candle separately. I made two types of signals: only a breakdown and with a return (switching only in the code).
v1.JPG
v2.JPG
v c e o.JPG
Vidya_cmo_envelopes_osc .ex4
(20.47 KiB) Downloaded 51 times
Vidya_cmo_envelopes_osc .mq4
(5.24 KiB) Downloaded 53 times

Re: This interesting moving average alert indicator is not updating as it should...

#15
andrei-1 wrote:
Mon Aug 30, 2021 10:25 am
It's not difficult now. And everyone is interested in what you have come up with. :razz:
I don't read MetaStock.
The zones are calculated as a percentage, for each candle separately. I made two types of signals: only a breakdown and with a return (switching only in the code).
Image

Image
It seems to me that you have done a good job, surely you are a very good programmer, I am testing the indicators ....
It would be nice for other users to participate with ideas and strategies based on this indicator to improve it


Attachments 26
  1. Similar Topics

    1. Moving Average Breakout EA for MT5

      0 Replies 690 Views

      by forexeas, Fri Jul 02, 2021 7:24 pm in MT5 Indicators

      0 Replies
      690 Views
    2. This indicator is interesting, pls make an EA

      3 Replies 3008 Views

      by so2526, Sun Jan 17, 2021 11:44 pm in Coding Help

      3 Replies
      3008 Views
    3. Any interesting movies to watch or stream online?

      95 Replies 5459 Views

      by dalemcintosh, Fri May 21, 2021 7:16 pm in Trader's Lounge

      95 Replies
      5459 Views

Return to “MT4 Indicators”

Users viewing this forum: Ahrefs [Bot], BhanuGopal, CommonCrawl [Bot], Jimmy, mancangkul, NewLight, oskar656, serrus, Tbot [Bot], TECHHDATE07, Wobstix, yoki, 太虚一毫 and 42 guests