Dislikedhello friend. newbie here. i want to ask for help to code my modified candlestick pattern in mt5. ps: i have the pine script at tradingview can anyone help me? thanksIgnored
//@version=5
strategy(" Engulfing Bear / Bull v2")
// Define the conditions short entry
cond2S = open[0]>close[0]
cond4S = high[1]<high[0]
cond5S = low[1]>low[0]
cond6S = close[0] < low[1]
// Define the conditions long entry
cond2 = open[0]<close[0]
cond4 = high[1]<high[0]
cond5 = low[1]>low[0]
cond6 = close[0]>high[1]
// Define the strategy long entry
long_entry = cond2 and cond4 and cond5 and cond6
// Define the strategy short entry
short_entry = cond2S and cond4S and cond5S and cond6S
strategy 2
//@version=5
strategy(" 3 Candle Outside Break v2")
// Define the conditions long entry
cond1 = open[2]>close[2] // candle 3 is red
cond2 = high[0]>high[1]
cond3 = open[0]<close[0] // candle 1 is green
cond4 = high[1]<high[2]
cond5 = low [1]<low[2] // low candle 2 is lower than candle 3
cond6 = low[0]>low[1]
cond7 = close [0]>high[2] // close candle 1 is lower than close candle 2
// Define the conditions short entry
cond1S = open[2]<close[2] // candle 3 is green
cond2S = low[0]<low[1]
cond3S = open[0]>close[0] // candle 1 is red
cond4S = low[1]>low[2] // high candle 2 higher than high candle 3
cond5S = high[1]>high[2]
cond6S = high[0]<high[1]
cond7S = close [0]<low[2] // close candle 1 is lower than close candle 2
// Define the strategy long entry
long_entry = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7
// Define the strategy short entry
short_entry = cond1S and cond2S and cond3S and cond4S and cond5S and cond6S and cond7S
ps: please help me to convert it to mt5 indicator . pleaseeee... i am begging you guys