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)
UPDATE: This comment is about the PriceActionSwing indicator, I suspect if the oscillator is based upon it, the same would apply but I am not sure.
As much as this indicator looks like a great core for a strategy, you need to understand there is re-painting that goes on under the hood. That is, as your strategy is processing bars, this indicator is change prior bars (which your strategy will miss). I use this indicator for training of Machine Learning concepts as I am training off-line and the re-painting doesn't affect me that much.
If you can describe what you want to do, I might be able to tell you if it is possible from what I know about this indicator.
Thanks, that may be the case for the oscillator, but the non-oscillator definitely moves the last swing point as time progresses. Not sure if the oscillator uses this information or not.
Thanks for your thinking about. I think the oscillator exactly shows the trends in the way the dow theory is teaching it (or in Germany we have a well known trader (Michael Voigt) who is teaching all aspects market technics in this "dow" way). The market technic followers teach to watch the middle trend if you trade the small trend (e.g. 10min if you trade Tick or to watch 60min if you trade the 10 min time frame).
Back to my question. It would be fantastic if I could put the red or green oscillator bar into a strategie as a basic rule alowing only long or short automated trades on a smaller timeframe. It is possible to put it in the market analyzer but I didn´t find any way how to put it in a strategy.
Of course I respect the problems about repainting. This is the same to discretional trading, often the situation changes in seconds with new bars suddenly and the only way to handle this is to take the loose or to take to a reentry if stopped out by unexpected events, e.g. market corralations. I knows that there are not only speculators, but there are fundamental, abitrage traders and hedgers at the 4side trading desk, too ))
Does anyone a way to take the main trend out of the trend oscillator?
It´s not only to have it more simple, also, in my opinion, it´s the only possibility to trade a bigger quantity of equieties if you automate it a litte bit so of yourse it would be really great to automate the pushing up a stop to the next Swing level (bottom) if market creates a new high. I cannot mention it often enough, this indicator seems to be fantastic.
The PAS indicator is a real time indicator. I doesn't repaint, but of course it updates the swing values every time the swing gets higher or lower. And if a swing high moves from a lower high to a higher high the plot dot colour will change to the HH colour.
The only thing that is re-painting is the PasOsc volume part. Because every time we get a new bar that doesn't make a new swing high/low we don't know whether this bar belongs to the current swing or to the next swing that will come in the future. To highlight this situation the PasOsc volume draws the volume histogram according to the current swing direction and the plot line draws the volume to what the swing volume will change if the bars belong to the next swing which will change the swing direction.
The PasOsc trend will not re-paint. To see how it is used in a strategy you can look at the code in this post. To use it in a multi-time frame environment add another bar series and check in this bar series (barsInProgress == x) for the PasOsc swingTrend[0] == -1/0/1.
I came across a solution myself and created a custom indicator which will do the job for me. I will share it for anyone who likes it. It works with this code:
It is important to change the standard setting for calculateonbarclose to False in PriceActionSwingOscilator.cs otherwise it will not work on the current bar in progress.
This indicator shows in the MA if the current bar is a DT,HH,DB,etc. For me this is helpful on the daily charts.
I have been modifying this amazing indicator to fit my personal style.
* added a custom indicator (RValueChart)
* added sound alerts for divergence signals
These settings gives me very good signals with a filter for long and short trades.
Now my next step is to create a strategy and add the divergence part plus one other filter I have found which is very very powerful which I use in my discretionary trading today.
I need help to create the strategy. Is there anyone who can help me who has good skills in NinjaScript/C++?
Please find attached modified indicator with RValueChart indie included I also add the sound files which you have to put inside there
C:\Program Files (x86)\NinjaTrader 7\sounds
If you already have PriceActionSwingPro installed you have to rename the file and replace the filename inside the script as well.
"insanity is doing the same thing over and over again and expecting different results." - Albert Einstein
Hi, a few questions: what is Rvalue? Can you post a chart example? Do we have to delete the PriceActionPro and install your version? Did you get the GOM CD to work as a divergence indicator option within the PriceACtionPro?...Thanks.
Thanks for posting that and continuing to support the thread. One thing I've never succeeded is to get PAS working in a strategy despite all of the snippets of various code posted here in the forum by you and other people. For example, these are key items I'd like to reference in a separate strategy and any additional "hand holding" would be appreciated.
I'm not looking to take the whole PAS indicator and put it into a strategy but extract the key parts above. The closest thing I've got so far is the SwinTrendX1 indicator written by another member (please see attached) and I've been trying to modify it for months unsuccessfully. I've never been able to get the arrows to appear historically on the chart. In fact now I cannot get the arrows to appear at all. In addition, is it possible to reference curLowBar and trendDir?