Delete entry order

Moderator: admin

Re: Delete entry order

Postby sunshine » Wed May 02, 2012 1:33 am

Please make sure that you assign a valid limit value in this line:
Code: Select all
valuemap.Rate = limitValue;

The limit order must be above the current market price for long (buy positions) and below the current market price for short (sell) positions.

You can also add this line to check if the limit rate is valid (you will see the value in Marketscope ->Events -> Log):
Code: Select all
core.host:trace(limitValue);
sunshine
 

Previous

Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 47 guests