The PRICE statement is used in both SET STOP and SET TARGET, to set respectively the stoploss or takeprofit at a defined price level.

Case of stoploss at price X:

Allows you to place a stop at a price X defined directly by the user and not in relation to the entry price of the position.

syntax:

Where X is the price level of the stoploss.

Case of takeprofit at price X:

Allows you to set a profit limit at a price X defined directly by the user and not in relation to the entry price of the position.

syntax:

Where X is the price level of the takeprofit.

 

Related entries

Share this