I was wondering if I can somehow use the price picker function of ForexTester?
Here is what I want to achieve:
Developing 2 scripts (Sell and Buy version). I want to modify all opened orders stoplimit at once to a price, lets call this varNewSLPrice variable.
I was hoping that I can use the Price Picker to get the SL from the chart itself.
Algorithm would look like this:
MoveAllSellStopLimit.dll
Code: Select all
double varNewSLPrice;
varNewSLPrice = PricePickerFunction();
foreach ( OpenOrders() ) {
if (Order[i].type == SELL) {
// Modifying all Sell order's stoplimit tp "varNewSLPrice"
}
}
Same goes for the Buy side.
My question is:
Can I call the PricePicker function and use it somehow please? I couldn't find any trace of it unfortunately.
Price Picker screenshot here:
Thanks in advance.