ts888
07-10-2007, 09:39 AM
very new to NinjaScript and just playing around. If I wanted to write or modify and indicator or strategy and wanted to have 2 of the same indicator (different parameters) referenced. How would I distinguish the two?
for example.....let's say I'm writing an indicator that does action X when the MACD does action Y. What if on the same chart I had a longer term MACD and wanted to use it in the indicator? How would I distinguish between MACD(1) and MACD(2) ?
thanks
for example.....let's say I'm writing an indicator that does action X when the MACD does action Y. What if on the same chart I had a longer term MACD and wanted to use it in the indicator? How would I distinguish between MACD(1) and MACD(2) ?
thanks