Can someone please help me create an add-on for Hull moving average indicator. I want it to change color when changing direction
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Hull moving average color change
Collapse
X
-
Hull moving average color change
Hi!
Can someone please help me create an add-on for Hull moving average indicator. I want it to change color when changing directionTags: None
- Likes 1
-
Hi bankavaselina, thanks for your note.
You can use the PlotBrushes array to change the color of the plot per-bar. I attached an example copy of the HMA. To add this, copy the attached .cs file into Documents\NinjaTrader 8\bin\Custom\Indicators.
Best regards.Attached FilesChris L.NinjaTrader Customer Service
- Likes 3
-
okay, I'm confused. How do I make this show up in my indicators box? I copied it like you said, but can't figure out what to do next
Comment
-
Hello dmilton,
You can use IsRising & IsFalling conditions to change color of any moving average. Sharing my custom indicator hope it helps, you can select the MA type: 1 - EMA, 2 - HMA, 3 - SMA, 4 - TMA, 5 - TEMA, 6 - WMA, you can also change the slope colors.Attached Files
- Likes 8
Comment
-
Originally posted by s.kinra View PostHello dmilton,
You can use IsRising & IsFalling conditions to change color of any moving average. Sharing my custom indicator hope it helps, you can select the MA type: 1 - EMA, 2 - HMA, 3 - SMA, 4 - TMA, 5 - TEMA, 6 - WMA, you can also change the slope colors.
Comment
-
Thank you so much!!! It's what I was looking for.
One question, can I program a strategy in the color change?
Comment
-
Hello miguelisert,
Welcome to the NinjaTrader forums!
I would recommend that you add a plot to the indicator to use a signal. When sloping up and setting the up color, set the plot to 1. When sloping down and setting the down color, set the plot to -1.
Below is a link to an example in the User App Share.
Description: This indicator can be used to color the rising and falling conditions of most any other indicators plot when used as the input series to this indicator. ColorThePlot offers the ability to select rising and falling colors, sound alerts, email, alerts, Direction change marking, panel color based on direction, bar coloring based on direction. […]Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 11:49 AM
|
1 response
3 views
0 likes
|
Last Post Today, 11:56 AM | ||
Started by spottysallrite, Today, 11:31 AM
|
1 response
4 views
0 likes
|
Last Post Today, 11:43 AM | ||
Started by johnMoss, 03-04-2024, 01:53 PM
|
2 responses
31 views
0 likes
|
Last Post
by Overnhou
Today, 11:21 AM
|
||
Started by Padan, Today, 02:02 AM
|
5 responses
17 views
0 likes
|
Last Post Today, 11:14 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
8 responses
28 views
0 likes
|
Last Post
by Lele2k24
Today, 11:00 AM
|
Comment