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've been using Rising() in some scripts and get false signals when you eyeball the chart. Perhaps the indicator is indeed rising but by a very small amount. Do any of you use Slope()?
Specifically I've been playing with something like this (not the real code);
80% of the time it does what I want it to, but 20% of the time I'm getting trades triggered in what the chart says is "neutral" territory.
I'm also scratching my head with TSSupertrend in a strategy... I tried the Rising() and Falling () commands with TSSupertrend thinking what was rising, falling, or flat were the red and green dash lines above and below the price candles... but that does not seem to be the case. I've looked at the code for that indicator and can't figure it out.
Basically what I've been working on a strategy with a set of conditions as follows;
If ADXVMA says go long (blue and rising compared to last bar) 80% there!
If TSSupertrend says go long (green and rising compared to last bar) Not even in the ball park
If ATRRatio says its OK to trade. Easy!
Then go long
I'm not looking for someone to do it for me... but any pointers would be appreciated!
Wrong. Seems it still enters trades it shouldn't. For example, it just went long on FESX even though the price (close) was well below the red line drawn by TSSupertrend... which should have not allowed a long entry. Any ideas what condition I can use from TSSupertrend in a strategy?
zeller4 - I was looking for an Uptrend=True argument with that code... which has since been replaced. I think that arugument is part of what I'm still looking for. So if the green and red lines from TSSupertrend represent UpTrend/DownTrend, then the condition I am trying to create is if UpTrend and Close > Uptrend, go long. If DownTrend and Close < DownTrend, go short.
Its a rehash of Mike's Synergy thing... basically get a bunch of indicators in agreement before entering a position.
Is where I am now. The ATRRatio, ADXVMA, and ECO2 seek to be working (though I get the odd misfire on ADXVMA as mentioned), but the TSSupertrend condition is still problematic.
you should use " TSSuperTrend(14, TradingStudies.NinjaScript.Utility.MovingAverageTy pe.SMA, 2.618, 14, TradingStudies.NinjaScript.Utility.SuperTrendMode. ATR).Trend[0] == true" in order to look for long conditions