Search found 1 match

Go to advanced search

by FMU FMU
Sun Apr 17, 2022 1:34 pm
Forum: Pine Script Q&A
Topic: TradingView - How to change negative values into positive?
Replies: 2
Views: 1046
 
Jump to post

TradingView - How to change negative values into positive?

I have an indicator that goes from 1 to -1. I am trying to normalize the data so that it goes from 1 to 0. The problem is, I just can't figure out how to change this calculation. Kindly help me out in this matter! //@version=5 indicator('Stochastics Momentum Index', shorttitle='Fear Greed') a = inpu...

Go to advanced search