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 coded a simple strategy where I want to draw lines for a trailing stop.
Since I dont have any lines on the graph, I checked the print log. There it seems that even when I enter a long trade, the market position doesnt turn to 1.
Since I have a trailing stop, I suspect that the long trade is stopped out immediately, but even when I put the stop very large nothing shows up.
Whats wrong here? Hope you guys can help!
.... one more thing my wife mentioned regarding the setdollartrailing function: make sure to set 'Use Look-Inside-Bar Back-testing' in the Strategy Properties, otherwise your results will look too good to be true, and rightly so. We use 1 minute in our settings for our time-based charts.
Dear Vmodus, sorry for the late reply but this really helped!
Especially the advice about the look inside bar back testing, your wife is a tradestation coder too? That must be awesome both of you doing the same at home!