can you make ea for mt5 championship
championship mql5 com
championship mql5 com
Requesting assistance in modifying MT5 pivot point indicator 0 replies
Requesting Assistance with my MA/RSI EA 6 replies
Programmer assistance requested for Schaff EA 5 replies
DislikedWell don't know if this will help any but from my experience testing the data output of the Stochastic it is rather unstable. I think this is because it uses Close[0] data in the current bar. Close[0] can vary greatly if there is lots of activity in the bar. I also believe that there is an accelerator on one of the lines that accents the problem. In other words if you are trying to pick up a signal with this indicator right at a cross it will be very difficult to do and inconsistent at best. You won't be able to visably see the data jumping around...Ignored
DislikedI am testing out your strategy, taking the signal on 5mtf and moving up as it progresses. So far it is working pretty well.
Thanks for sharing.Ignored
DislikedHere is a code for creating the day candle in every time frame shifted by 5 candle. the candle is create by 4 histogram. I want to erase the previous created candle when the new candle is coming or when the time frame is changed. how can i do it? {image} {file}Ignored
#property copyright "Ali Mojtabaei." #property link "https://telegram.me/mqlbyAliMojtabaei" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 1 double vol[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorShortName("volume"); SetIndexBuffer(0,vol); SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,2,clrRed); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { int prev=prev_calculated; int totalbars=rates_total; int limit=totalbars-prev; if (limit>0) limit--; //---- main loop for(int i=0; i<=limit; i++) vol[i]=Volume[i]; return(rates_total); }
//+------------------------------------------------------------------+ //| 41.mq4 | //| Ali Mojtabaei. | //| https://telegram.me/mqlbyAliMojtabaei | //+------------------------------------------------------------------+ #property copyright "Ali Mojtabaei." #property link "https://telegram.me/mqlbyAliMojtabaei" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 2 double A[], B[]; int i , limit; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { SetIndexBuffer (0 , A); SetIndexBuffer (1 , B); SetIndexStyle (0 , DRAW_HISTOGRAM , STYLE_SOLID , 1 , clrYellow); SetIndexStyle (1 , DRAW_HISTOGRAM , STYLE_SOLID , 1 , clrRed); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { limit = (rates_total - prev_calculated); if (prev_calculated == 0) limit--; for (i=0 ; i<=limit ; i++) { A[i]=iMA(Symbol(),PERIOD_CURRENT,10,0,MODE_SMMA,PRICE_TYPICAL,i); B[i]=iMA(Symbol(),PERIOD_CURRENT,100,0,MODE_SMMA,PRICE_TYPICAL,i); } SetIndexDrawBegin(0,100); SetIndexDrawBegin(1,100); return(rates_total); } //+------------------------------------------------------------------+