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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
637 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
572 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment