Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ModHeikenAshi Entry/Exit Strategy Problems
Collapse
X
-
ModHeikenAshi Entry/Exit Strategy Problems
I am trying to use the ModHeikenAshi indicator for entry when bar turn green and exit when bar turn red in a strategy. However it doesn't seem to work properly as shown in attached pic. Attach the strategy file, can anybody see if I made any mistake in the code? Thanks.Tags: None
-
Hi Bertrand, the ModHeikinAshi indicator is modified as attached. Basically, I just added this one line of code: "if(Values[3][0] > Values[0][0]) bullIndication.Set(true); else bullIndication.Set(false);" i.e. where close is higher than open, set flag to true.Attached Files
Comment
-
Unfortunately this is above the level what we can provide support for as is for example involves overriding the plot method...but you can check into this thread and the strategy posted there, it implements Heikin Ashi signals, then you can modify it to your needs - http://www.ninjatrader-support2.com/...ad.php?t=13324
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment