stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Close all at specified level?
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4279
Page 1 of 1
Author:  Spectre [ Tue Jun 02, 2015 6:33 pm ]
Post subject:  Close all at specified level?

Hello

How would you code this? I am looking to close all orders at a specified level. No matter how many orders are between the first price and close price, all should close at same price.

Example:
open initial order at price A,
set Close All at initial order price plus 50 pips (B) either way or both sides
Close All price plus minus x pips, Level B

Restart after order close
All times are UTC Page 1 of 1