MarxBabu

ZONE Supply Demand Strategy1

ZONE BUY STRATEGY
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.
Remove from Favorite Scripts Add to Favorite Scripts
//@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()

Comments

Is there a way where I can set an alert for the first black candle? What is it looking at exactly?
+19 Reply
Can u plz write the code for Supply , just reverse of Buy.. we can check it better..

U just need to add reverse logic.

+17 Reply
@csipplz, i've a similar script for short selling check it out
+12 Reply
Dont get it how it works how to get signal for playing ?
+13 Reply
THIS does repaint
+6 Reply
cristian.d MarxBabu
@MarxBabu, nice one!!! What about the supply part?
+1 Reply
MarxBabu cristian.d
@cristian.d, Supply prediction is bit complex in this algorithm mostly we can predict the demand only
Reply
Repaint????????
+3 Reply
Could somebody present it graphically ?
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out