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 bortz, 11-06-2023, 08:04 AM
|
47 responses
1,602 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
4 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
12 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment