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

protected override void OnBarUpdate()
{
AtmStrategyChangeEntryOrder(GetCurrentBid(), 0, "orderIdValue");
}