I have developed a system that trades on 5-minute intraday charts (emini nasdaq and Italian futures) about 10 times a month, and it can still get better, by using some sort of trend filter on data2 daily closes, but I can't get the RSI filter to work as well as it could.
This is the the filter so far, any advice is welcome:
Inputs: ... RsiFastLength(17), RsiSlowLength(50), RsiOverBought(60), RsiOverSold(30)...
Variables: ...RsiFast(0), RsiSlow(0);
RsiFast = RSIClassic(Close[1] of Data2, RsiFastLength);
RsiSlow = RSIClassic(Close[1] of Data2, RsiSlowLength);
...
{*** entries ***}
If (MarketPosition <> 0 And Openpositionprofit > (AbsValue(EntryPrice) * PercentTarget)) Or (MarketPosition = 0) Then
Begin
If CurrentBar > 1 AND RsiFast > RsiSlow And RsiFast < RsiOverBought
And Fast Crosses Above Slow And TimeAll = 1 Then
Buy This Bar;
If CurrentBar > 1 AND RsiFast < RsiSlow And RsiFast > RsiOverSold
And Fast Crosses Below Slow And TimeAll = 1 Then
Sell This Bar;
end;
{*** exits ***}
...
-------------
A simpler filter that I had tried before, and maybe even a better one, was this:
Inputs: ... RsiFastLength(17), RsiSlowLength(50)...
Variables: ...RsiFast(0), RsiSlow(0);
RsiFast = RSIClassic(Close[1] of Data2, RsiFastLength);
RsiSlow = RSIClassic(Close[1] of Data2, RsiSlowLength);
...
{*** entries ***}
If (MarketPosition <> 0 And Openpositionprofit > (AbsValue(EntryPrice) * PercentTarget)) Or (MarketPosition = 0) Then
Begin
If CurrentBar > 1 AND RsiFast > RsiSlow And Fast Crosses Above Slow And TimeAll = 1 Then
Buy This Bar;
If CurrentBar > 1 AND RsiFast < RsiSlow And Fast Crosses Below Slow And TimeAll = 1 Then
Sell This Bar;
end;
{*** exits ***}
...
This is the the filter so far, any advice is welcome:
Inputs: ... RsiFastLength(17), RsiSlowLength(50), RsiOverBought(60), RsiOverSold(30)...
Variables: ...RsiFast(0), RsiSlow(0);
RsiFast = RSIClassic(Close[1] of Data2, RsiFastLength);
RsiSlow = RSIClassic(Close[1] of Data2, RsiSlowLength);
...
{*** entries ***}
If (MarketPosition <> 0 And Openpositionprofit > (AbsValue(EntryPrice) * PercentTarget)) Or (MarketPosition = 0) Then
Begin
If CurrentBar > 1 AND RsiFast > RsiSlow And RsiFast < RsiOverBought
And Fast Crosses Above Slow And TimeAll = 1 Then
Buy This Bar;
If CurrentBar > 1 AND RsiFast < RsiSlow And RsiFast > RsiOverSold
And Fast Crosses Below Slow And TimeAll = 1 Then
Sell This Bar;
end;
{*** exits ***}
...
-------------
A simpler filter that I had tried before, and maybe even a better one, was this:
Inputs: ... RsiFastLength(17), RsiSlowLength(50)...
Variables: ...RsiFast(0), RsiSlow(0);
RsiFast = RSIClassic(Close[1] of Data2, RsiFastLength);
RsiSlow = RSIClassic(Close[1] of Data2, RsiSlowLength);
...
{*** entries ***}
If (MarketPosition <> 0 And Openpositionprofit > (AbsValue(EntryPrice) * PercentTarget)) Or (MarketPosition = 0) Then
Begin
If CurrentBar > 1 AND RsiFast > RsiSlow And Fast Crosses Above Slow And TimeAll = 1 Then
Buy This Bar;
If CurrentBar > 1 AND RsiFast < RsiSlow And Fast Crosses Below Slow And TimeAll = 1 Then
Sell This Bar;
end;
{*** exits ***}
...