Expert Advisor based on iRSIONARRAY

仕事が完了した

実行時間1 日
開発者からのフィードバック
great customer... respected human
依頼者からのフィードバック
He's a great developer. He is great as a person who fervently serves

指定

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

応答済み

1
開発者 1
評価
(36)
プロジェクト
50
28%
仲裁
2
0% / 100%
期限切れ
6
12%
2
開発者 2
評価
(772)
プロジェクト
1039
44%
仲裁
50
8% / 50%
期限切れ
116
11%
3
開発者 3
評価
(39)
プロジェクト
55
13%
仲裁
5
20% / 20%
期限切れ
6
11%
4
開発者 4
評価
(277)
プロジェクト
334
55%
仲裁
14
36% / 29%
期限切れ
1
0%
類似した注文
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

プロジェクト情報

予算
30+ USD