Forex Zone - Forex Forum

MA crosser needs a repair

Discussion started on Indicator Modifications

  • Newbie
  • Posts: 30
  • Points: 0
  • Likes Received: 4
  • Reputation: +1/-0
Hello.
This MA crosser triggers alerts and arrows very early with the settings 1,20,3 and is a important part of my trend-trading-strategy. (Back into trend after pullback).

Unfortunately it slows down mt4 by sending 100 sell and buy signals at the same time in one chart (experts tab). Pleas have a look at the pictures of how it looks like in the chart and the looping alerts.

Could you please fix the indicator and make it work without slowing mt4 down? That would be fantastic.

Best Regards

Free MA arrows indicator:


Linkback: https://www.forex.zone/indicator-modifications/16/ma-crosser-needs-a-repair/346/
#1 - October 25, 2018, 01:13:08 AM
Attachments:
« Last Edit: July 21, 2024, 06:42:41 PM by Admin »

Administrator
  • Hero Member
  • Posts: 5063
  • Points: 29205
  • Likes Received: 5102
  • Reputation: +220/-14
Try this updated version.
#2 - October 25, 2018, 02:37:39 AM
Attachments:

MA crosser needs a repair in Indicator Modifications_topic=585

  • Newbie
  • Posts: 30
  • Points: 0
  • Likes Received: 4
  • Reputation: +1/-0
Try this updated version.
Thank you so much !

What did you change to stop sending a ton of sell/buy alerts in the same second ?
#3 - October 25, 2018, 07:18:55 AM

Administrator
  • Hero Member
  • Posts: 5063
  • Points: 29205
  • Likes Received: 5102
  • Reputation: +220/-14
The printing to the log, which is what you showed in your image, was in the code before the 'LastTm<Time[0]' check. So that check did not prevent the prints but it did prevent the actual alert. So I simply moved that. I made a few other small changes to the code too.
#4 - October 25, 2018, 11:07:17 AM

  • Newbie
  • Posts: 30
  • Points: 0
  • Likes Received: 4
  • Reputation: +1/-0
The printing to the log, which is what you showed in your image, was in the code before the 'LastTm<Time[0]' check. So that check did not prevent the prints but it did prevent the actual alert. So I simply moved that. I made a few other small changes to the code too.
...always the little things.
Such a relief to work with mt4 without waiting after every little move, like haircross use or anything else.
Thanks again.
If it is not asked to much, could you please add mtf function? That would be a great help going back into trend-direction.
As this ma crosser can show arrows pretty early (repainting accepted) with settings 1,20,3.
Trading M15 with arrows and alerts from M30 shows less confusing arrows on the chart, but early arrows after a pullback combined with any trend indicator, like an ema 20 on the chart.
#5 - October 25, 2018, 01:40:46 PM

Administrator
  • Hero Member
  • Posts: 5063
  • Points: 29205
  • Likes Received: 5102
  • Reputation: +220/-14
An indicator that shows MTF MA arrows is something that you can probably find free somewhere, because it's already been coded many times before. Have you tried looking for one?
#6 - October 26, 2018, 02:45:11 PM

  • Newbie
  • Posts: 30
  • Points: 0
  • Likes Received: 4
  • Reputation: +1/-0
An indicator that shows MTF MA arrows is something that you can probably find free somewhere, because it's already been coded many times before. Have you tried looking for one?
Hi.
Yes I did see alot of them over the years. I stuck to sma justin crosser because with sharp settings 1,20,3 it shows often alert and arrow above/below the last candle of the move, during first candle into the other direction. Something different in the code, I don`t know, but there is nothing better (when it comes to MA) than this. It repaints and that is accepted, otherwise (nonrepaint) arrows can`t be that early. Combined with a trendline, obos in a subwindow, getting back into trend-direction, by alert, can`t be earlier.

But you are right, not to invest valuable time in that. Coding my idea (mtf rsi "back into trend") in the OSMA mtf topic would be way better.
Thanks for your time.
Best Regards
#7 - October 27, 2018, 02:12:27 AM

Administrator
  • Hero Member
  • Posts: 5063
  • Points: 29205
  • Likes Received: 5102
  • Reputation: +220/-14
Combined with a trendline, obos in a subwindow
I'm not sure what you mean here.



Coding my idea (mtf rsi "back into trend") in the OSMA mtf topic would be way better.
You can start a new topic too dedicated to your MTF RSI method. You don't need to post in am OSMA MT4 section simply because it has MTF as a feature too.


#8 - October 27, 2018, 12:42:40 PM

  • Newbie
  • Posts: 30
  • Points: 0
  • Likes Received: 4
  • Reputation: +1/-0
Combined with a trendline, obos in a subwindow
I'm not sure what you mean here.



Coding my idea (mtf rsi "back into trend") in the OSMA mtf topic would be way better.
You can start a new topic too dedicated to your MTF RSI method. You don't need to post in am OSMA MT4 section simply because it has MTF as a feature too.
Hi,

"Combined with a trendline, obos in a subwindow" (obos = overbought, oversold) looks like this in the eurcad M5 Chart.

White arrows are sma justin like it is now, yellow and aqua arrows (by hand) would have been sma justin mtf M15.

First subwindow RSI 5, M15, shows obos zones level 85 and 15 plus trendlines... GO (higher risk before trendline break, lower risk after break)
#9 - October 29, 2018, 08:07:10 AM
Attachments:

Administrator
  • Hero Member
  • Posts: 5063
  • Points: 29205
  • Likes Received: 5102
  • Reputation: +220/-14
I understand what you mean now about the OB/OS levels and the trend lines. You were just explaining some additional technical analysis you do with the arrows.

About the MTF arrows, if there is demand from other members, I will consider adding this function to the indicator later.
#10 - October 29, 2018, 11:32:40 AM

Members:

0 Members and 1 Guest are viewing this topic.