Hi I was looking for a custom script to display a label for daily, 1 hr, and 2 minute trend based on a price level for NQ futures. I was looking for the label to compare the current price to a predetermined price label I input and then label it as uptrend if above or downtrend if below.
I am looking to create a custom label that compares the current instrument price to a predetermine price I input. I want the code to compare them and then label it as an uptrend or downtrend. I have found no success and would like some help. I was able to do it comparing it to an EMA, but not based on a number (price level) that I input. Any help will be greeting appreciated!
So, for example, I want this label to give me the option to input a value for the daily and 1 hr timeframe. I want this value to be compared to the current price of the stock and then output that its an uptrend if above or downtrend if below.
Any help will be appreciated!
I am looking to create a custom label that compares the current instrument price to a predetermine price I input. I want the code to compare them and then label it as an uptrend or downtrend. I have found no success and would like some help. I was able to do it comparing it to an EMA, but not based on a number (price level) that I input. Any help will be greeting appreciated!
So, for example, I want this label to give me the option to input a value for the daily and 1 hr timeframe. I want this value to be compared to the current price of the stock and then output that its an uptrend if above or downtrend if below.
Any help will be appreciated!
Last edited by a moderator: