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

İş Gereklilikleri

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;


Dosyalar:

MQ5
GTM_EA.mq5
8.1 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(2)
Projeler
3
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(58)
Projeler
76
33%
Arabuluculuk
9
78% / 11%
Süresi dolmuş
7
9%
Serbest
3
Geliştirici 3
Derecelendirme
(356)
Projeler
632
26%
Arabuluculuk
89
73% / 13%
Süresi dolmuş
12
2%
Serbest
4
Geliştirici 4
Derecelendirme
(119)
Projeler
127
41%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(172)
Projeler
195
11%
Arabuluculuk
37
38% / 35%
Süresi dolmuş
5
3%
Yüklendi
6
Geliştirici 6
Derecelendirme
(42)
Projeler
88
14%
Arabuluculuk
31
29% / 55%
Süresi dolmuş
36
41%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(67)
Projeler
144
34%
Arabuluculuk
10
10% / 60%
Süresi dolmuş
26
18%
Serbest
Benzer siparişler
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Hello, I have a strategy and I need a very good programmer who will create me an exprt or make me an indicator that will open positions for buy/sell limit (see picture below). The indicator/Expert will have to open positions (buy/sell limit) regarding the strategy and indicators (I will explain it more in collaboration). Below I will give pictures of what I mean. I will send a link to the telegram group where it
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards
MT4 Expert Advisor 30 - 120 USD
EA sittings The EA utilises the concept of grid and hedging by creating a zone for recovering losing trades It is a continues trading EA without any stop loss. The EA initially aims to trade continually without the need to hedge. The EA enter the first trade following the direction of the moving average (when price is above or below the moving average), and only hedge when, the trade goes against the trend and reach
Would I honestly need is someone who can make a profitable EA for me that can at least make me around $80 a day starting with $50 and the EA must be able to work with exness the EA should automat trades 24/7. Broker = Exness Pairs = USD/JPY XAU/USD and etc Chart time frames = M1 M15 History = last month till last 6 months. Lot size 0.10 take profit at $2 stop
Hello i am seeking a skilled MetaTrader 5 (MQL5) developer to modify an existing Telegram signal copier. The goal is to enhance the copier's functionality, reliability, and user experience. kindly bid this job to get started immediately
Hello, I’m looking for assistance with creating or customizing a TradingView indicator to suit my trading needs. If you have experience in this area, please reach out. Your help would be greatly appreciated. Thanks
# MT4 Expert Advisor Development Rules ## Time Period Definition 1. Allow user to define a specific time period (e.g., 10:00 to 15:00). 2. Identify and store the high and low prices within this period. ## Price Breakout Detection 3. Monitor current price for breakouts above the period high or below the period low. ## Signal Confirmation (signals will be taken on m5 timeframe) 4. After a breakout, wait for a signal
HI Recently purchased VPS, But now i am getting Following message "failed to get list of virtual hosts [404]", I need one help to fix this isues and make sure my EA working on VPS, when my computer off Thank you

Proje bilgisi

Bütçe
30 - 200 USD
Geliştirici için
27 - 180 USD
Son teslim tarihi
to 10 gün