Macd Stochastic Fractal MA5/25 Daily Marylin

Locked
User avatar
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

Post by alex_forex »

Merci niepce :-)

Just updated to v0.33

Got some of those attempts to close without success but we need more time to see where it come from.

2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: CloseonRSIW1MAX :Attempting to close EURCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close EURCHF

Cheers
Alex
phil_trade

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by phil_trade »

alex_forex wrote:Merci niepce :-)

Just updated to v0.33

Got some of those attempts to close without success but we need more time to see where it come from.

2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: CloseonRSIW1MAX :Attempting to close EURCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close EURCHF

Cheers
Alex

Niepce

It will be better to code this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
			      OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red);
			     }
like this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      if OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red)
{
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
}
else Print("CloseonRSIW1MAX : ERROR -> Attempting to close ",strSymbol);
			     }
phil_trade

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by phil_trade »

phil_trade wrote:
alex_forex wrote:Merci niepce :-)

Just updated to v0.33

Got some of those attempts to close without success but we need more time to see where it come from.

2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: CloseonRSIW1MAX :Attempting to close EURCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close EURCHF

Cheers
Alex

Niepce

It will be better to code this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
			      OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red);
			     }
like this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      if OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red)
{
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
}
else Print("CloseonRSIW1MAX : ERROR -> Attempting to close ",strSymbol);
			     }

and I think it's better to close BUY trade at Bid price and Sell trade at Ask Price
bshoe24
Trader
Posts: 84
Joined: Sat Feb 11, 2012 5:53 pm

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by bshoe24 »

phil_trade wrote:Good job Niepce !

some adds :

UseHighLowCalcForMoveSLOnStoch=true; Will only move SL to the lowest open price (for longs) when enabled. If disabled, SL will be put on the lowest open price (for longs), when stoch enter the overbought zone.

Must be set to False if UseStochH4ToTakeTrade = true otherwise you will have some inconvenient close trade.

SL_MAX=300; The virtual initial stop loss. Use this for risk sizing when using manual lots.

very important setting to protect you against big quick mouvement in one candle cause CloseOnMACD couldn't see it.

Have fun..and some pips !

Thank you Phil for sharing all this and Niepce for the sets earlier. I noticed the AUDUSD set has this "UseStochH4ToTakeTrade = true" so as you've directed i've set "UseHighLowCalcForMoveSLOnStoch=false".
phil_trade

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by phil_trade »

bshoe24 wrote:
phil_trade wrote:Good job Niepce !

some adds :

UseHighLowCalcForMoveSLOnStoch=true; Will only move SL to the lowest open price (for longs) when enabled. If disabled, SL will be put on the lowest open price (for longs), when stoch enter the overbought zone.

Must be set to False if UseStochH4ToTakeTrade = true otherwise you will have some inconvenient close trade.

SL_MAX=300; The virtual initial stop loss. Use this for risk sizing when using manual lots.

very important setting to protect you against big quick mouvement in one candle cause CloseOnMACD couldn't see it.

Have fun..and some pips !

Thank you Phil for sharing all this and Niepce for the sets earlier. I noticed the AUDUSD set has this "UseStochH4ToTakeTrade = true" so as you've directed i've set "UseHighLowCalcForMoveSLOnStoch=false".
That's right for AUDUSD.
User avatar
niepce
Trader
Posts: 152
Joined: Wed Jul 04, 2012 11:00 pm
Location: Grenoble, France

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by niepce »

phil_trade wrote:
phil_trade wrote:
alex_forex wrote:Merci niepce :-)

Just updated to v0.33

Got some of those attempts to close without success but we need more time to see where it come from.

2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 USDCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close USDCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: CloseonRSIW1MAX :Attempting to close EURCHF
2013.03.12 18:54:12 MarilynMonroe_0.33 EURCHF,Daily: Alert: CloseonRSIW1MAX :Attempting to close EURCHF

Cheers
Alex

Niepce

It will be better to code this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
			      OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red);
			     }
like this

Code: Select all

			     if(AllowedSpread(strSymbol)==true)
			     {
			      if OrderClose(OrderTicket(),OrderLots(),Ask,slippage,Red)
{
			      Alert("CloseonRSIW1MAX :Attempting to close ",strSymbol);
		         Print("CloseonRSIW1MAX :Attempting to close ",strSymbol);
}
else Print("CloseonRSIW1MAX : ERROR -> Attempting to close ",strSymbol);
			     }

and I think it's better to close BUY trade at Bid price and Sell trade at Ask Price
Geeeeeez.
To quote a famous man here "never trust my coding"
Will fix it asap.
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by cuzgeorge »

Hi Phil and Niepce. Thank you for the great strategy and i must thank you again for the great expletive post in page 21. Clears a lot of issues or questions one might have.
The set files are a clear winner as at least we have an informed base to start with, especially when one compares the way you estimate the differences between the pairs and then onto Gold. Its very helpfull guys, might not all be winners, but a good, easy way to start for all.

Comments come much later from me, i'm dumb next to you all here.

Okay, stopped the demo for now to see what Niepce does with the code. Running on 15M charts , and then 7 paires and Gold. No errors as reported by Alex, but only ran a few minutes.
Link below and pic attached.
Great stuff guys, thank you,
Cuz

Image
You do not have the required permissions to view the files attached to this post.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
phil_trade

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by phil_trade »

cuzgeorge wrote:Hi Phil and Niepce. Thank you for the great strategy and i must thank you again for the great expletive post in page 21. Clears a lot of issues or questions one might have.
The set files are a clear winner as at least we have an informed base to start with, especially when one compares the way you estimate the differences between the pairs and then onto Gold. Its very helpfull guys, might not all be winners, but a good, easy way to start for all.

Comments come much later from me, i'm dumb next to you all here.

Okay, stopped the demo for now to see what Niepce does with the code. Running on 15M charts , and then 7 paires and Gold. No errors as reported by Alex, but only ran a few minutes.
Link below and pic attached.
Great stuff guys, thank you,
Cuz

Image
Good to see you in !
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by cuzgeorge »

phil_trade wrote:Good to see you in !
Phil,
i was always 'in,'
just under-cover :lol: :lol: and then Pippas pics of Marilyn just did the trick.

Seriously impressive work between you and niepce here. I cant say i fully understand everything, but trying.
regards,
cuz
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
Pippa
Trader
Posts: 53
Joined: Sun Feb 03, 2013 2:12 am

Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

Post by Pippa »

cuzgeorge wrote:
phil_trade wrote:Good to see you in !
Phil,
i was always 'in,'
just under-cover :lol: :lol: and then Pippas pics of Marilyn just did the trick.

Seriously impressive work between you and niepce here. I cant say i fully understand everything, but trying.
regards,
cuz
Image

Oh, really?
8-) Pippa
Locked

Return to “Automated trading systems”