// Script created by JoinFree
// BuySellSignal for Forex traders
// Buy Long when you see a Green colour bar
// Sell Short when you see a Red colour bar

// BollingerBands added for reference
Remove from Favorite Scripts Add to favorite indicators
study(title="GreenRedSignal", shorttitle="BuySellSignal", overlay=true)
// Script created by JoinFree
// BollingerBands added for reference
// Buy Long when you see a Green colour bar 
// Sell Short when you see a Red colour bar
mysignal = ema(close, 12) - ema(close, 26)
barcolor(mysignal[0] > mysignal[1] ? green : red)
source = close
length = input(20, minval=1), mult = input(2.0, minval=0.001, maxval=50)
basis = sma(source, length)
dev = mult * stdev(source, length)
upper = basis + dev
lower = basis - dev
plot(basis, color=red)
p1 = plot(upper, color=blue)
p2 = plot(lower, color=blue)
fill(p1, p2)


please there are three prices how i can determined which for sell and which for buy?
thank you in Advance
+184 Reply
wakefulLlama25679 QotaibahShaban
+11 Reply
Does it work from 1 minute to 5 years time frame?
+105 Reply
What is the principle?
I'm a beginner, so I do not even know the code.
+92 Reply
how do you get it in signals
VAd do I write?
+54 Reply
Is this strategy non-repainting?
+35 Reply
dsaidasi Peasac
@Peasac, repaint
+16 Reply
@dsaidasi, lol...dum
+4 Reply
Guys this is easy I have been gaining profit from this strategy. It’s simple buy when candle is green, and sell when the candle is red. I normally use the day time frame, just 10 pips a trade and I’m out of the market.
+33 Reply
jackalbani Turt2002
@Turt2002, Excellent plan
+2 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