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.
开源脚本

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
//@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()

评论

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

U just need to add reverse logic.

+19 回复
@csipplz, i've a similar script for short selling check it out
+20 回复
Dont get it how it works how to get signal for playing ?
+15 回复
+8 回复
cristian.d MarxBabu
@MarxBabu, nice one!!! What about the supply part?
+1 回复
MarxBabu cristian.d
@cristian.d, Supply prediction is bit complex in this algorithm mostly we can predict the demand only
回复
THIS does repaint
+6 回复
Repaint????????
+4 回复
Could somebody present it graphically ?
+2 回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 私人消息 在线聊天 退出