Modification to the Grid Trend Multiplier (GTM) EA to work with the RSI indicator

MQL5 Indicators Experts

Specification

I'm currently an owner of a GTM EA/TOOL (MT5) and I have been using it to trade Boom and Crash Indices. The EA has worked well for one directional trading but when an index spikes up (Boom index) or down (crash index), it results in losses because following stops are not being honoured when prices crash or boom.  I have identified an indicator (RSI) that will help minimize getting into such losses and take advantage of the spikes. 

 The following is how i have been trading boom and crash indices:

1.    Boom/Crash Index

·         I activate one directional trading in a sell, using the minimum lot size of 0.2 and a grid size of 100 points (this equates to a single 1 minute candle price movement). The GTM (MT5) cashes in at every candle closure and opens a new trade for each candle.

 

·         However, every time the index spikes up, the open trade results in a negative trade and if it continues to spike up, a new negative trade will be created at every spike. I tried limiting the number of open deals at a time but eventually those open negative deals will end up in huge losses if spikes continue. For a crash index, the exact opposite occurs.

 

·         The RSI indicator can help determine when a price will boom (spikes up) or crash (spikes down). Every time the RSI reaches an overbought region for a Crash index, the price spikes down and when it reaches an oversold region for a boom index, the price spikes up.

 

I therefore would like you to assist me by incorporating the RSI indicator into the GTM (MT5) as follows:

 

1.    Crash index

·         In the sell leg of the GTM, incorporate the RSI indicator such that i can input a level and period as a condition to open sell trades at every candle close/open when the RSI reaches an overbought region at a specified level and period.

·         The GTM should be allowed to open buy trades automatically without the influence of RSI conditions but should stop opening buy trades and close any open buy trade once the RSI reaches the overbought region, but should continue buying once all the sell trades have been closed or after every spike.

·         The buy leg of the GTM must have one RSI level that can be turned off by entering a zero value.

 

2.    Boom index

·         In the Buy leg of the GTM (MT5), incorporate the RSI indicator such that I can input a level and period as a condition to open buy trades at every candle close/open when the RSI reaches an oversold region at a specified level and period.

·         The GTM should be allowed to open sell trades automatically without the influence of RSI conditions but should stop opening sell trades and close any open buy trade once the RSI reaches the oversold region, but should continue selling once all the buy trades have been closed or after every spike.

 

·         The sell leg of the GTM must have one RSI level that can be turned off by entering a zero value. The RSI indicator must not use two levels (Overbought and oversold) at the same time only one level should be active at a time.

 

3.    Illustration of GTM EA trading the 1000 Crash Index

 

 

4.    Current GTM coding guide as per the E user guide (attached)

 

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

//|                                                       GTM EA.mq5 |

//|                                                       LN Thomas

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

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

#property copyright "LN Thomas"

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

#property version   "1.00"

 

//---Trading vs Planning Mode

input Startup & Operational_mode[dropdown]= "Grid trading & Planning mode/Planning mode only (No new trade entries)";

 

//---Combined_profit_and_risk_settings

//---Closure_at_profit_level

 

//--- input parameters

input int      Target_profit_amount[0:Off]=500;

input float    Target_profit_pips[0:Off]=0.0;

input int      Target_profit_percent_of_balance_at_start[0:Off]=0;

 

//---Closure_at_loss_level

input int      Max_loss_amount[0:Off]=0;

input float    Max_loss_percent_of_balance_at_start[0:Off]=0.0;

input int      Max_loss_pips=0;

 

//---Closure_at_price_level

input float    Close_grid_on_or_above_price=0.0;

input float    Close_grid_on_or_below_price=0.0;

 

//---Balance_of_Buy_and_Sell_grid_trades

input int      Max_Gap_of_buy_and_sell_open_trades=0;

input int      Max_Gap_resolution[dropdown]="Trade with trend Only/Prune highest loss trade";

 

//---Position_sizing

input float    Equity_amount_reserved_for_this_EA[>0]=0.0;

input float    Max_drawdown_allowed_percent[>0]=30.0;

input int      Position_sizing_method[dropdown]="Manual lot size/Pecent of EA Euity/Percent of EA Balance";

input float    Position_risk_percent[>0]=0.0;

 

//---Buy_grid_settings

input int      Buy_grid_trading_allowed[select]="Enabled/Disabbled";

input float    Buy_initial_entry_price[0:Off]=0.0;

input float    Buy_manual_lotsize=0.0;

input int      Buy_gap_size[>0]=0;

input int      Buy_stoploss_pips[0:Off]=0;

input int      Buy_takeprofit[0:Off]=0;

 

//---Buy_counter_trend_scaling

input int      Buy_counter_trend_scaling_after_grid[0:Off]=0;

input int      Buy_counter_trend_scaling_percent[0:Off]=0;

input int      Buy_counter_trend_lot_scaling_down[0:Off]=0;

 

//---Buy_trading_boundary

input float    No_new_buy_on_or_above_price[0:Off]=0.0;

input float    No_new_buy_on_or_below_price[0:Off]=0.0;

 

//---Sell_grid_settings

input int      Automatic_vs_Manual_sell_settings[select]="Automatic sell settings:copied from Buy(ignore sell fields)/Manual sell settings:Fill in sell fields below";

input int      Sell_grid_trading_allowed[select]="Enabled/Disabled";

