c1borg » Tue Nov 27, 2018 3:19 pm wrote:My question may be stupid as I have brain freeze atm

I want to make Desky place pending orders 20 pips from the market in both buy and sell trades so the guide says....
So in the settings
I have options :-
- Buy Stop
Buy Limit
Buy Stop and Buy Limit
Sell Stop
Sell Limit
Sell Stop and Sell Limit
wouldnt I need to set a pending order buy or sell 20 pips from the current price
Buy Stop and Sell Stop?
Any help appreciated

Looks like I invented another new word - "imDeskysible".
Do you mean that you want, say, to send a buy stop and a sell stop on the same pair as near to simultaneously as possible? If so, this is not currently possible.
You can seen from the code that the enum in infinitely expandable e.g.
Code: Select all
{
Buy_stop,
Buy_limit,
Buy_stop_and_buy_limit,
Sell_Stop,
Sell_limit,
Sell_stop_and_sell_limit,
Buy_stop_and_sell_stop
};
Then all that is needed is to add code to work with the extra choices.
Would you like this?

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.