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)
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)
trexy123: I mean to thicken 1 of the lines by default . Which part of the code to change?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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) ?