thinkscript MACostOffet

thinkorswim MACostOffet
input ma = 20;

def isMACostBar = !IsNaN(GetValue(close, -ma)) && IsNaN(GetValue(close, -ma - 1));

AddChartBubble(isMACostBar , high , ma, Color.WHITE);

AddChartBubble(!IsNaN(GetValue(close, -20)) && IsNaN(GetValue(close, -20 - 1)) , high , 20, Color.WHITE);

AddChartBubble(!IsNaN(GetValue(close, -60)) && IsNaN(GetValue(close, -60 - 1)) , high , 60, Color.WHITE);

AddChartBubble(!IsNaN(GetValue(close, -120)) && IsNaN(GetValue(close, -120 - 1)) , high , 120, Color.WHITE);

评论

此博客中的热门博文

异常价格变动

3SMA 爆炸性趋势2推回调顺势操作系统