Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.
Useful 10.x thingies by Steve and Others
- 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: Useful 10.4 thingies by Steve and Others
I have added a new script for sending trades on the H1 chart.
Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.

Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.
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.
-
sponn
- Trader
- Posts: 348
- Joined: Fri Jul 20, 2012 9:49 am
Re: Useful 10.4 thingies by Steve and Others
Many thx for your hard work Steve... Do you think it will be possible to add something like thisSteveHopwood wrote:I have added a new script for sending trades on the H1 chart.
Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.
If you chose TP on 2nd line then script will place only one order on the nearest line
If you chose TP on 3rd line then script will place two orders (one on the nearest line, and one on the next one - 2nd)
and so on....
Not sure if it is possible but would be great helper.
Again many thx.
- 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: Useful 10.4 thingies by Steve and Others
Most things are possible once the code is in place to identify the pivots. Which reminds me of something I meant to add to my previous post. I am not 100% certain the D1 pivot calculation code is correct, so take great care to note where a trade is placed if using the script on a live account. The various levels might need adjusting.sponn wrote:Many thx for your hard work Steve... Do you think it will be possible to add something like thisSteveHopwood wrote:I have added a new script for sending trades on the H1 chart.
Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.
If you chose TP on 2nd line then script will place only one order on the nearest line
If you chose TP on 3rd line then script will place two orders (one on the nearest line, and one on the next one - 2nd)
and so on....
Not sure if it is possible but would be great helper.
Again many thx.
Moving on, what do we need?
Do we need a script that will send pending trades up to x levels in advance? This is uncomplicated, because once run a script is done and will not continue to do its stuff when not required.
Or do we need an ea that does all this when dragged onto a chart, then monitors everything, then closes down unwanted stuff at a certain time etc? This presents the problem that an EA will continue to do its thingy as long as it is loaded.
Both approaches have the problems from the perspective of marrying the demands of the user with the ability of the coder to match said demands.
Further thoughts, guys?
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.
- aworex
- Trader
- Posts: 68
- Joined: Thu Sep 20, 2012 2:42 pm
- Location: London UK
Re: Useful 10.4 thingies by Steve and Others
Many thanks for these scripts, it will make trading very easy and now with the additional features of Empty4 release 500 which enables draging entries, SL and TP 's adding multiples levels will be easy peasy

-
thelearner
- Trader
- Posts: 114
- Joined: Tue Sep 11, 2012 9:35 am
Re: Useful 10.4 thingies by Steve and Others
SteveHopwood wrote:I have added a new script for sending trades on the H1 chart.
Even if you have been using the original version of the script, as I have, it is worth replacing it with the updated version. I found a couple of code bloops whilst adapting the H4 version to H1 use, which always caused a pending buy to be sent a pivot too high.
thanks for listeningggg steve
Yes I had trouble with the old one sent pending a pivot higher.
You are awesome
-
thelearner
- Trader
- Posts: 114
- Joined: Tue Sep 11, 2012 9:35 am
Re: Useful 10.4 thingies by Steve and Others
tried out the new script, it still sent the pending 1 levels below/above instead the nearest SR line. Is it because it ignores midline? Same thing with H4 script always skip one nearest level....
I would really like it if it has options to put 2-3 levels pendings and then set the same TP for all of those. As per SL we can still use the ITM function to manage it once the stops hit. But of course only if you don;t find this request annoying. I will just manually set stops until the script is correct.
regards
I would really like it if it has options to put 2-3 levels pendings and then set the same TP for all of those. As per SL we can still use the ITM function to manage it once the stops hit. But of course only if you don;t find this request annoying. I will just manually set stops until the script is correct.
regards
You do not have the required permissions to view the files attached to this post.
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Useful 10.4 thingies by Steve and Others
I remember I read somewhere in the forum that some members use an EA or script to close all open trades and pending trades when the open basket profit reaches a certain amount or percentage of the account balance.
I would appreciate very much if someone can direct me where to find them. Thanks !
I would appreciate very much if someone can direct me where to find them. Thanks !
-
jlcgarcia
Re: Useful 10.4 thingies by Steve and Others
kwchau wrote:I remember I read somewhere in the forum that some members use an EA or script to close all open trades and pending trades when the open basket profit reaches a certain amount or percentage of the account balance.
I would appreciate very much if someone can direct me where to find them. Thanks !
Hello kwchau,
here there are two Eas. Please, analyze how they operate, before going live.
Regards
José Luis
You do not have the required permissions to view the files attached to this post.
- bernard
- Trader
- Posts: 99
- Joined: Tue Jan 10, 2012 1:10 pm
- Location: Moers - Germany
Re: Useful 10.4 thingies by Steve and Others
I am attaching my favorite script. Hope you can use it.kwchau wrote:I remember I read somewhere in the forum that some members use an EA or script to close all open trades and pending trades when the open basket profit reaches a certain amount or percentage of the account balance.
I would appreciate very much if someone can direct me where to find them. Thanks !
When you drag it on a chart it asks two questions:
average profit/trade
average loss/trade
when either reached, the script closes all trades, including the pendings.
If you have 7 trades open and you are happy to close all trades if a total profit if $210 is reached, so your average profit/trade is $30
Respectively, if you want to close all those 7 trades if you go $105 in red, then your average loss per trade is $15
Whenever I leave my desk, I make sure that it is running.
HTH
Bernard
You do not have the required permissions to view the files attached to this post.
1- Give me 10 pips a day and I build an Empire. 2- Have never seen any individual to get rich throu Forex. 3- Conclusion?
-
kwchau
- Trader
- Posts: 305
- Joined: Tue Jan 03, 2012 3:37 pm
Re: Useful 10.4 thingies by Steve and Others
Thank you to both Jose and Bernard, I'll test it out !