Simple automated strategy pinescript tradingview

Job ID: 37835309

Budget: €8 – €30 EUR

Hello,
I would like you to code the following automated strategy for Tradingview with a pinescript code:
These are the conditions:
2 keltner canal with different setups : KELTNER 1 (the tightest) KELTNER 2 (the largest)
Heinken ashi candles
If a candle crosses the lower band of the KELTNER 2 , right after a candle has closed above the lower band of KELTNER 1, a buy market order is made. The position is closed when the price crosses the upper band of KELTNER 1 or when the price crosses the lowest band of KELTNER 2
-
If a candle crosses the upper band of the KELTNER 2 , right after a candle has closed below the lower band of KELTNER 1, a sell market order is made. The position is closed when the price crosses the lower band of KELTNER 1 or when the price crosses the upper band of KELTNER 2
      
     - SL &  TP can be set up
     - system is valid between a given time frame during the day
      - positions can be automaticly closed at a given time
Related categories: Pine Script Trading