I need a script for 2 indicators provided by me, which when a certain market condition occurs, returns me an entry signal, the stoploss calculated on an ATR indicator (provided by me) and a target according to some simple conditions that I will provide to the acceptance of the job.
THE WORK CONSIST TO ADD SCRIPT FOR TWO INDICATOR, PROPOSE YOUR PRICE CONSIDERING THIS
1) In the attached photo there are two indicators, the first is called BDV. When the value is less than -30 followed previously in the 30 candles by a value greater than 100, it returns an entry signal based on the bollinger bands. If at the time of the signal the price is near the upper band it is a sell, on the contrary if the price is on the lower band the signal is buy. The stoploss is defined by the ATR indicator that you see in the photo provided by me.
2) The second indicator is called BDR. The indicator is divided into two levels, the lower and the upper. When there is a succession of red bands at the bottom and they turn green (after 25 consecutive bars they are colored automatically) the script must return the input signal. The entry signal is valid if the price touches the opposite bollinger band once the condition occurs. The direction of the trade is as follows: if the price touches the upper band = sell, if the price touches the lower band = buy. The stoploss is defined by the supplied ATR itself.
The target of all operations is the bollinger band opposite the input signal.
Ithe tradingview signal must be provided with: entry price, stoploss price, target price, timeframe of signal and asset name.