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)
first : to futures.io (formerly BMT) with you first post here !
& to your topic :
i would have a look for TSsupertrend V2 or higher.
i thinks its arround here on futures.io (formerly BMT) - try the search upper right corner + choos "search for attachements"
or look in the downloadsection.
i remember there have been problems with strategy-functionality in the first one - so maybe thats what causes your problems too.
also have a look in the forum-trheads about SsuperTrend (via search) - there are more infos i think - because its no easy-to-use-indicator for strategys.
I had the same problem ..Try adding "TradingStudies.NinjaScript.Utility" to your using declarations....
BTW...can anyone show me how to"round to tick size" the indicator values in TSSupertrend...so that the indicator plots and values always show tick size increments...?
This is essentially my first strategy. It uses TSSuperTrend as an entry setup trigger and a trailing profit line. It was derived from dsraider's Advanced Sample Strategy and shares some of those traits.
The inputs are profit target ticks, initial stop …
I havent gotten around to looking at it yet, but I am familiar with the framework he started from, so I think its worth a look
Azzzz,
I played around with it and got it to work.
Add "TSSuperTrend.Utility" to the declarations as pgabriel hinted at. But not TradingStudies.NinjaScript.Utility.
Remove "TSSuperTrend.Utility" from the Add(...) statements and your if statements. That's the idea Trader.Jon was getting at. It should compile after that.
I attached the test file I was working with. Exported via 6.5.1000.16
I didn't realize a strategy existed for TSSuperTrend. I will check it out as well.
I had trouble with this download. Kept getting error message "Import failed. There are NinjaScript files in the imported . . . that have programming errors. . . ."
I tried to implement the suggestion in your post, but it was already that way in the code. I also downloaded your attached TSS_SuperTrendStrategyTest.zip, but got the same error message.
Also, searched for TSSupertrend v2.3 but did not come across it in futures.io (formerly BMT) site. My version is 2.4, but there may be some internal code differences.