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 just recently started using the PAS indicator, I must say it's amazing. I am using the DivergenceSignals in the PriceAcionSwingPro. I've set the Div indicator to Custom in the properties of now would like to use the DivergenceSignals in a strategy, by reading the past threads I understand this code should work, but I am not an expert and would be very thankful if anybody could tell me if this is correct:
I have a few questions:
- How do I know the strategy is refering to the Custom Divergence, rather than the MACD, or others?
- Whats the difference between a Regular Divergence Signal and a Regular Divergence Entry?
- Am I right in saying that the Divergence Signal re-prints, hence making it use in a systematic strategy?
first thanks for your impressive job. Do you think it would be possible to get a sample code snippet also for the ABC pattern and/or Divergences? This would really help.
#region Using declarations
...
using PriceActionSwing.Utility;
#endregion
#region Variables
...
private SwingMode pAS_SwingMode = SwingMode.Standard;
private int pAS_DtbStrength = 15;
private int pAS_Span = 8;
#endregion
protected override void Initialize()
{
…
// Add the indicator to the chart - not necessary
Add(PriceActionSwing(pAS_SwingMode, pAS_DtbStrength, pAS_Span));
}
protected override void OnBarUpdate()
{
…
// If the last high and low was higher high and higher low and a short sma cross above the long sma enter long
if (PriceActionSwing(pAS_SwingMode, pAS_DtbStrength, pAS_Span).PriceSwingRelation[0] == 1 && CrossAbove(SMA(3), SMA(7), 1))
(
EnterLong(DefaultQuantity, "");
)
...
}
#region Properties
[Category("Parameters")]
public SwingMode PAS_SwingMode
{
get { return pAS_SwingMode; }
set { pAS_SwingMode = value; }
}
[Category("Parameters")]
public int PAS_DtbStrength
{
get { return pAS_DtbStrength; }
set { pAS_DtbStrength = Math.Max(1, value); }
}
[Category("Parameters")]
public int PAS_Span
{
get { return pAS_Span; }
set { pAS_Span = Math.Max(1, value); }
}
#endregion
For the 1 in "PriceSwingRelation[0] == 1" you can set the following values
-2 for double top
-1 for lower high and lower low
0 nothing
1 for higher high and higher low
2 for double bottom
Hope this helps.
Hi there,
would anybody know why when using this code I get the following error:
SwingMode could not be found in the Initialize() field
I'm a Elite member would you mind share with me where is this indicator.
please reply back to me as soon as you have a chance.
Looking forward to your reply
Thanks
Mendes
dorschden
I uploaded a new version in the download section with Fibonacci retracements, Fibonacci extensions and an visual entry area for the AB=CD pattern.
With NinjaTrader 7 it's easy to set draw objects in the future and with this feature it's possible to visualize the AB=CD pattern in a better way. But for now the Fibonacci tools must reach.
I'm not an elite member. When I should add some stuff to PriceActionSwing write this in this thread and I'll see what I can do. Otherwise you can use my code (many comments, I think easy to read) and add some snippets in the other swing indicator.
For my trading style a good swing indicator is essential. Because I often trade price pattern. Next step is to automate the pattern recognition.
I also create a strategy that trades double bottoms/tops with this indicator. As entry trigger you can use almost everthiny: a stochastic cross, MA cross, 3 bar reversal,... the stop is 2 ticks below the double bottom and profit target is the last swing high or let it run with an atr stop, PSAR, TSSuperTrend. Short vice versa. The results are good, but not extraordinary.
The Market Analyzer's template is in XML format. I am wondering how to open it or how to setup in the market analyzer. Also, I am looking for more applications setup in Market Analyzer. Please help! Thanks a lot!