Looking for a kind soul to help out with existing script

Post Reply
User avatar
faze
Trader
Posts: 18
Joined: Thu Dec 08, 2011 11:19 pm

Looking for a kind soul to help out with existing script

Post by faze »

I am using these pending buy and sell scripts and hope that someone can help in the following:

If I have 5 buy trades going and price hits my pending sell stop level, close all of my current buys then take the sell trade.....just the opposite in the case of the sell trades.

Is this possible to do?? Any help would be greatly appreciated, I have been searching for days trying to find a combination of scripts/EAs to do this but so far nothing has been a success.
You do not have the required permissions to view the files attached to this post.
User avatar
faze
Trader
Posts: 18
Joined: Thu Dec 08, 2011 11:19 pm

Looking for a kind soul to help out with existing script

Post by faze »

Hello all, I am still searching and trying to find a solution. I did come across these scripts and wondering if they could be combined with the above scripts? So for example in the Pending Sell script, it would close all buy orders first then open the sell trade. :)
You do not have the required permissions to view the files attached to this post.
MrLong

Looking for a kind soul to help out with existing script

Post by MrLong »

Hello,

Try these, I've modifyed them, but not tested them.

Andy
You do not have the required permissions to view the files attached to this post.
User avatar
faze
Trader
Posts: 18
Joined: Thu Dec 08, 2011 11:19 pm

Looking for a kind soul to help out with existing script

Post by faze »

MrLong thanks very much for your time it is really appreciated. Your mods work but not quite what I am looking to do, as soon as you drag it onto a chart it closes the opposite trade right away before price hits it. I am certain this is not your fault, it is mine as scripts in my second post seem to be the problem. I will continue searching and testing :)
MrLong

Looking for a kind soul to help out with existing script

Post by MrLong »

faze » Mon May 25, 2015 1:08 pm wrote:MrLong thanks very much for your time it is really appreciated. Your mods work but not quite what I am looking to do, as soon as you drag it onto a chart it closes the opposite trade right away before price hits it. I am certain this is not your fault, it is mine as scripts in my second post seem to be the problem. I will continue searching and testing :)
A script only executes once, I assumed you have a visual sell level to drop the scrip at, in which case the script will close the buys and open a sell.

You won't find a script that will monitor when price hits a level and takes action, when you drop it it acts once.

You would need an EA to do that.
Andy
User avatar
faze
Trader
Posts: 18
Joined: Thu Dec 08, 2011 11:19 pm

Looking for a kind soul to help out with existing script

Post by faze »

Thanks Andy, that will point me in the right direction :)
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.

Looking for a kind soul to help out with existing script

Post by SteveHopwood »

faze » Mon May 25, 2015 2:48 pm wrote:Thanks Andy, that will point me in the right direction :)
You might have some difficulty if you do not know the difference between an ea and a script. You might care to spend some time at http://www.babypips.com/school A lot of the rest of us did in our early days and gleaned much useful information from the experience.

:xm:
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.
Post Reply

Return to “Coders Hangout”