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 WHICKED, 03-27-2024, 12:33 PM
|
4 responses
41 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
3 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
5 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
||
Started by proptradingshop, 03-21-2024, 09:50 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 12:02 AM | ||
Started by mly916, Yesterday, 09:48 PM
|
1 response
12 views
0 likes
|
Last Post Yesterday, 11:54 PM |
Comment