Script open trade

 

Hello,

I wish knowledge if there is a script which allows the opening of an order right by it making slip on the diagram of the currency concerned ?

The idea is still better if this script makes it possible to put TP + TS and SL the preset .

Same manner, a script to close all the orders in court of same currencies, by slipping it above.

 

Hello,

Does nobody have response for this idea ?

 
BrunoFX:
Hello,

I wish knowledge if there is a script which allows the opening of an order right by it making slip on the diagram of the currency concerned ?

The idea is still better if this script makes it possible to put TP + TS and SL the preset .

Same manner, a script to close all the orders in court of same currencies, by slipping it above.

BrunoFX,

Could you explain more?

 

Hi,

I think these two script attached are the ones that Bruno is asking for.

They were created by beerhunter of this forum and I was using them for a while before the new MT4 build.

Unfortunately since build 191 they don't work anymore.

Can someone take a look at it?

Thanks

Sada

Files:
buy_now.mq4  2 kb
sell_now.mq4  2 kb
 

I ran them on build191 and they worked ok, with correct sl & tp

Files:
buysell.jpg  112 kb
 

I've tried to run them on build 193 and it didn't work... ;(

 

I was able to make these scripts work by enabling 'Allow live trading' option.

Tools -> Options -> Expert Advisors -> Allow live trading

Aki

Reason: