// 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
从常用脚本中删除 添加到常用脚本
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
+132 回复
Does it work from 1 minute to 5 years time frame?
+77 回复
What is the principle?
I'm a beginner, so I do not even know the code.
+74 回复
how do you get it in signals
VAd do I write?
+42 回复
Is this strategy non-repainting?
+29 回复
dsaidasi Peasac
@Peasac, repaint
+10 回复
@dsaidasi, lol...dum
+1 回复
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.
+23 回复
jackalbani Turt2002
@Turt2002, Excellent plan
This is a good script. What is the actual formula? It looks like a variation of Heikin Ashi candles.
+17 回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出