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)
First of all I'm new to programming so I might have some questions which are obvious for even the average programmer.
But I'm trying to make a strategy where I would like to see whether we are in a uptrend or downtrend. As far as can see PriceActionSwingOscillator iterates the variable swingTrend which is either -1, 0 or 1. I have tried to extract the value of swingTrend without any luck. So I hope some of you guys migt be able to help.
But I get an error CS1061 that 'NinjaTrader.NinjaScript.Indicators.PriceActionSwing.PriceActionSwingOscillator' doesn't contain a definition for SwingTrend
Hope someone can help me.
Thanks
Can you help answer these questions from other members on NexusFi?
Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".
Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".
Because they are used by the indicator and detected as dependencies when Ninja runs it's compile and export. Same in NT7. Agreeing to replace them is usually fine, or choosing not to replace them is also usually fine so long as valid up to date versions already exist on your machine.
Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".
I may be wrong as I am not expert. When you export an indicator to share , you have to add all the scripts (indicators) that the indicator that you are exporting is using for all its calculations. If you installed this indicator without them , it woudn`t work.
When you install it you can get the message that you allready have this indicators so you can skip it or not , no matter . But sometimes you get a different message warning that you are trying to install an older version than the one you already have installed in your platform, so then you should skip and not install the older version of this additional indicators.
Sorry for my english , I hope you understand what I am trying to explain.
pep
If a wise coder thinks I am wrong , I would appreciate a corretion.
Okay..!! So I have been trading Price Action for a really long time. 3 years may be and I may still be called a beginner.
I am trying to use a very quantitative approach towards my entire Price Action Plan and trying to remove all the subjectivity that might loosen that statistical results.
One thing I haven't been able to properly come up with is Rules for Corrective and Impulsive nature of the Swings.
I already have a couple of rules in place.
Impulsive: 1. The first candle that initiates should have the color in the direction of the swing (Green for Up, Red for Down)
2. The second candle should close above the high of the first candle.
This defines the impulsive nature of the swing.
Corrective: 1. The first candle initiating is of the opposite color of the swing direction. (Green for Down, Red for Up)
2. The second candle closes below the high of the first candle.
This defines the corrective nature. I guess I am strict on impulsive nature because I want both the rules to be satisfied. Corrective, I am alright because even if one rule appears, it's corrective for me which supports my strictness on Impulsive Rules.
So, I use second degree Pivots to identify a Swing. That is I need two candle higher high or lower lows (not have to be consecutive) to initiate the swing.
I was just wondering, if anybody else has better rules for Impulsive and Corrective nature of the swings depending on the candles and Price Action.
I tried something similar, maybe you can give it a try.
use a 2 range chart, you see 3 green go long, 3 red go short (following the trend)
for reversal at S/R see something like a red green red (go short) or green red green(go long),
then can go for the reverse of trend.
hope it helps
pavanb15589
Okay..!! So I have been trading Price Action for a really long time. 3 years may be and I may still be called a beginner.
I am trying to use a very quantitative approach towards my entire Price Action Plan and trying to remove all the subjectivity that might loosen that statistical results.
One thing I haven't been able to properly come up with is Rules for Corrective and Impulsive nature of the Swings.
I already have a couple of rules in place.
Impulsive: 1. The first candle that initiates should have the color in the direction of the swing (Green for Up, Red for Down)
2. The second candle should close above the high of the first candle.
This defines the impulsive nature of the swing.
Corrective: 1. The first candle initiating is of the opposite color of the swing direction. (Green for Down, Red for Up)
2. The second candle closes below the high of the first candle.
This defines the corrective nature. I guess I am strict on impulsive nature because I want both the rules to be satisfied. Corrective, I am alright because even if one rule appears, it's corrective for me which supports my strictness on Impulsive Rules.
So, I use second degree Pivots to identify a Swing. That is I need two candle higher high or lower lows (not have to be consecutive) to initiate the swing.
I was just wondering, if anybody else has better rules for Impulsive and Corrective nature of the swings depending on the candles and Price Action.