TradingView Custom Script Development

Job ID: 32741019

Budget: $30 – $250 USD

hi...sharing one excel there are codes in yellow marked column need trading view script with that logic with 3 exit rules 1. exit on logic confirms change in trend 2. fixed sl/tp 3. atr based exit exit on the first condition match atr option should be "on choice" no sl tp or atr option if selected system will close the trade on signal reversal let me know budget n time to complete
Note: o+h+l+c/4 N o+h+l+c/4 N-1 second (n-1)-n average of 21 values in column 2 when it turns>0 buy and <0 sell
Related categories: Pine Script Trading Algorithm Analysis