If you cannot determine the trade direction and want to trust the occasion - this script is for you! With this script, you can open a position in random direction within the specified range. Script options are the type of market orders (buy, sell), the possibility to create pending orders (buy limit, sell limit, buy stop, sell stop), the level of pending orders in points, the highest possible order volume, the maximum deviation from the market.
The script also calculates and displays the request execution time of a new order.
bBuySellOrders = true Parameter that regulates the possibility to open a market order (buy, sell).
bPendingOrders = true Parameter that regulates the possibility to open a pending order (buy limit, sell limit, buy stop, sell stop).
dLotMax = 0.1 Maximum order volume, the upper limit (minimum limit – minimum available order volume).
nSlippage = 3 Maximum available price deviation for market orders (buy and sell).
nPendPriceShiftMin = 20 Minumum limit of deviation from the current price for determination of a random pending order open price.
nPendPriceShiftMax = 100 Maximmum limit of deviation from the current price for determination of random pending order open price.
Do you have any suggestions to make our website better? Have you noticed an error on the site? Tell us