Turn Tradingview Indicator into Strategy

Job ID: 37057026

Budget: $30 – $250 USD

Conditions for entering trades for red box:



1.first a red box must be added to the chart



2. calculate the total difference of the high and low of the red box (box distance), for example 10 ticks.

3. After box is printed on chart, price must move down away from red box an equal distance, the box distance of 10 ticks/1:1 to that of the the total distance of the high and low of red box

, 10 ticks

4. If price moves down away at least total difference of bottom of red box, then place a 1 share sell order at low of red box and a buy order of 1 share at top of red box

Repeat for all red boxs and all opposite for green boxes

see image with order placement.
Related categories: Algorithm Pine Script Trading