value of level line

 

hi all,

how do I program the values of the indicator's level line?

i need it to be dynamic

thanks

 
doshur:

hi all,

how do I program the values of the indicator's level line?

i need it to be dynamic

thanks

doshur,

You can just check if the value of the indicator is greater or less than a level.

Example:

if(iRSI(NULL,0,14,PRICE_CLOSE,0) > 20.0) { do something }