Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I have a strategy that I am backtesting. When I backtest it, I get a chart with the prices and the entry and exit signals in it, but that's it. If I manually apply a template to the chart to add in the indicators I want to see it works, but once I run another backtest the indicators are gone again. Is there a way that I can have my indicators on the backtesting charts already loaded after the test is complete? Can I apply a template chart somehow in the strategy code? I don't want to duplicate all of the indicator painting code in my strategy.
BTW, I finally got my first profitable strategy up and running last night! +$13K on the Sept ES with 10 contracts 6/1 to 6/30, 43% winning trades. I was up until 5am tweaking it and the < 50% success ratio worried me. Sure enough, the next day I ran it for the June ES for the 3 months previous and it failed miserably, too many trades entering at the very end of a trend move. Now I'm tired and (virtually) broke for the rest of the day. Oh well!
I'm really not looking for any holy grail indicator/system, I just want to automate the decision-making process I go through when I trade myself, automate some of my discretionary thinking, detecting price and volume breakouts, recognizing S/R levels, filtering trades against other time-frames, etc. as well as some high probability contrarian strategies (after large, rapids moves, scalp the short-term reversal)
Once I get some more consistent results I'll post up my progress.
Can you help answer these questions from other members on NexusFi?
Two ways:
1) Don't use the Chart feature within Strategy Analyzer, instead apply the strategy to a normal chart (File - New Chart), right-click, Strategy, add.
or, 2) Add the lines in the #initialize section of your strategy to Add() the indicators. Read up on NT's on-line help about Add(), but basically it's:
Another way to do it is to use the wizard to create the Add() code for you.
Just start a new strategy with the wizard, skip to the conditions screen, and build a condition with the indicator you're interested in. There's an option in the indicator settings called "Plot on chart" - set this to true. Then all you need to do is click on the View Code button and copy/past the code from the Initialize section into your custom strategy and then cancel out of the wizard.
Good luck, and may your next strategy be a profitable one!