BUILD TRADING VIEW SIMPLE STUDY

Job ID: 32004363

Budget: $30 – $250 USD

I need help coding a simple strategy in TradingView
Plot pivothigh(10,2)
Plot pivotlow(10,2)
If pivotlows are growing, connect them with a line
if pivothighs are falling, connect them with a line
BUY SIGNAL when the price is crossing the falling line
SELL SIGNAL when the price is crossing the growing line
See example in picture attached
Related categories: Linear Programming