Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is it possible to trigger an entry based on a bar tick size?
Collapse
X
-
Tags: None
-
From what I see it's outside bar, so your calculation should be something like
Another thing to keep in mind - you would need larger swings to make profit, because if you entered on the bar with the arrow and exited at the very last green bar, you'd barely make a profit and also account for slippage, commission and spread.Code:High[0] > High[1] && Low[0] < Low[1]
-
Thank you for your response. My trade is a high risk to reward scalp, with a 4 tick move in either direction when certain conditions are met. My illustration is a part of an example of what I am attempting to have the Strategy Builder complete. I only want the initial directional entry after a 26 tick reversal from the opposite direction. Any bar that has a wick greater than 2 ticks is an outside bar and I do not want a trigger based on that. I have had some success with a few indicators triggering the entry but I have not been able to fine tune it based on the reversal. I have some other requirements before a trade can be placed but my main focus is on the reversal. I understand what the potential profit targets are and have considered the real trade factors. Yes, the larger the swings without getting stopped out will potentially generated some better results. My illustration is just a visual of what I am trying to accomplish, manually traded through a Market Replay Session, so the PNL results are are not from a live market and note that these types of trades are not guaranteed to be successful as that is the same with any type of set up. I am not recommending anyone to follow my strategy. I am just looking for some directions on the best way to trigger that reversal entry that I am struggling with.. Thank you.
ES-Mini
- Likes 1
Comment
-
Hello MisterTMF66,
The renko bar brick size is not available to the Strategy Builder but can be retrieved in an unlocked script from the BarsPeriod as the BarsPeriodType.Value.
However, are you wanting to know that the current bar has the open higher than the close and the previous bar has the open less than the close, and vice versa?Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
-
From your picture - if bars with wicks are outside bars, then it has to follow through. What I mean - if it is outside bar, place Buy Stop Market order 1 tick above previous bar. If it triggers, then you got the reversal, if it doesn't - try again onthe next bar. I wouldn't think of the way to catch the very first reversal bar, other than current bar's high + x ticks (if you say that wick is 2 ticks, then maybe try 3 ticks or more?)
I was warned previously that renko bars doesn't provide correct backtesting so I never really got into touching them.
Comment
-
Hello UltraNIX,
The nature of how Renko bars change the open with RemoveLastBar() does make backtesting with these unreliable.
Hi Support I really could use some help from your guys. I have created a strategy based on the unirenko bars and the Fisher Transform indicator. I have led the strategy run the whole night, and when I then compare the strategy performance on the chart that has been running the whole night, and with a new duplicated chart with
Hello, I understand how the IsFirstTickOfBar works on live data... My plan is to use "Calculate on each tick" in every indicator, but really
Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
-
Thank you Chelsea B.for your simple solution. I am now the getting the orders to fire off. My code was just wrong. I saw the difference with the historical back test data and what the analyzer generates. The Renko false open gives a much earlier entry which gives a much better, but false performance result. I run the Market Replay and let the orders execute to get my results. It takes some patience. I also have the Si Backtest Renko Bar for the Analyzer. I just have not gotten around to really trying to use it. There is not a real strategy in the illustrations. Just examples of the orders being executed automatically. Thank you again.
Comment
-
these bars are still absurd, I think. I mean, what if you, knowing, how many ticks each bar is, open at the very low and sell at the very high of the same bar and repeat the process on every bar? It sounds like a fairy tale, and that isn't realistic.
- Likes 1
Comment
-
The first chart is what you get from a fixed backtest result. The second chart are trades when executed in a running Replay. The third is what is actually going on. All three are the same. Renko can give a nice visual. My key, is understanding what they are doing in realtime and identifying the trends and how price is moving. With Renko, in my opinion, the open and close of a bar is irrelevant. My focus is on the price movement. I can see the trend and habits of the animal clearly. (ES Mini) No one chart, bar type, indicator or style of trading is going to work for everyone. I am not attempting to convince anyone to use these. Just sharing some information relevant to my initial question that may or may not help someone who has some interest in the Renko Bar. I found some ways to get some traction using them. Each trader has to find what works for them. Thank you.
- Likes 1
Comment
-
My criticism was not around you, I may not understand renko bars that well in order to make any conclusions after all. If it works for you - fine. I can't deny - it's tempting for me to get my hands around it, but as I said - I've been warned before about backtest being inaccurate, so I stay away.Originally posted by MisterTMF66 View PostThe first chart is what you get from a fixed backtest result. The second chart are trades when executed in a running Replay. The third is what is actually going on. All three are the same. Renko can give a nice visual. My key, is understanding what they are doing in realtime and identifying the trends and how price is moving. With Renko, in my opinion, the open and close of a bar is irrelevant. My focus is on the price movement. I can see the trend and habits of the animal clearly. (ES Mini) No one chart, bar type, indicator or style of trading is going to work for everyone. I am not attempting to convince anyone to use these. Just sharing some information relevant to my initial question that may or may not help someone who has some interest in the Renko Bar. I found some ways to get some traction using them. Each trader has to find what works for them. Thank you.
- Likes 1
Comment
-
You are correct that certain types of bars can give inaccurate information during backtesting. The solution would require some additional research, steps and or investments which may or not be worth the time or effort to get better data. The fact that we are here means we probably all have a passion for this stuff... Good conversation for everyone. Thank you.Originally posted by UltraNIX View Post
My criticism was not around you, I may not understand renko bars that well in order to make any conclusions after all. If it works for you - fine. I can't deny - it's tempting for me to get my hands around it, but as I said - I've been warned before about backtest being inaccurate, so I stay away.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|
Comment