# ZONE Supply Demand Strategy1

จำนวนเข้าชม 12451
In this method look for recent block of black candles and take the before black candle as base handle ,Draw a line forward with the value open and close of the base candle ,When the price falls into this region next in near future execute buy order. Stop loss wont work.
```//@version=2
study("ZONE",overlay=false)
len = input(35,title="Period")
smooth = input(100,title="Smooth")

plotcandle(open, high, low, close, title='candle', color=(open < close) ? green : red, wickcolor=gray)
// This is working isHigherHigh() => high>high[1] and high[1]>high[2] and low>low[1] and low[1]>low[2]  and close>close[1] and high>close and close>high[1] and close>low[1] and close>(open and low) and close[1]>(open[1]and low[1])and close[2]>(open[2]and low[2])
isHigherHigh() => high>high[1] and high[1]>high[2] and close>close[1] and close[1]>close[2] and close>open and close[1]>open[1] and close[2]>open[2] and low>open[1] and low[1]>open[2] and (open+low)<(open+close) //and low>ohlc4[1] and low[1]>ohlc4[2]   //and low>open[1] and low[1]>open[2] this code is to make sure low not below open of before candle

barcolor(isHigherHigh()? black :na)
barcolor(isHigherHigh()? black :na, -1)
barcolor((isHigherHigh() and close>open)? black :na, -2)

//barcolor()

```

## ไอเดียที่เกี่ยวข้อง

เกี่ยวกับ KARURVYSYA

## ความคิดเห็น

Can u plz write the code for Supply , just reverse of Buy.. we can check it better..

U just need to add reverse logic.

ตอบกลับ
csipplz
@csipplz, i've a similar script for short selling check it out
ตอบกลับ
Is there a way where I can set an alert for the first black candle? What is it looking at exactly?
ตอบกลับ
Dont get it how it works how to get signal for playing ?
ตอบกลับ
THIS does repaint
ตอบกลับ
ตอบกลับ
MarxBabu
@MarxBabu, nice one!!! What about the supply part?
ตอบกลับ
cristian.d
@cristian.d, Supply prediction is bit complex in this algorithm mostly we can predict the demand only
ตอบกลับ
Could somebody present it graphically ?
ตอบกลับ
Repaint????????
ตอบกลับ