One slight problem with Bob's template is that it masks the chart feedback that my bots presents - it is possible to miss the fact that there is an EA on the chart. I have restored some of the usual Empty4 chart display values. There is a downside to that because elements of the irrelevant grid show, but there is nothing I can do about it.
Is it possible to have the EA print to screen "EA ON" ???
Steve's 10.6 EA manual trading aids
- nanningbob
- Trader
- Posts: 4564
- Joined: Sun Dec 04, 2011 1:23 pm
Re: Steve's 10.6 EA manual trading aids
I trade http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3964,
I talk about my philosophy of trading here.
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3627
"The key to converting something useful to others is simplicity. Complexity is the enemy to execution." Tony Robbins
I talk about my philosophy of trading here.
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3627
"The key to converting something useful to others is simplicity. Complexity is the enemy to execution." Tony Robbins
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Steve's 10.6 EA manual trading aids
Thanks Steve, it will be a great help to our trading !SteveHopwood wrote:I have done some work on the Stochastic versions.
Flexible: added the feature to operate only at the open of a new candle - EveryTickMode defaults to true and makes the ea operate as originally coded: DisableAfterTradeClose tells the ea to disable itself when the trade closes - setting this to 'false' allows the ea to enter a new trade if the conditions arise.
The versions in the zip. I am concerned about those instances of multiple trades but cannot see what is wrong. This is industrial strength code that we have been using for a few years without a hitch. I have added code to disable the ea as soon as it has attempted to send a trade. We will miss the trade if the order-send fails, but this is better than waking up to a blown account.
Post 1 as usual.
-
95026862
Re: Steve's 10.6 EA manual trading aids
SteveHopwood wrote:I have done some work on the Stochastic versions.
Flexible: added the feature to operate only at the open of a new candle - EveryTickMode defaults to true and makes the ea operate as originally coded: DisableAfterTradeClose tells the ea to disable itself when the trade closes - setting this to 'false' allows the ea to enter a new trade if the conditions arise.
The versions in the zip. I am concerned about those instances of multiple trades but cannot see what is wrong. This is industrial strength code that we have been using for a few years without a hitch. I have added code to disable the ea as soon as it has attempted to send a trade. We will miss the trade if the order-send fails, but this is better than waking up to a blown account.
Post 1 as usual.
this is perfect, since STO7 can move up and back down before the close of the candle
- 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: Steve's 10.6 EA manual trading aids
Yes, but I want the feedback.nanningbob wrote: One slight problem with Bob's template is that it masks the chart feedback that my bots presents - it is possible to miss the fact that there is an EA on the chart. I have restored some of the usual Empty4 chart display values. There is a downside to that because elements of the irrelevant grid show, but there is nothing I can do about it.
Is it possible to have the EA print to screen "EA ON" ???
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.
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.
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Steve's 10.6 EA manual trading aids
I'm testing the new flexible stoch EAs on Global Prime, I've set the parameters IsGlobalPrimeOrECNCriminal to True and got the following error message when the EA tried to part close the trade. Don't know the reason. Is it because the market is moving too fast ? This happened right after the NFP release.
2013.12.06 21:30:12 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 681201 CloseTrade() order close failed with error 3: invalid trade parameters
2013.12.06 21:30:12 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Alert: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 681201 CloseTrade() order close failed with error 3: invalid trade parameters
2013.12.06 20:18:50 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 678565 PartCloseTrade() part close failed with error 4108: invalid ticket
2013.12.06 20:18:50 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Alert: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 678565 PartCloseTrade() part close failed with error 4108: invalid ticket
2013.12.06 21:30:12 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 681201 CloseTrade() order close failed with error 3: invalid trade parameters
2013.12.06 21:30:12 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Alert: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 681201 CloseTrade() order close failed with error 3: invalid trade parameters
2013.12.06 20:18:50 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 678565 PartCloseTrade() part close failed with error 4108: invalid ticket
2013.12.06 20:18:50 Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell USDCHF,H1: Alert: Steves 10.6 trading aid EA 1.1 - TF 60 Stochastic sell 678565 PartCloseTrade() part close failed with error 4108: invalid ticket
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Steve's 10.6 EA manual trading aids
Hi Steve, the amended EA works as intended. Thank you for your kind works.SteveHopwood wrote:I have done some work on the Stochastic versions.
Flexible: added the feature to operate only at the open of a new candle - EveryTickMode defaults to true and makes the ea operate as originally coded: DisableAfterTradeClose tells the ea to disable itself when the trade closes - setting this to 'false' allows the ea to enter a new trade if the conditions arise.
The versions in the zip. I am concerned about those instances of multiple trades but cannot see what is wrong. This is industrial strength code that we have been using for a few years without a hitch. I have added code to disable the ea as soon as it has attempted to send a trade. We will miss the trade if the order-send fails, but this is better than waking up to a blown account.
Post 1 as usual.
However, there are still many instances that the trade was triggered at open because it crosses the threshold at the open, then retrace during the bar and continue with the original trend, in other words, the trade is still too early. Could you change it to operate at the close, so order is sent only when the threshold is crossed at the close.
I hope this is not too complicated.
Thanks,
kwchau
- 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: Steve's 10.6 EA manual trading aids
No. There is no way of knowing when a candle is about to close, so we have to use the open of the new one to know when the previous one closed.kwchau wrote:Hi Steve, the amended EA works as intended. Thank you for your kind works.SteveHopwood wrote:I have done some work on the Stochastic versions.
Flexible: added the feature to operate only at the open of a new candle - EveryTickMode defaults to true and makes the ea operate as originally coded: DisableAfterTradeClose tells the ea to disable itself when the trade closes - setting this to 'false' allows the ea to enter a new trade if the conditions arise.
The versions in the zip. I am concerned about those instances of multiple trades but cannot see what is wrong. This is industrial strength code that we have been using for a few years without a hitch. I have added code to disable the ea as soon as it has attempted to send a trade. We will miss the trade if the order-send fails, but this is better than waking up to a blown account.
Post 1 as usual.
However, there are still many instances that the trade was triggered at open because it crosses the threshold at the open, then retrace during the bar and continue with the original trend, in other words, the trade is still too early. Could you change it to operate at the close, so order is sent only when the threshold is crossed at the close.
I hope this is not too complicated.
Thanks,
kwchau
Whenever you time the trade doesn't matter a hoot. If you have the same level for,s, a buy and both open above and close below are the same, then you are going to get whipsawed into penury. Nothing I can do about that.
Or have I misunderstood you?
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.
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.
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Steve's 10.6 EA manual trading aids
Yeah, you may be right. Could it be coded like this? Assume it is a down trend, on a H1 chart, stoch crossed below 90 at open. we treat this as a potential short set up, Wait for 15 minutes,then short trade will be triggered if and only if stoch is still below 90. If stoch has returned above 90, the set up is canceled and no trade is triggered. Vice versa for a buy set up.SteveHopwood wrote:No. There is no way of knowing when a candle is about to close, so we have to use the open of the new one to know when the previous one closed.kwchau wrote:Hi Steve, the amended EA works as intended. Thank you for your kind works.SteveHopwood wrote:I have done some work on the Stochastic versions.
Flexible: added the feature to operate only at the open of a new candle - EveryTickMode defaults to true and makes the ea operate as originally coded: DisableAfterTradeClose tells the ea to disable itself when the trade closes - setting this to 'false' allows the ea to enter a new trade if the conditions arise.
The versions in the zip. I am concerned about those instances of multiple trades but cannot see what is wrong. This is industrial strength code that we have been using for a few years without a hitch. I have added code to disable the ea as soon as it has attempted to send a trade. We will miss the trade if the order-send fails, but this is better than waking up to a blown account.
Post 1 as usual.
However, there are still many instances that the trade was triggered at open because it crosses the threshold at the open, then retrace during the bar and continue with the original trend, in other words, the trade is still too early. Could you change it to operate at the close, so order is sent only when the threshold is crossed at the close.
I hope this is not too complicated.
Thanks,
kwchau
Whenever you time the trade doesn't matter a hoot. If you have the same level for,s, a buy and both open above and close below are the same, then you are going to get whipsawed into penury. Nothing I can do about that.
Or have I misunderstood you?
It may be more appropriate to use a longer waiting period on a H4 chart.
In this way, we could avoid some of the whipsaw but also not too far into the reverse trend to trigger the trade if the set up is right.
Does this make sense? Or is it possible to code?
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Steve's 10.6 EA manual trading aids
This is something I like to avoid. In the enclosed chart, a long trade was triggered at the open of the aqua vertical line, almost immediately, price dropped like a rock because of the whipsaw of the NFP release. If we gave it 15 minutes, the trade would not be triggered. I have noted a few occasions of this situation although the fluctuations were not that profound.
You do not have the required permissions to view the files attached to this post.
- 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: Steve's 10.6 EA manual trading aids
I am stopping this now. This looks suspiciously like me chasing the latest whim you want me to code. That whim could be diametrically opposed to the whim you expressed 5 minutes ago. I do not play that game.kwchau wrote:This is something I like to avoid. In the enclosed chart, a long trade was triggered at the open of the aqua vertical line, almost immediately, price dropped like a rock because of the whipsaw of the NFP release. If we gave it 15 minutes, the trade would not be triggered. I have noted a few occasions of this situation although the fluctuations were not that profound.
I have offered up some pretty useful stuff up here already. Use it or not as you please. I am adding nothing further unless it is to advance the cause of the ea's I have placed in the zip file.
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.
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.