PDA

View Full Version : Set visual alert for market analyzer



azuvegihafov
06-11-2016,
Hello,

I would like to create an indicator for use within market analyzer.

The indicator would alert me visually (such as in the picture below, by changing the cell color) when 2 conditions are both met:

1. ADX with 14 period is above 25
2. DI+ & DI- crossover


http://content.screencast.com/users/HomeFreeTN/folders/Jing/media/6543240f-17d7-42b5-abf1-39cba3bbf66e/2016-04-30_2050.png

So I believe I will have to make a custom indicator using something like this:

if (CrossAbove(DM(14).DiPlus, DM(14).DiMinus,1))

But I really don't know how to do any of that. Please point me in the right direction. Thank you.

Balladolbineel
06-12-2016,
Hello,
Setting the cell conditions for the market analyzer through NinjaScript is not supported.
If we can be of any other assistance please let us know.

bcar1qyd
06-13-2016,
Hello,
Setting the cell conditions for the market analyzer through NinjaScript is not supported.
If we can be of any other assistance please let us know.

Barreraoi
06-14-2016,
Hello,
To have the plot be the absolute value of the differene you will use Math.Abs() for more information on Math.Abs please see the following link: https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx (https://msdn.microsoft.com/en-us/library/f2yzeea2%28v=vs.110%29.aspx)