Thread: Moving Average
View Single Post
  #12 (permalink)  
Old 03-31-2006, 10:30 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by newdigital
I fixed some bug in the code of this well-known indicator and slightly modify it.

Now you have colour changing moving average:

period of ma:
MAPeriod = 50;

MA Method:
PeriodMode = 1; //0=sma, 1=ema, 2=smma, 3=lwma
The same indicator without width changing.
Attached Files
File Type: mq4 Three_Color_ma_strict.mq4 (2.7 KB, 718 views)
Reply With Quote