stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Macd Stochastic Fractal MA5/25 Daily Marylin
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1448
Page 22 of 141
Author:  alex_forex [ Tue Mar 12, 2013 5:58 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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
Author:  phil_trade [ Tue Mar 12, 2013 6:10 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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);
			     }
Author:  phil_trade [ Tue Mar 12, 2013 6:13 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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
Author:  bshoe24 [ Tue Mar 12, 2013 6:19 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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".
Author:  phil_trade [ Tue Mar 12, 2013 6:20 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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.
Author:  niepce [ Tue Mar 12, 2013 7:26 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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.
Author:  cuzgeorge [ Tue Mar 12, 2013 7:57 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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
Author:  phil_trade [ Tue Mar 12, 2013 8:34 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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 !
Author:  cuzgeorge [ Tue Mar 12, 2013 8:40 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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
Author:  Pippa [ Tue Mar 12, 2013 9:37 pm ]
Post subject:  Re: MACD STOCHASTIC FRACTAL MA5/25 DAILY EA

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
All times are UTC Page 22 of 141