AtmStrategyChangeEntryOrder()

View as Markdown

Definition

Changes the price of the specified entry order.

Method Return Value

Returns true if the specified order was found; otherwise false.

Syntax

AtmStrategyChangeEntryOrder(double limitPrice, double stopPrice, string orderId)

Parameters

ParameterDescription
limitPriceOrder limit price
stopPriceOrder stop price
orderIdThe unique identifier for the entry order

Examples

1protected override void OnBarUpdate()
2{
3 AtmStrategyChangeEntryOrder(GetCurrentBid(), 0, "orderIdValue");
4}