Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem with Order Price
Collapse
X
-
Problem with Order Price
I have an automated strategy that is trading some currency pairs, and am running into an issue where the price generated by the strategy is invalid - basically the price does not meet the right step size for the broker. In other words, the price should be 105.545, and is getting rejected with a price of 105.544 (not a .005 increment). Is there an easy way to set this?Tags: None
-
Ok, now i have set the settings from 1pip to half pip like in the connection guide.
But now i have a new problem. If i run a backtest with my strategy i can see that the stops are not calculatet correct.
I use SetStopLooss.
SetStopLoss("ForexC", CalculationMode.Ticks,Instrument.MasterInstrument. Round2TickSize(35), false);
What could be the problem? If i user 1pip in the settings, it calculates correct.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 03:54 AM
|
5 responses
32 views
0 likes
|
Last Post Today, 11:29 AM | ||
Started by stafe, 04-15-2024, 08:34 PM
|
7 responses
32 views
0 likes
|
Last Post Today, 11:19 AM | ||
Started by merzo, 06-25-2023, 02:19 AM
|
10 responses
823 views
1 like
|
Last Post Today, 10:38 AM | ||
Started by frankthearm, Today, 09:08 AM
|
5 responses
20 views
0 likes
|
Last Post Today, 10:19 AM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
43 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
Comment