Creating an indicator on trading view using pine script version 5
Budget: $30 – $40 USD
I want to create an indicator on pine script that do the following 2 things:
1. draws golden horizontal line at the close of the day so I can see the line on lower time frames. The line should go away at the close of the next day. I want to get alerts of buy or sell when the new day price closes above or below that line.
2. create alerts when price close above upper Bolinger band for a buy and when price close below lower Bolinger band for a sell. Bolinger Band should be set to a length 40 and Stddev of 0.8.
The alert should only be given when the above 2 conditions happen simultaneously.
1. draws golden horizontal line at the close of the day so I can see the line on lower time frames. The line should go away at the close of the next day. I want to get alerts of buy or sell when the new day price closes above or below that line.
2. create alerts when price close above upper Bolinger band for a buy and when price close below lower Bolinger band for a sell. Bolinger Band should be set to a length 40 and Stddev of 0.8.
The alert should only be given when the above 2 conditions happen simultaneously.