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 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.
Last edited by resist; November 29th, 2012 at 10:46 AM.
The following user says Thank You to resist for this post:
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 == -1/0/1.
The following 8 users say Thank You to dorschden for this post:
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.
Last edited by SuperSaan; November 29th, 2012 at 12:29 PM.
The following user says Thank You to SuperSaan for this post:
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.
The following user says Thank You to Nowshad for this post:
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?