How to transform an simple indicator of TradingView to MT4 pls
-
I have this indicator on TradingView,
It's help me to detect when the BB open and start a momentum of BB break.
So How to transform it to MT4 and combine it with my BOT i have used.
Thank so much.//@version=3
study("BBW-Squeeze alerts", overlay=false)
src= input(close, title="Source")
highlightBBW = input(20, title="Highlight BBW under%")
LowestBBW = input(180, title= "Lowest")
BBlength = input(20, title="Bollinger Band Length")
BBmult = input(2.0, minval=0.001, maxval=50,title="Bollinger Bands Standard Deviation")
BBbasis = sma(close, BBlength)
BBdev = BBmult * stdev(close, BBlength)
BBupper = BBbasis + BBdev
BBlower = BBbasis - BBdev
BBW = ((BBupper - BBlower)) / BBbasis * 100
lowBBW = lowest(BBW,LowestBBW)
plot(BBW, title = "Bollinger Bandwidth", color = blue)
colorpick = BBW < highlightBBW and BBW > lowBBW[1] ? color(yellow, 80) : BBW < lowBBW[1] ? color(green,60) : na
bgcolor(colorpick)
plot(lowBBW[1], title="Lowest Bollinger bandwidth", color = red) -
@hhhung94 You need to import it into your fxDreema account as detailed here:
https://fxdreema.com/documentation/builder/indicators
Please read the second half of that page at the section called 'How To Use Custom Indicators In FxDreema?'
-
@hhhung94 Trading View tools are written in proprietary Pine Script language, so you should hire a programmer to convert it to mql4 language, or maybe find a similar indicator in mql4