Wapen, an EMA, PSAR, Stoch EA

User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Wapen, an EMA, PSAR, Stoch EA

Post by SteveHopwood »

winsteadglenn wrote:Thanks, Steve. The 1b bot is rapidly opening and closing new trades. I think the opening requires that only the main stoch line be above or below horizontal level X, but closure of a trade requires that the relative position of the main and signal stoch lines be above or below each other. When both the main and signal stoch lines are in a given field, seeing that the main stoch line is consistent with opening a trade, it might trigger a trade and then realize that the relative position of the stoch main and signal lines dictates a closure. Presumably coding an opening trade might require that the relative position of the two stoch lines be in non-closure mode, even if the main stoch line is correctly above or below horizontal level X for opening a trade.. What do you think?
V 1c is in post 1. I have added a filter that aborts the trade if CloseOnStochCross is enabled and the main is the wrong side of the signal. See if this helps.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Wapen, an EMA, PSAR, Stoch EA

Post by winsteadglenn »

:D :mrgreen: :mrgreen: :D :D :mrgreen:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Wapen, an EMA, PSAR, Stoch EA

Post by SteveHopwood »

Version 1d is in post 1. As some of you guys are still playing with this one, I have added Slope.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Wapen, an EMA, PSAR, Stoch EA

Post by winsteadglenn »

Thanks, Steve. 1c drained my demo 10K to $56 in four hours. Still opening and closing trades.
Thanks for slope.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Wapen, an EMA, PSAR, Stoch EA

Post by SteveHopwood »

winsteadglenn wrote:Thanks, Steve. 1c drained my demo 10K to $56 in four hours. Still opening and closing trades.
Thanks for slope.
The only thing to do is close down the CloseOnStochCross thingy. This is allowing LUC to throw a party and I only have limited patience with this here. With Slope involved, it should be unnecessary anyhow.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Wapen, an EMA, PSAR, Stoch EA

Post by winsteadglenn »

Roger that. Thanks. Best Regards, Glenn :D :mrgreen:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Wapen, an EMA, PSAR, Stoch EA

Post by SteveHopwood »

V 1e is in post 1.

I decided to have a look and try to work out what was causing the instant closing of trades. Usual thingy - copy-paste bloop that was allowing short trades when main was on the wrong side of signal.

Running through a visual backtest, I noticed that the main line snakes around a lot. Signal is often triggering a trade just as main is about to cross back over signal. Have a play with the revised version and see if you can come up with a plan for dealing with this.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Wapen, an EMA, PSAR, Stoch EA

Post by winsteadglenn »

:D :D :mrgreen: :mrgreen: :D :D
You are very tenacious, my friend.
Will do.
Wapen suggested a 50% level, rather than the 70/30. Looks better to me, also.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Wapen, an EMA, PSAR, Stoch EA

Post by winsteadglenn »

:D :mrgreen: :D :mrgreen: It is playing the open and then close game again, so I turned off the close on stoch cross feature. Seemingly, it is making decisions based on the the signal stoch line, rather than the main stoch line. Perhaps that is not correct. Slope should work its magic here also. Thanks, Steve. G. :mrgreen: :D :mrgreen: :D
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Wapen, an EMA, PSAR, Stoch EA

Post by SteveHopwood »

winsteadglenn wrote::D :mrgreen: :D :mrgreen: It is playing the open and then close game again, so I turned off the close on stoch cross feature. Seemingly, it is making decisions based on the the signal stoch line, rather than the main stoch line. Perhaps that is not correct. Slope should work its magic here also. Thanks, Steve. G. :mrgreen: :D :mrgreen: :D
From Wapen's pm:
"The original system work as follow:
For a Buy opportunity the following conditions must be in place. Price must be above the EMA, pSAR must be below the price and Stochastic signal line must be above 70. The example above are at the EMA cross, but that’s not always the case as sum-times the pSAR and stochastic do not meet the criteria and it will wait for all to meet the criteria."

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Locked

Return to “Automated trading systems”