Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]

For any number of placed market and pending orders, the “breakeven level” is calculated – the weighted average price. The calculation is carried out separately for buy orders and sell orders. The weighted average price is marked with a label and a segment of a colored horizontal line also separately – one line for the buy price, the other for the sell price.

  • Include pending. Whether to include pending orders in the calculation. By default, the value of this field is false and the breakeven level is calculated only for market orders. For netting accounts, using this script makes sense only if you set this field to true. Any value is suitable for hedge accounts.
  • BuyColor. The color of the placemark and horizontal segment for buy orders. The default color is blue.
  • SellColor. The color of the placemark and horizontal segment for sell orders. The default color is red.
  • LineWidth. The thickness of the lines and the value of the price tag. By default, the value of this field is two (2).
  • LineStyle. Line style. By default, this is a normal line with no breaks.
Add review
Reviews ( 0 ):