![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Guppy MMA metatrader 5 version ...
Upgraded a guppy mma for metatrader 5 version. It has a much simpler code and allows usage of "palete" of colors . To remind that metatrader 5 does not have a 8 drawing buffers limit so it is showing all the Guppy moving averages (no need to have 2 separate indicators : one for short MMAs and one for longs, all are in this single indicator)
what does the values in ExtMapBuffer1=iMA(NULL,0,20,0,MODE_SMA,PRICE_CLOSE,i) means?
It means that i th element of ExMapBuffer should be assigned the value of a 20 period simple moving average of close
whats NULL,0,20,0 ? i know 20 is MA
This is a parameters list description for moving average :
double iMA( string symbol, int timeframe, int period, intma_shift, int ma_method, int applied_price, int shift)
Calculates the Moving average indicator and returns its value.
Parameters:whats NULL,0,20,0 ? i know 20 is MA
how can i increase the thickness of one of the lines?
Press right click on indicator->properties->colors tab
how can i increase the thickness of one of the lines?
I mean to thicken 1 of the lines by default . Which part of the code to change?
Use the #property indicator_width(n) for that. where "(n)" should be replaced with a number ranging from to 8 (depending on the buffer number you wish to declare the default width for)
I mean to thicken 1 of the lines by default . Which part of the code to change?
if i want to thicken the fifth MA, how and where should i place #property indicator_width(n) ?