Since the condition builder formulates strategy when ALL conditions are true, then do something.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MACD strategy
Collapse
X
-
SampleAtmStrategy - shows how to call ATM's for exit management of your NinjaScript strategy generated entries - http://www.ninjatrader-support.com/H...trategies.html
SampeMultiInstrument / TimeFrame show how to work with Multiseries strategies in NinjaScript - http://www.ninjatrader-support.com/H...struments.html
SampleMaCrossOver - basic SMA crossover strategy used as demo and reference
Comment
-
1. In a strategy, I complied a line with an indicator of an indicator say, SMA 10 of RSI 9, can it be plotted on chart?
2. If I write a strategy that to enter long if say, RSI 9 rises for three consecutive bars, can I use the rising/falling=true formula, or what formula I should use?Last edited by jp2890; 02-08-2010, 06:12 AM.
Comment
-
jp2890,
1. For your plotting your custom indicator calculation from the strategy, you could use our Strategy Plot sample -
When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability
2. You could use the CountIf() for your 'RSI consecutive up' entry - http://www.ninjatrader-support.com/H...6/CountIf.html
Comment
-
[QUOTE=NinjaTrader_Bertrand;143923]jp2890,
1. "You could use the CountIf() for your 'RSI consecutive up' entry"
Where is it in the Condition Builder?
2. Or can I enter when all these conditions are true:
A > B 1 bar ago
A > B 2 bars ago
A > B 3 bars ago
Is it a proper formula to achieve my purpose?
Comment
-
You will need to adjust your MACD input series as needed - http://www.ninjatrader-support.com/H...omparison.html
The default would the using the 'Close'.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, Yesterday, 01:02 PM
|
0 responses
29 views
0 likes
|
Last Post
by cmoran13
Yesterday, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
21 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
160 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
95 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
148 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
Comment