The backtest I found that SetProfitTarget does not spread, how to resolve this issue in FX markets?Thank you for your answer.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Spread
Collapse
X
-
Spread
Hi all,
The backtest I found that SetProfitTarget does not spread, how to resolve this issue in FX markets?Thank you for your answer.Tags: None
-
rastotrader, welcome to the forums! Correct this is expected for backtesting (using the bid price), in realtime forward testing you would see the current bid / ask used - just include then the spread as slippage in your backtesting settings to gauge system quality then.BertrandNinjaTrader Customer Service
-
Bertrand thank you for the welcome, your answer is not good for me. When I use the sleep, the result will be correct?. How then Set.Profit.Target kept in reeal market, profit calculated price plus profit, or net profit?
Comment
-
I understand that the sleep model before the backtest. I wonder how Set.Profit.Target actually works. Calculating the real difference between profit or Average.Price + ProfitTarget only.
Comment
-
Sorry I am still not quite following you. SetProfitTarget() works by adding to your average entry price whatever target amount you defined out. If you wanted a 10% target, you get 10% on top of your entry price. If you wanted 10 tick target, you get 10 ticks on top.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
94 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment