NexusFi: Find Your Edge


Home Menu

 





Exit on friday - Backtest stops after first friday


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one gregid with 4 posts (6 thanks)
    2. looks_two cago with 4 posts (1 thanks)
    3. looks_3 rleplae with 2 posts (3 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,867 views
    2. thumb_up 10 thanks given
    3. group 3 followers
    1. forum 10 posts
    2. attach_file 1 attachments




 
Search this Thread

Exit on friday - Backtest stops after first friday

  #11 (permalink)
 
cago's Avatar
 cago 
Zurich, Switzerland
 
Experience: Beginner
Platform: NinjaTrader
Broker: iqfeed
Trading: Stocks, Forex
Posts: 8 since Oct 2011
Thanks Given: 25
Thanks Received: 41

OK guys, thank you so much aganin for your help!
It exits now on friday. But that function is triggered very rarely. So it doesn't really have an influence on the result.

Nevertheless, I attached this code for backtesting entries on their "percent profitable". For those who wanna use it.

-> For Forex, turn "exit on close" off and "exit on friday" on.
-> The entry rule is of course just an example.
-> "Bars since Entry" is there for the exit since we just wanna compare how good the entry rule is. If you have a similar result on several values (like exit after 2, 4 and 6 bars) thats a good sign.

Attached Files
Elite Membership required to download: EntryTest 3.cs
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
76 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
37 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
17 thanks




Last Updated on May 2, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts