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 think I found the problem from my previous post. Data Series / Input Series are not working with indicator value.
In the screenshot I took you can see that in Properties Input Series are the MACD, but on the chart legend there are still …
Can you help answer these questions from other members on NexusFi?
when the swing type is set to Ticks, and use close values to calculate the swing, is it possible to use the latest close (if more than one close happens to be on the same price. Please refer to pic. If it can be done i guess it could be done in PriceActionSwingBase.cs.
// CalculatOnBarClose == false
else
{
// Used to control, that only one swing is set for
// each bar
if (FirstTickOfBar)
swingCur.NewSwing = 0;
// No swing or an up swing is found
if (swingCur.NewSwing != -1)
{
// test if Highs[BarsInProgress][0] is higher than the last
// calculationSize highs = new swing high
//Sudhir
if (swingHigh.New)
{
if (highs[BarsInProgress][0] <
(swingLow.CurPrice + swingProp.SwingSize * TickSize))
swingHigh.New = false;
// Found a swing high
if (swingHigh.New)
swingCur.NewSwing = 1;
}
}
// No swing or an down swing is found
if (swingCur.NewSwing != 1)
{
// test if Lows[BarsInProgress][0] is lower than the last
// calculationSize lows = new swing low
if (swingLow.New)
{
if (lows[BarsInProgress][0] >
(swingHigh.CurPrice - swingProp.SwingSize * TickSize))
swingLow.New = false;
// Found a swing low
if (swingLow.New)
swingCur.NewSwing = -1;
}
}
thank you so much for this wonderful add on. I do notice you don't have any dots or lines of pas. How do you get rid of them? I always make the color transparent in order to get rid of size/line etc but is there way that it doesn't print? Thank you. Perhaps share the template for the pas?
I also noticed swing strength less than 7 won't print ABC.
Thank you but I thought you were using nt8. NT8 splots zigzag eventhough you put dots as output. I guess it's nt8 version that is not working properly as far as the prints.
Is there a bug in the NT8 version of the PriceActionSwingOscillator?
I cant seem to get it to draw the waves correct when Swing type is set to tick.
It seems it still draws the waves from the Standard swing type.
PriceActionSwingPro for NT 8 is a wonderful tool I have been searching for for a long time and now that I have it, I am looking to use it in a larger strategy.
I am very new to C# as you'll see, however, I am motivated to learn this, and I apologize if my question seems elementary but if anyone can help, I'd sure appreciate it!
I am just really not sure if my logic is flawed from a logical standpoint or I just missed a comma or something stupid. It just seems I am only missing one thing - the # of arguments/properties when referencing this indicator.
I have gone through each post in this thread and I found some examples (Thanks to all who shared their code!) but I can't seem to Find a way to make it work in my code.
I am playing around with breaking up the usability of this indicator into sections, so I can custom handle each component separately. So I am looking to create a dataseries for each part.
For example: I would create a new dataseries for each DT, DB, ABC pattern, and each FibRetrace on Each swing.
so i did the following: (just going to use DT for now, because once I get this, I will get all the others)
These are the steps I took exactly:
1) added "using PriceActionSwing.Base" to using declarations area.
2) created a new series in variables section: private Series<double> dT; //for finding the doubletops.
3) copied the 4 necessary arguments from the Properties ->Parameters: PriceActionSwing.Base file (SwingType, SwingSize, DtbStrength, UseCloseValues) into my indicator's properties area.
4) set defaults in the State.SetDefaults area for each of the 4 parameters (SwingStyle.Standard, 7, 15, false)
5) initiated new series in Dataloaded: dT = new Series<double>(this);
6) created private double Var = DT (in the variables section at the top of the indicator)
7) in the onbar update: DT = PriceActionSwingPro(SwingType, SwingSize, DtbStrength, UseCloseValues).DoubleTop[0];
8) in the onbar update: dT[0] = DT;
When I compile it says " No Overload for Method 'PriceActionSwingPro' takes 4 arguments"
At All the examples i saw in this thread, there are only 4 arguments as listed in dorschden's PriceAction.Base.
Any clue as to why the computer insists that this indicator needs more or less arguments??
As a secondary question, after typing this question, I see Dorschden also created functions within the PriceActionSwing.Base:
[Browsable(false)]
[XmlIgnore]
public Series<double> DoubleTop
{
get { return Values[3]; }
Is there a simpler way to use this since it;s already in a (public) Series?
I dont write strategy but I think you should use ninja strategy wizar (in editor, right click on strategy folder, select new) to call PASPro, get a clean compilation then take it from there.
Broker: TDAmeritrader Stocks, Futures and OptionsNINJABROKER, Continuum, KINETICK
Trading: NQ ES TF CL GC
Posts: 12 since Aug 2010
Thanks Given: 4
Thanks Received: 12
I am using PAS Pro for NT8. and can not get the audio alerts for the ABC swings to work. I had them working in NT 7. Ninja support logged on to my computer and could not find any thing wrong and suggested I post here at futures.io.
The path to the Ninja sound folder is correct. My media player plays the sound alerts ok. In the Ninja script they are shown as "AbcLongEntry.wav" etc. I replaced them with my new custom alert wav files "ABC Long Entry ES.wav" but would not think that would cause a problem.
Can anyone help me out here on this fantastic indicator?