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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
59 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment