Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Renko Swing Indicator
Collapse
X
-
Renko Swing Indicator
I've been trying to set up a swing indicator strategy in strategy builder, but the swing indicator from Ninja trader repaints. I'm using mean Renko bars. What I'm trying to do is compare the low of the current bullish reversal bar with the low of the previous bullish reversal bar (and vice versa for bearish bars) to catch higher lows and lower highs. Is there a way to plot these prices and then reference them for comparison using strategy builder?Tags: None
-
Hello Adanni,
Thank you for your post.
Do you mean plot the values of the Swing indicator? You can check the 'Plot on chart' box when using it in a condition so the values appear on the chart.
To save a specific value, you can create a variable in the 'Inputs and Variables' screen and then in an Action, assign that variable a value (like a value from the Swing indicator).
-
Sorry, but I wasn't referring to the swing indicator. I tried using the swing indicator, but it repaints and therefore lags. I have created a strategy so far that draws arrows under reversal bars at the close of the bar that meet certain criteria. Now, I want to be able to save the value of the high and low price of those bars and compare the current reversal bar high or low price to the previous reversal bar high or low price. I am specifically interested in trading higher lows and lower highs. As it stands, I am also getting higher highs and lower lows, and I want to filter those out. Below is the code I've generated so far along with a screenshot.
Comment
-
I guess what I'm struggling with is the variable. Do I just use the high and low? Not sure how to save the value of the bar. Basically, trying to plot the highs and lows on bar close. Any tutorials of something similar? I've gone about as far as I can on my own.
Comment
-
So, it was solved or not? One of my fellow is also facing the same issues.Originally posted by Adanni View PostSorry, but I wasn't referring to the swing indicator. I tried using the swing indicator, but it repaints and therefore lags. I have created a strategy so far that draws arrows under reversal bars at the close of the bar that meet certain criteria. Now, I want to be able to save the KitSuperStore.com value of the high and low price of those bars and compare the current reversal bar high or low price to the previous reversal bar high or low price. I am specifically interested to click here in trading higher lows and lower highs. As it stands, I am also getting higher highs and lower lows, and I want to filter those out. Below is the code I've generated so far along with a screenshot.
Last edited by mikecolady; 03-23-2025, 05:34 PM.
Comment
-
Hello,
Apologies as our system did not re-open this case after the last reply from Adanni.
If you want to save price values for bars, like the High or Low, you can create double variables. For example,Do I just use the high and low? Not sure how to save the value of the bar.
Or if you wanted to save a series of values, like saving a certain value per bar, use a custom Series<double>. Below is the Help Guide page for Series<t>.Code:double myHigh = High[0];
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
547 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
323 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
99 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
545 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment