Moving Average - page 151

 
zac1987:

liner weight ma sure repaint at last candle anyway. Just 1 candle repaint is acceptable. Great works.

Current candle will "repaint" in any indicator that uses price different from open

Do not mix "repainting" with mandatory current state updating. If it was not done that way (ie: if the current state of the indicator - any indicator - is not updated to current real state/value) then you would have a repainting indicator

 

does anyone have simple moving average that alert when certain price were hit . Example sma with 24 period , alert when that moving average hit eurusd 1.20000 . The moving average that hit the price not the tick price .

 
ok this indicator show rows on chart but not alert ? how I can make alert reach my mobile or email ?
 

Two indicators are on the following posts (for MT4) - 

and on this post as well (attached to the post) - 

 

And this is McGinley indicators for MT5 - 

The McGinley Dynamic (MD) indicator was developed by John R. McGinley. 
McGinley believed that moving averages should not be used as trading systems or signal generators, but instead should be used as smoothing mechanisms. 

McGinley_Dynamic - indicator for MetaTrader 5  

McGinley_Dynamic_MTF - indicator for MetaTrader 5  
 


 How can I draw a horizontal line to the high price low value where the cross arrow of this indicator came out?
Is there such an indicator?


 I am sorry if it is inconvenience. Thank you very much.


#MTF_MACross Arrow H


Files:
 
tokunohito:


 How can I draw a horizontal line to the high price low value where the cross arrow of this indicator came out?
Is there such an indicator?

For example, from line 141-

 if(ExtMapBuffer1[i]>=ExtMapBuffer2[i] && ExtMapBuffer1[i+1]<ExtMapBuffer2[i+1]){
      ExtMapBuffer3[i]=Low[i]-3*Point;
      if(i<20)
           {
            string obj_name="L"+TimeToString(Time[i],TIME_DATE|TIME_MINUTES);
            if(ObjectFind(obj_name)<0)
              {
               ObjectCreate(obj_name,OBJ_HLINE,0,Time[i],Low[i]);
               ObjectSet(obj_name,OBJPROP_COLOR,clrGreen);
              }
           }
   }else if(ExtMapBuffer1[i]<=ExtMapBuffer2[i] && ExtMapBuffer1[i+1]>ExtMapBuffer2[i+1]){
      ExtMapBuffer4[i]=High[i]+5*Point;
      if(i<20)
           {
            obj_name="H"+TimeToString(Time[i],TIME_DATE|TIME_MINUTES);
            if(ObjectFind(obj_name)<0)
              {
               ObjectCreate(obj_name,OBJ_HLINE,0,Time[i],High[i]);
               ObjectSet(obj_name,OBJPROP_COLOR,clrOrange);
              }
           }
   }else{
      ExtMapBuffer3[i]=EMPTY_VALUE;
      ExtMapBuffer4[i]=EMPTY_VALUE;
   }

There is a various method depend on what you need.

 
Naguisa Unada:

For example, from line 141-

There is a various method depend on what you need.

thank you for your reply.


I tried the code remodeling, but since I am an amateur I failed.
Market and indicator are difficult.

 
tokunohito:

thank you for your reply.


I tried the code remodeling, but since I am an amateur I failed.
Market and indicator are difficult.

Then, I also want reference information about this thing.
If you display in multi-time, the position of the arrow will deviate in the lower time. Is it possible to fix this?
I am sorry if you busy.
 
tokunohito:
Then, I also want reference information about this thing.
If you display in multi-time, the position of the arrow will deviate in the lower time. Is it possible to fix this?
I am sorry if you busy.



The arrow indicates the cross point of moving average.

Since the cross point is shifted in another time frame, the position of the arrow is also shifted.

It is such a specification and not a mistake.

Reason: