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.
Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?
//@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()

Idées en relation

Commentaires

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

U just need to add reverse logic.

+32 Répondre
@csipplz, i've a similar script for short selling check it out
+31 Répondre
Dont get it how it works how to get signal for playing ?
+21 Répondre
Degod413 kapulet
@kapulet, Playing? Trading ones hard earned money is not considered playing! 🤦‍♂️
Répondre
+13 Répondre
cristian.d MarxBabu
@MarxBabu, nice one!!! What about the supply part?
+1 Répondre
MarxBabu cristian.d
@cristian.d, Supply prediction is bit complex in this algorithm mostly we can predict the demand only
Répondre
THIS does repaint
+8 Répondre
Repaint????????
+5 Répondre