Forex Zone - Forex Forum

RSI MULTI-TIME FRAME EA

Discussion started on New EA Coding

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
This is a multi-time frame RSI EA, it will execute trade base on RSI indicator crossing over the overbought line for buy signal, and crossing down the oversold line for sell signal in multi-time frame.
SELL \ BUY SIGNAL
All RSI indicators in 1minute, 5min,15min,30min and 1 hour time frame are below are below the oversold line of 45 or 30 for SELL signal, or above the OVERBOUGHT line of 55 or 70 for BUY signal. There will be a time filter before execution if we are to use current candle signal from all the time frame, but if it will be close candle signal there will be no time filter.
EXIT SIGNAL:
1. By take profit or trailing stop
2. By reverse signal
SPECIAL FEATURES
TRADE RE-ENTRY- I will like you to put an option to select for trade re-entry, lets assume that a take profit target is hit on sell signal, and after sometime all the time frames align again for another sell signal. I will like an option that will allow the ea to execute another sell order.
TAKE PROFIT EXTENSION- During sell or buy signal, I will a setting that will allow the ea to be extending take profit target, if the price is approaching the take profit and all the time frame signals are still on one trend, in this case the ea should extend the take profit with some setting amount of pips then use stop loss to trail the profits.
INPUTS:
1.Lot size=
2. Stop-loss=
3. Trailing stop-loss=
4.  Use Daily Target =true or false
5. Daily target amount =
6. Spread monitor=
7. Money management= true or fale
8. Money management risk in percent =
9. Trade re-entry = true or false
10. Take profit extension= true or false
11. Take profit extension pip=
RSI SIGNAL SETTINGS
12. RSI TIME FRAME= 1MIN; 5MIN; 15MIN; 30MIN; 1HOUR;
13. RSI period=
14. RSI  overbought level=
15. RSI oversold level=
16. RSI price=
17. RSI current or close signal selection ( if is current it will use time filter to delay the signal  but if is close candle it execute trade if all the candles are close with the same signal)
18. Time delay for current signal= ( maximum of 1 minute
    NEWS HOUR FILTER
19. Minute before an event to stay out of trading=
20. Minute after an event to enter trading= ( note, it will enter trade after an event if all the signals are align)
      TIME FILTER
21. USE TIME FILTER= true or false
22. Start time=
23. Close time=
24. Monday start time=
25. Friday close time=
Note. Time frame can be 1 or 2 or 3 or 4 or 5.
You can INPUT other things which I may not remember, and re- arrange the INPUTS in a proper way. I only lay down what I needed.


Linkback: https://www.forex.zone/new-ea-coding/26/rsi-multi-time-frame-ea/639/
#1 - January 07, 2019, 10:52:43 AM
Attachments:

Administrator
  • Hero Member
  • Posts: 4718
  • Points: 34757
  • Likes Received: 4820
  • Reputation: +220/-14
Do you have an indicator you want to use for the news filter? If not, what news source should the EA use?

Also, please attach the indicator you have shown in the two images.
#2 - January 07, 2019, 11:17:06 AM
« Last Edit: January 07, 2019, 11:18:56 AM by Admin »

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
The news filter can only work with Time settings, it does not need any news indicator. The RSI Indicator I used is in excel file, but i thought it can still be achieved by using internal RSI settings, as normally done in some ea. 
#3 - January 07, 2019, 11:26:58 AM

Administrator
  • Hero Member
  • Posts: 4718
  • Points: 34757
  • Likes Received: 4820
  • Reputation: +220/-14
The RSI Indicator I used is in excel file, but i thought it can still be achieved by using internal RSI settings, as normally done in some ea.
I'm not sure what you mean by an excel file. I am referring to the one you have in your screenshots. They seem to show an RSI indicator with MTF capability. If you want to use that specific indicator, that would be needed then. If not, I could do what you said and use the regular RSI indicator and just import from every TF. In this case, you should not be comparing what the EA is doing to your other MTF indicator because the EA would not be using that and it may not produce the same values.
#4 - January 07, 2019, 11:32:44 AM

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
I have attached the indicator here but is not in Mql4 file. 
#5 - January 07, 2019, 11:40:54 AM
Attachments:

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
Here is version 2 of the indicator in mql4 format but is not working well in my platform. I dont know if you can fix it to work with it.
#6 - January 07, 2019, 11:45:29 AM
Attachments:

Administrator
  • Hero Member
  • Posts: 4718
  • Points: 34757
  • Likes Received: 4820
  • Reputation: +220/-14
I have attached the indicator here but is not in Mql4 file.
I can still use the indicator in an EA even without the MQL4 version.

Unfortunately, this indicator doesn't seem to work on my end. It doesn't do anything when I input another TF. No matter what I input, it just stays the same.
#7 - January 07, 2019, 11:47:02 AM

Administrator
  • Hero Member
  • Posts: 4718
  • Points: 34757
  • Likes Received: 4820
  • Reputation: +220/-14
Here is version 2 of the indicator in mql4 format but is not working well in my platform. I dont know if you can fix it to work with it.
Just give me the exact version you used in your screenshots or the exact version you will be visually comparing to what the EA is doing later.
#8 - January 07, 2019, 11:48:16 AM

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
the one is used is version V1.01 which I attached here.
#9 - January 07, 2019, 11:56:18 AM
Attachments:

  • Starter
  • Posts: 6
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
The idea of the ea is derived from the RSI  MTF DASHBOARD that I attache now with the picture, I dont know if is possible for you to work with it, since you can code ea with excel file. I have demo traded the system and is highly profitable with 10 pip target ones all the signals are align together.  
#10 - January 07, 2019, 12:05:50 PM
Attachments:

Administrator
  • Hero Member
  • Posts: 4718
  • Points: 34757
  • Likes Received: 4820
  • Reputation: +220/-14
I see the MTF feature working now with your indicator. The indicator will only display a higher TF on a lower chart TF. If you try running a low TF on a higher TF (eg. H1 on Daily chart) it doesn't work and that is what I was doing before. Sorry about that.

Please check your PM.
#11 - January 07, 2019, 12:07:02 PM

Members:

0 Members and 1 Guest are viewing this topic.