Expert Advisor based on iRSIONARRAY

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Ejecutor
great customer... respected human
Comentario del Cliente
He's a great developer. He is great as a person who fervently serves

Tarea técnica

help me create an expert advisor with the iRSIonarray indicator. Here is the indicator's mql4 code:


//+------------------------------------------------------------------+

//|                                                  iRSIONARRAY.mq4 |

//|                        Copyright 2019, MetaQuotes Software Corp. |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+

#property copyright "Copyright 2019, MetaQuotes Software Corp."

#property link      "https://www.mql5.com"

#property version   "1.00"

#property strict


#property indicator_separate_window

#property indicator_minimum    0

#property indicator_maximum    100

#property indicator_buffers 2

#property indicator_plots   1

#property indicator_level1     30.0

#property indicator_level2     70.0

#property indicator_levelcolor clrRed

#property indicator_levelstyle STYLE_DOT

//--- plot RSIOnArray

#property indicator_label1  "RSIOnArray"

#property indicator_type1   DRAW_LINE

#property indicator_color1  clrBlack

#property indicator_style1  STYLE_SOLID

#property indicator_width1  1

//--- indicator buffers

double         RSIOnArrayBuffer[];

double         OSMABuffer[];


input int BarsToCompute = 1000000;

input int OSMAFastPer = 12, OSMASlowPer = 26, OSMASignalPer = 9;

input int RSIPer = 14;


//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+

int OnInit()

  {

//--- indicator buffers mapping

   SetIndexBuffer(0,RSIOnArrayBuffer);

   SetIndexBuffer(1,OSMABuffer);

//---

   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 limit = MathMin(BarsToCompute,MathMin(rates_total-1,rates_total-prev_calculated));

   

   for (int i=limit; i>=0; i--)

   {

      OSMABuffer[i] = iOsMA(_Symbol,_Period,OSMAFastPer,OSMASlowPer,OSMASignalPer,PRICE_CLOSE,i);

      RSIOnArrayBuffer[i] = iRSIOnArray(OSMABuffer,0,RSIPer,i);

   }

   

   return(rates_total);

  }

//+------------------------------------------------------------------+




Take profit = 30

Stop loss = 20

The lot = 0.01


We will use for the positions taken the RSI curve of the indicator above.

   

    Checklist for buying:

- H4, RSI> 70

- M30, RSI make a first peak on the line of 70 then a first trough on the line of 30

- H4, RSI is always> 70

- Position statement in M30.


Note:

- Do not take a long position if in step 4 the RSI < 70

- The checklist is valid if RSI > 70 in step 1 and 2 at the same time.  


     

  Checklist for selling:

- H4, RSI <30

- M30, RSI make a first dip on the line of 30 then a first vertex on the line of 70

- H4, RSI is always <30

- Position statement in M30.


Note:

- Do not take a short position if in step 4 the RSI > 30

- The checklist is valid if RSI < 30 in step 1 and 2 at the same time.

Do not forget to put the function that allows you to perform the backtest.

Thank you

Han respondido

1
Desarrollador 1
Evaluación
(36)
Proyectos
50
28%
Arbitraje
2
0% / 100%
Caducado
6
12%
Libre
2
Desarrollador 2
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
3
Desarrollador 3
Evaluación
(39)
Proyectos
55
13%
Arbitraje
5
20% / 20%
Caducado
6
11%
Libre
4
Desarrollador 4
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
Solicitudes similares
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
The wiper 35 - 48 USD
a ll traders want to find market behavior patterns, which could help identify favorable moments for performing trading operations. They also want to eliminate randomness and influence of external factors, such as rumors, news releases, fatigue, and so on. Traders monitor charts and may formulate some formal rules, which enable objective analysis of price or tick charts. Technical indicators can facilitate such
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD