Trabalho concluído
Termos de Referência
I want someone to make this 3 time frame RSI into an EA. The price for the work is $50.00 but if you add an alert the price is $75.00 no more. What is unique about this indicator as different from other MTF RSI indicator is that u can have 3 different time frames , the same period RSI and different or the same period RSI or u can have the same TF but different period RSI and so on. but you cannot have the same period and the same TF RSI . Now have that out of the way here is how it will work. When the 3 RSI crosses above 50 or is above 50 it opens a buy position on the current candle and when they enter over bought level another position is entered of the same lot size if that option is selected. Exit all position when they exit OB. a short signal is the opposite of the above. It will also have 2 strategy options before the EA is put on a chart. The first is if when the EA is first put on a chart, and if the RSI is already above 50 or 70 it waits for one min before it opens a position(the mins can be adjusted) and the second option is to wait for the next signal to open a position. Here are the settings most of what I will list is the default settings
TF_1 0. 0 means is the current TF if the indicator is put on a 5mins chart .
RSI _Period_1 2
TF_2 15
RSI_Period_2 2
TF_3 30
RSI_Period_3 2
Refresh period in seconds 1
above was a 5mins 2 period RSI, a 15mins 2 period rsi and a 30mins 2 period RSI.. I can use any period RSI I want., I can use only 2 TF or One TF RSI and period but it means I will change the other TF and period to zero for a different strategy for example : below is another Strategy I will be using only 2 TF RSI 60mins and 4hrs
TF_1 0. 0 means is the current TF if the EA is put on a 1hr or 60mins chart .
RSI _Period_1 2
TF_2 240
RSI_Period_2 2
TF_3 0
RSI_Period_3 0
SETTINGS ... Default.. It can be user selected
RSI OB=70
RSI OS 30
USe RSI 50 level T/f.. If false it will only use the RSI OB and OS level Default is False
Enter opposite trades when existing OB and OS region T/F. When this option is enabled, when all the MTF RSI exits the OB region it opens a sell position and when it exits the OS region it opens a buy position ....default is True
USe closed candle 0, current candle 1
MAgic number 12345( I do not care what u put) Like I was saying because of a different strategy I will need a magic number for instance I can use a 5mins EURUSD chart with 3TF as above and a 60mins EURUSD chat with a different settings. note: If the 60mins trade is still in a buy position because the MTF RSI is still above 50 or 70, the 5mins chart cannot open a sell position because hedging will not be allowed so it will continue to open only buys as long as the 60mins chart is still actively in buy or has exited for a loss or profit.. Please keep note
Lot size 0.01
Use TP True or false. false is the default
TP 60pips
USe SL T/F.... True is the default
SL 40pips
Use RSI as TP......... T/F..... IF this option is enabled when the selected RSI crosses back below 50 or below ob/os for a buy trade, the position is closed for a profit or for a loss. Use either this or the TP option... This is the default
USe Stealth mode TF
This hides the SL and TP from broker. Default is False
Show profit and loss on chart for currency pair and for all open position
Use add to positions: When the option is enabled the EA adds another lot of the same lot size when all the RSI is above 70 or below 30 and exit when they all crosses back below or above 30
Maximum number of positions to be opened 10 default. Note. If the position size use above is 0.01 it is counted as 1 then 0.09 is counted as 9 positions
USE EA wait option T/F... Default is True
When EA is put on chart and the MTF is already above 50 or 70 or below 50 or 30 the EA scans for 1 min and open buy or sell positions after one min(default) on the current candle
Mins before opening position =1 default
If set to false, the EA waits for the next signal
USE CLOSE IF : TRUE/FALSE
when this option is enabled the EA closes all opened positions and stop opening any trades when account balance increases by xxx pips or decreases by xxxpips
Close if account balance increases by 100pips
Close if account balance decreases by 75pips
https://www.mql5.com/en/code/7230 Here is a link for the indicator and the indicator is attached
USE ALERTS T/F defaut is true.
Alerts when a position is opened , position added, position closed for a loss or profit
In the attached charts below u can see how this will work . Look at the GBPchf using a 5mins 2tf ris , a 15mins 2tf rsi and a 30mins 2 tf rsi
A... sell entry, they all cross below 50, B... add to position they all cross below 30 and C exit both positions because they all exiting OS then immediately open a long position because they all are above 50 level as u can see towards the gap that a position will not be added because the 3 RSI did not enter OB, it was close but it did not happen. Any questions please ask. I think I did my best to explain clearly this EA