Thanks Phil!phil_trade wrote:1 -rambo406 wrote:Hi phil,
I am still a new programmer on EA.
Do you mind to explain what is the meaning of the following rules?
- Daily Stoch Slow < (param for each pair) (default 30)
- Daily STOCH Fast bar 1 < Stoch Fast bar 2
You mentioned about following rule:
- Stochastic 10;3;3 Close/Close
but what about the fast/slow settings?
Thanks.
for Sell Stoch must be > OverSell (30) and for Buy Stoch must be < OverBought (100-param=70)
AND Stoch Fast must Down for Sell -> Daily STOCH Fast bar 1 < Stoch Fast bar 2
or Up For BUY Daily STOCH Fast bar 1 > Stoch Fast bar 2
2 -
Stochastic 10;3;3 Close/Close give you 2 buffers 1 for Slow 1 for Fast
Macd Stochastic Fractal MA5/25 Daily Marylin
-
- Posts: 2
- Joined: Mon Feb 04, 2013 12:49 pm
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
-
- Trader
- Posts: 54
- Joined: Fri Nov 18, 2011 8:30 pm
- Location: Northwoods
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
How is it looking? Thanksniepce wrote:One milestone is attained since i've written 100% of the EA.
Before posting it, I need to do some decent testings, debug and optimize (fractal=cpu clog!).
But it's on the right way !
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
A little improvment in Move SL with Fractal give better result !
Niepce has done a very good job and the transcription will be available for MQL asap we have done some test this new week.
Code: Select all
//Pose SL sur Fractal pour Sell si dernier Fractal est UP
if (OrderType = tp_sell) and (PaireFractalDateH4[j,4] > PaireFractalDateH4[j,3]) and (OrderStopLoss>0) and (PaireFractalValueH4[j,4]>0)
and (PaireFractalDateH4[j,4] > OrderOpenTime) then
begin
NewSL := PaireFractalValueH4[j,4] + (10*Point);
if (NewSL > MonBid + (10*Point)) and (NewSL < OrderStopLoss) then
begin
ModifyOrder(OrderTicket,OrderOpenPrice,NewSL,OrderTakeProfit);
Lprint(PaireDevise[j]+' -> Move SL sur New Fractal Fast UP = '+MaValeurTostr(NewSL,Digits) );
end;
end;
//Pose SL sur Fractal pour Buy si dernier Fractal est DN
if (OrderType = tp_buy) and (PaireFractalDateH4[j,3] > PaireFractalDateH4[j,4]) and (OrderStopLoss>0) and (PaireFractalValueH4[j,3]>0)
and (PaireFractalDateH4[j,3] > OrderOpenTime) then
begin
NewSL := PaireFractalValueH4[j,3] - (10*Point);
if (NewSL < MonBid + (10*Point)) and (NewSL > OrderStopLoss) then
begin
ModifyOrder(OrderTicket,OrderOpenPrice,NewSL,OrderTakeProfit);
Lprint(PaireDevise[j]+' -> Move SL sur New Fractal Fast DN = '+MaValeurTostr(NewSL,Digits) );
end;
end;
You do not have the required permissions to view the files attached to this post.
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
I'm testing an other improvment with Move SL on Stoch OBOS : Add a param for each pair to detect OBOS level.
and we also have to think about latency between all signals to act :
example :
TIME T : Stoch OBOS level OK + Delta pips mini not OK + Stoch Fast < Stoch Slow OK
TIME T+1 : Stoch OBOS level not OK + Delta pips mini OK + Stoch Fast < Stoch Slow OK
etc
May be we have to collect all infos and controled if there are all OK during a period of x minutes ?
Any though ?
and we also have to think about latency between all signals to act :
example :
TIME T : Stoch OBOS level OK + Delta pips mini not OK + Stoch Fast < Stoch Slow OK
TIME T+1 : Stoch OBOS level not OK + Delta pips mini OK + Stoch Fast < Stoch Slow OK
etc
May be we have to collect all infos and controled if there are all OK during a period of x minutes ?
Any though ?
// Pose SL sur last trade si Stoch OBOS
if (OrderType = tp_sell) and (_STOD1SLOW[j,1] < 100-MACD_StochOBOSLevel[j] ) and (_STOD1FAST[j,1] > _STOD1SLOW[j,1]) then
begin
NewSL := ReturnHighOpenPrice(PaireDevise[j],OrderTicket);
if (NewSL - MonBid > MACD_DeltaPipsMoveSLOnStoch[j]*Point) then
begin
NewSL := ReturnLowOpenPrice(PaireDevise[j],OrderTicket);
if ((NewSL < OrderStopLoss) or (OrderStopLoss=0)) and (NewSL <> 9999) and (NewSL > MonBid + (10*Point)) then
begin
ModifyOrder(OrderTicket,OrderOpenPrice,NewSL,OrderTakeProfit);
Lprint(PaireDevise[j]+' -> Move SL sur Stoch' );
end;
end;
end;
if (OrderType = tp_buy) and (_STOD1SLOW[j,1] > MACD_StochOBOSLevel[j]) and (_STOD1FAST[j,1] < _STOD1SLOW[j,1]) then
begin
NewSL := ReturnLowOpenPrice(PaireDevise[j],OrderTicket);
if (MonBid - NewSL > MACD_DeltaPipsMoveSLOnStoch[j]*Point) then
begin
NewSL := ReturnHighOpenPrice(PaireDevise[j],OrderTicket);
if ((NewSL > OrderStopLoss) or (OrderStopLoss=0)) and (NewSL <> 0) and (NewSL < MonBid - (10*Point)) then
begin
ModifyOrder(OrderTicket,OrderOpenPrice,NewSL,OrderTakeProfit);
Lprint(PaireDevise[j]+' -> Move SL sur Stoch' );
end;
end;
end;
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
after statictical calculation on 2011/2013, for this Stoch OBOS level to Move SL, I get a smoother equity curve ( blue line ) and you can note the flat margin line ( white )
The growth is very regular
This new week will be the beginning of forward test for this Empty4 version
The growth is very regular
This new week will be the beginning of forward test for this Empty4 version
You do not have the required permissions to view the files attached to this post.
- RisingSun
- Trader
- Posts: 29
- Joined: Thu Mar 15, 2012 11:25 pm
- Location: Narita, Japan
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
Very encouraging! Looking forward to hearing more Akiraphil_trade wrote:after statictical calculation on 2011/2013, for this Stoch OBOS level to Move SL, I get a smoother equity curve ( blue line ) and you can note the flat margin line ( white )
The growth is very regular
This new week will be the beginning of forward test for this Empty4 version
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
Last version with partial close on friday... regular as a swiss clock !
You do not have the required permissions to view the files attached to this post.
- alex_forex
- Trader
- Posts: 438
- Joined: Tue Nov 15, 2011 5:46 pm
- Location: F R A N C E
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
Brilliant Phil
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
Thanks. Hope 2013 will confirm this first 2 live months seems to be ok...alex_forex wrote:Brilliant Phil
The main challenge will remain detection of trend pairs that suit this strategy. As all my attempt to achieve this with some indi. or brillant calculation did not succeed.
I suppose the only way is to trade small lot and accept wrong trade, but be present to start with the good trend, as a front centers in the football, touching only one or 2 balls by match, but that must put it at the bottom of nets
Brain storming for SH forum members can start !
-
- Trader
- Posts: 348
- Joined: Fri Jul 20, 2012 9:49 am
Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA
Very good one looking. Thx for your hard work Phil.