strength. I would compare price action for a given stock to the "price" action of a given index (e.g. Nasdaq).
Visually, I would set up a chart with Panel-1 displaying stock price action and Panel-2 would display the Index price action.
I what manner can I tell my ninjascript that I wish to manipulate the stock price in certain cases, then maninpulate the index price in others?
If I wanted to code the following pseudo-code:
IF Stock_Price_Last_Close > EMA(15)[0]
AND Index_Price_Last_Close > EMA(15)[0]
What would replace Stock_Price_Last_Close and Index_Price_Last_Close ?
Comment