input float    Sell_initial_entry_price[0:Off]=0.0;

input float    Sell_manual_lotsize=0.0;

input int      Sell_Gap_size[>0]=0;

input int      Sell_stoploss_pips[0:Off]=0;

input int      Sell_takeprofit[0:Off]=0;

 

//---Sell_counter_trend_scalling

input int      Sell_counter_trend_scaling_after_grid[0:Off]=0;

input int      Sell_counter_trend_Gap_scaling_percent[0:Off]=0;

input int      Sell_counter_trend_lot_scaling_down[0:Off]=0;

 

//--Sell_trading_boundary

input float    No_new_sell_on_or_above_price[0:Off]=0.0;

input float    No_new_sell_on_or_below_price[0:Off]=0.0;

 

//--Operation_Settings

input int      Reentry_after_grid_closure="Reentry allowed/Disallowed";

input int      Max_open_ticket_count[0:Off]=0;

input float    Max_spread_to_allow_trade_pips=5.0;

input float    Grid_level_sensitivity_to_trade_pips=5.0;

input int      Lot_adjustment_for_FIFO="Normal position sizing/Apply FIFO Adjustments";

 

//---Visual_grid_feedback_chart

input int      Grid_level_shown_above_or_below_activity=3;

input int      Buy_grid_onchart_colorscheme=7;

input int      Sell_grid_onchart_colorscheme=5;

input color    Grid_close_above_level_color=clrOrange;

input color    Grid_close_below_level_color=clrOrange;

input color    No_new_buy_above_level_color=clrDarkViolet;

input color    No_new_buy_below_level_color=clrDarkViolet;

input color    No_new_sell_above_level_color=clrDarkViolet;

input color    No_new_sell_below_level_color=clrDarkViolet;

input color    Grid_closeout_summary_text_color=clrGray;

 

//---Planning_mode_visual_feedback

input color    Future_target_price_color=clrDarkRed;

input color    Initial_entry_price_color=clrCornflowerBlue;

input color    Realized_existing_trade_color=clrMediumAquamarine;

input color    Open_existing_trade_color=clrDarkOrchid;

input color    Realized_future_trade_color=clrYellowGreen;

input color    open_future_trade_color=clrViolet;

input int      Tick_scaling_for_CFD_markets[select]="Auto scale for Index markets/Never Scale/Always Scale";

input int      Magic_number=20140328;


Responded

1
Developer 1
Rating
(2)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(58)
Projects
76
33%
Arbitration
9
78% / 11%
Overdue
7
9%
Free
3
Developer 3
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
4
Developer 4
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
5
Developer 5
Rating
(167)
Projects
192
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Loaded
6
Developer 6
Rating
(41)
Projects
88
14%
Arbitration
30
30% / 53%
Overdue
36
41%
Working
7
Developer 7
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
Similar orders
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Ind V5 TV Strategy Requirements: Instruments: Forex pairs, Crypto and Stocks across exchanges TimeFrame: Multi-Time Frame comparisons, details below Indicators: Ichimoku Cloud, ATR & Choppiness Index Trade times: First Order: Day of Week Start Time, Day of Week First Order time, Day of Week Last Order Time and Day of Week Square Off Time Intraday TF: 1 min, 3 mins, 9 mins, 27 mins and 81 mins Position Size (Lots)
I want this EA in mql4. The two indicators are written in pinescript Developer should please understand it to develop the EA. One of the indicator will be used as direction and the other for entry. The should have code that it can be used for( only one PC and an expiration date. ; this the developer should show me how to adjust it, so that I can adjust to my preference). Parameters:number of trades.lotsize, SL pips
I need a robot for forex trading~~The way the robot should work is that when I put it into a 5 minute chart, the chart will show 15 minutes, one hour, Regardless of whether they are buying or selling, they must buy or sell in the same color at the same time~~~ Use the following indicators: HalfTrend 1 & alerts mtf Trafficlight indicator.MQ4 When placed into a 5 minute chart ~ the chart will show 15 minutes, one
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing maximum budget = 150$ Preference is given to someone who: -speaks Arabic so I can explain it clearly to him - And the lowest price
I SIMPLY NEED SOMEONE TO INTEGRATE THESE OPTIMIZATION ALGOS INTO MY EA. THE LIBRARY IS ATTACHED BELOW. NEED THIS DONE FAST. LET ME KNOW IF YOU HAVE OTHER QUESTIONS A list of implemented optimization algorithms: BGA (binary genetic algorithm) ANS (across neighbourhood search) CLA (code lock algorithm) P_O_ES ((P+O) evolution strategies) CTA (Comet Tail Algorithm) SDSm (stochastic diffusion search M) ESG (evolution of
Create a robot like this live on YouTube, it is a simple hedge system that does not have martingale or other risky means of.making money.... please check out the link and if it is possible for you to repeat this then reach out with a sample and price. YouTube: https://www.youtube.com/live/cT_42RWzq_0?si=Z8M5mKkAMGZhxdTL
Hi There I am looking for someone to create me a simple anti martingale EA The EA will open a buy and sell the moment the EA is attached to a chart. Should the price increase - additional buys will open. This will continue until profit point Should the price retrace all trades should close just before breakeven point. New sequence starts immediatly thereafter The sell trade will close if the combined profit of buys
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should

Project information

Budget
30 - 200 USD
For the developer
27 - 180 USD
Deadline
to 10 day(s)