Navigator Trading System
Forums › ProRealTime English forum › ProOrder support › Navigator Trading System
- This topic has 151 replies, 37 voices, and was last updated 6 years ago by stockdemon.
-
-
04/18/2017 at 4:21 PM #3249504/18/2017 at 6:22 PM #3250004/18/2017 at 6:49 PM #3250204/19/2017 at 1:35 PM #32597
I have activated the strategy v2 on the 13 of april at 17.30 PM and so far it didnt open any position, but if I look at backtest starting from 12 of april I confirm I see 4 orders opened.
04/19/2017 at 2:29 PM #32611Hi Francesco
I was going to say check the Trades Log link below but this Thread don’t appear to be entering Trades.
It’s so useful as a central source to answer just the query you have now, but only if data is entered.
https://docs.google.com/spreadsheets/d/1KDmbbH_BZ8v5toEs661g535GJAXVD5kezXKNcmPSnIg/edit?usp=sharing
GraHal
04/19/2017 at 2:51 PM #32619Thank you GraHal
Will do.
Francesco
04/24/2017 at 9:57 AM #33135Navigator V1 sold 2 of 7 contracts with a nice profit of 721 Euro, the remaining position is 1.400 Euro in profit
04/24/2017 at 10:01 AM #3313804/24/2017 at 11:33 AM #3316504/24/2017 at 11:34 AM #3316604/25/2017 at 7:13 AM #33275This morning all remaining April long positions closed and all long trades made a profit of over 2.500 Euro! This little algo shows the advantage of average down algos, accumulate cheap and wait patiently until market recover but unfortunately risk is high when this expection doesn’t occur
04/25/2017 at 9:03 AM #3328404/25/2017 at 5:40 PM #3337105/01/2017 at 9:50 AM #3411405/04/2017 at 2:00 PM #34514Hi all,
I took a little look at this. (Thanks @Reiner for the idea.)
With regard to V2, it appears that the following lines can never run due to the conditions never being true in any case:
For the long side
1234ELSIF monthlyMultiplierLong <> 0 THEN // is never trueIF (COUNTOFPOSITION + positionSize) <= maxPositionSizeLong THENBUY positionSize CONTRACT AT MARKET // is never runENDIFAnd for the short side
1234ELSIF monthlyMultiplierShort <> 0 THEN // can never be trueIF (COUNTOFPOSITION + positionSize) <= maxPositionSizeShort THEN//SELLSHORT positionSize CONTRACT AT MARKET // is never runENDIFIf you comment out those lines you should notice no difference in the curve or final result of your back test.
I believe what the Reiner was trying to test for here is:
” If the larger position increment according to the monthly multiplier is too big to fit within the maxPositionSize headroom available then if the smallest (or starting) position increment were added to the total exposure in the maraket and that potential new exposure (sum of existing plus new smaller position) is less than or equal to the maximum allowed then add that smallest possible increment to our existing exposure. ”
These are lines 124 to 155.
The reason why that line would never execute is because it’s not possible for the alternative condition to be true as both are either true or untrue
1234// for the long situation monthlyMultiplierLong would always be above or equal to 0// so(monthlyMultiplierLong > 0) NOR (monthlyMultiplierLong <> 0) // would never be true// reverse for the short sideSo in order to make that line actually run (lines 132 and line 151) you’d need to re-write the logic section in one way or another; eg:
1234567IF monthlyMultiplierLong >= 2 THEN// ... try bigger position incrementELSIF monthlyMultiplierLong =1 THEN// ... try smaller position incrementENDIF// but of course this completely changes the equity curve so question as to whether you'd want it.Hope that helps. Happy back testing 🙂
Maz
ps will take a look at this a bit more
-
AuthorPosts
Find exclusive trading pro-tools on