# Blockbuster EA - page 3

988

newdigital:
may be somebody will have some suggestion about stop loss.

How about an Equity based stoploss? That would seem to solve your problem.

Thanks

Moderator
123006

holyguy7:
How about an Equity based stoploss? That would seem to solve your problem. Thanks

The problem is that this EA is trading during the news time as well and i tried sl = 70 and it was not enough. But to have stop loss 70 if the profit level is 5 only - difficult. It should be stop loss = 10 or 20, or without stop loss. Anyway I am testing it and in the end of the week will post this EA with explanation and charts.

Moderator
123006

Well.

I tried many versions. It works for som period of time but then big drawdown.

So finally I did the following:

double diRSIFilterup1=iCustom(NULL,0,"RSIFilter_v1",PeriodRSI,0,1);

double diRSIFilterdown1=iCustom(NULL,0,"RSIFilter_v1",PeriodRSI,1,1);

double d22=(0);

double diRound_big=iCustom(NULL,0,"RoundPriceNE_big",t3_period,b,1);

double diRound_big30=iCustom(NULL,30,"RoundPriceNE_big",t3_period,b,1);

double Sell3_1 = iSAR(NULL, 0, 0.001, 0.05, 2);

double Sell3_2 = iSAR(NULL, 0, 0.001, 0.05, 1);

double Buy3_1 = iSAR(NULL, 0, 0.001, 0.05, 2);

double Buy3_2 = iSAR(NULL, 0, 0.001, 0.05, 1);

double Sell4_1 = iSAR(NULL, 0, 0.02, 0.2, 2);

double Sell4_2 = iSAR(NULL, 0, 0.02, 0.2, 1);

double Buy4_1 = iSAR(NULL, 0, 0.02, 0.2, 2);

double Buy4_2 = iSAR(NULL, 0, 0.02, 0.2, 1);

double diStepStomain1=iCustom(NULL,30,"StepSto_v2",Length,Kfast,Kslow,MA_Mode,StepSizeMIN,StepSizeMAX,0,1);

double diStepStosig1=iCustom(NULL,30,"StepSto_v2",Length,Kfast,Kslow,MA_Mode,StepSizeMIN,StepSizeMAX,1,1);

double d23=(50);

double d24=(30);

double d25=(70);

if(Close[1]<diRound_big-(BDistance*Point) && iClose(NULL,30,1) < diRound_big30 && diStepStomain1 < diStepStosig1 && diStepStomain1 d24 && diRSIFilterdown1 Sell3_2 && Sell4_1 > Sell4_2 && ScanTrades() < MaxOrders) SELLme=true;

Moderator
123006

So what I did exactly?

This EA is using M30 and M5 timeframes.

M30 timerame.

sell:

iClose(NULL,30,1) < diRound_big30 && diStepStomain1 < diStepStosig1 && diStepStomain1 d24[/CODE]

[CODE]iClose(NULL,30,1) > diRound_big30 && diStepStomain1 > diStepStosig1 && diStepStomain1 > d23 && diStepStomain1 < d25

What does it mean?

It means that buy is valid if:

- 1st close bar on M30 is above the line of RoundPriceNE_big indicator;

- the main line (StepSto_v2 indicator) is above signal ine and main line is between 50% and 70% (50%<value<70%).

Opposite for sell confirmation.

It is M30 timeframe. This timeframe is using just for confirmation only. It means that no one order will be opened on M5 timeframe if the above mentioned condition on M30 is not met.

Files:
1_1.gif  22 kb
Moderator
123006

This EA is trading on M5 timeframe. So condition for the sell is the following:

- 1st close bar is below (the value of RoundPriceNE_big - 7):

Close[1]<diRound_big-(BDistance*Point)[/CODE]

- RSIFilter_v1 indicator is showing downtrend:

diRSIFilterdown1 < d22[/CODE]

- Parabolic SAR with the settings 0.001 and 0.05 is showing downtrend:

[CODE]double Sell3_1 = iSAR(NULL, 0, 0.001, 0.05, 2);

double Sell3_2 = iSAR(NULL, 0, 0.001, 0.05, 1);

Sell3_1 > Sell3_2

- Parabilic SAR with the other settings (0.02 and 0.2) is on downtrend as well:

[CODE]double Sell4_1 = iSAR(NULL, 0, 0.02, 0.2, 2);

double Sell4_2 = iSAR(NULL, 0, 0.02, 0.2, 1);

Sell4_1 > Sell4_2

Opposite for sell.

It was trading rules on M5.

So the order will be open if all the condition will be met on M5 (this post) with confirmation on M30 (see last post).

Files:
2.gif  26 kb
Moderator
123006

So please find EA (attached). It is 4 EAs for 4 majors. M5 timeframe. I am using default settings.

This EA is not working without indicators (attached). You should have these indicators in /indicators folder.

It is not necessary to attach indicators to the chart. Just open EURUSD M5, GBPUSD M5, USDJPY M5 and UDCHF M5 timeframe and attach the EAs. That's all.

If you want to see how this EA works so use template attached (M5 is trading timeframe and M30 for confirmation). I created two templates for M30 but you may use any of them.

As I said few posts later it is difficult to backtest this EA. Because a lot of indicators programmed inside. And I am not using any stop loss and it may be the problem as well.

Files:
eas.zip  15 kb
[Deleted]

unzip 30 min. confirm

This looks like a super-EA. Could you post the 30 min. confirm file without compression. I have not been able to unzip it. Perhaps the problem is this operator, rather than the file. The others unzipped nicely.

Glenn

Moderator
123006

This looks like a super-EA. Could you post the 30 min. confirm file without compression. I have not been able to unzip it. Perhaps the problem is this operator, rather than the file. The others unzipped nicely. Glenn

Unziped files.

Files:
73

I started with blockbuster sun last 29 jan on demo account

29 wins no loser up from 3000 to 3247 in 3 days

the thing that worries me is a

few trades are in and out in 3/5 min [15 pips]