Hello, thank you for your efforts. I have a problem with some indicators. When I copy to the indicators folder, the mql5 program file does not create
- 2021.01.17
- www.mql5.com
Hello, thank you for your efforts. I have a problem with some indicators. When I copy to the indicators folder, the mql5 program file does not create
You habe to compile it
Hello, thank you for your efforts. I have a problem with some indicators. When I copy to the indicators folder, the mql5 program file does not create
Open Metatrader Editor and compile the file
Hello, excellent indicator. I'm trying to add the Symbol parameter so I can use it from an EA that iterates over the symbols. Is this possible?, I tried to make the following modification but I was not successful:
double getPrice(ENUM_APPLIED_PRICE tprice,const double &open[],const double &close[],const double &high[],const double &low[],int i,int _bars,int instanceNo=0) { switch(tprice) { case PRICE_CLOSE: return(iClose(Simbolo,PERIOD_CURRENT,i)); case PRICE_OPEN: return(iOpen(Simbolo,PERIOD_CURRENT,i)); case PRICE_HIGH: return(iHigh(Simbolo,PERIOD_CURRENT,i)); case PRICE_LOW: return(iLow(Simbolo,PERIOD_CURRENT,i)); case PRICE_MEDIAN: return((iHigh(Simbolo,PERIOD_CURRENT,i)+iLow(Simbolo,PERIOD_CURRENT,i))/2.0); case PRICE_TYPICAL: return((iHigh(Simbolo,PERIOD_CURRENT,i)+iLow(Simbolo,PERIOD_CURRENT,i)+iClose(Simbolo,PERIOD_CURRENT,i))/3.0); case PRICE_WEIGHTED: return((iHigh(Simbolo,PERIOD_CURRENT,i)+iLow(Simbolo,PERIOD_CURRENT,i)+iClose(Simbolo,PERIOD_CURRENT,i)+iClose(Simbolo,PERIOD_CURRENT,i))/4.0); } return(0); }
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Classic Moving Averages with colors:
The indicator displays a colored moving average.
Author: Mike Pascal Plavonil