@Joshua Can you or someone else can help with better TRIN indicator from website "https://emini-watch.com/trading-indicators/trin-indicator/"? I have copied the formula but don't know how to code it.
- Take the Log of the NYSE TRIN value
- Invert this value so negative values are positive and vice versa
- Multiply the inverted Log value by 100, and
- Repeat for the NASDAQ TRIN data and average the two values
- Values range between -100 and +100, with 0 as the neutral point
- Positive values indicate buying and a market in an upswing
- Negative results indicate selling activity and downward moves in the market
- Values are balanced, requiring the same amount of buying or selling for the indicator to be +100 or -100 and, therefore, averages are accurate