glendale ca usa
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88
|
declare lower;
#HIMA_MONEY_FLOW_INDEX
input over_Sold = 20;
input over_Bought = 80;
input length = 24;#14
input movingAvgLength = 2;#1
def MoneyFlowIndex = Average(moneyflow(high, close, low, volume, length), movingAvgLength);
PLOT smooth = average(moneyFlowIndex, 4);
plot S_ = average(smooth, 4);
#plot z =50;
plot a = 45;
a.setStyle(curve.MEDIUM_DASH);
plot b = 55;
b.setStyle(curve.MEDIUM_DASH);
addcloud(20, 45, color.red, color.red);
addcloud(55, 80, color.cyan, color.cyan);
addcloud(45, 55, color.white, color.white);
#end code
|