希望对大家有帮助,此指标是根据比尔威廉姆的混沌操作法编写的,如果你熟悉该方法对时间窗有理解那么相信会对你有帮助。bwmfi:=(high-low)*10000/vol;//市场促进指数stickline((vol>ref(vol,1) and bwmfi>ref(bwmfi,1)),0,bwmfi,1,0),colorred;stickline(( vol<ref(vol,1) and bwmfi<ref(bwmfi,1)),0,bwmfi,1,0),colorgreen;stickline(( vol<ref(vol,1) and bwmfi>ref(bwmfi,1)),0,bwmfi,1,0),colorblue;stickline(( vol>ref(vol,1) and bwmfi<ref(bwmfi,1)),0,bwmfi,1,0),coloryellow;【绿灯】:( vol>ref(vol,1) and bwmfi>ref(bwmfi,1)),colorred,linethick0;【衰退】:( vol<ref(vol,1) and bwmfi<ref(bwmfi,1)),colorgreen,linethick0;【伪装】:( vol<ref(vol,1) and bwmfi>ref(bwmfi,1)),colorblue,linethick0;【蛰伏】:( vol>ref(vol,1) and bwmfi<ref(bwmfi,1)),coloryellow,linethick0;explain(【绿灯】,'绿灯:+跳动量,+mfi'),colorred;//一致性获利-视窗+解盘explain(【绿灯】,'顺势而行:成交量增加,促进指数增大');explain(【衰退】,'衰退:-跳动量,-mfi'),colorgreen;explain(【衰退】,'减退区域:成交量减少,促进指数减小');explain(【伪装】,'伪装:-跳动量,+mfi'),colorblue;explain(【伪装】,'不实暂停:成交量减少,促进指数增大');explain(【蛰伏】,'蛰伏:+跳动量,-mfi'),coloryellow;explain(【蛰伏】,'持续反转:成交量增加,促进指数减小');//后增加的提示,根据量变在10%以上的原则增加提示,便于读盘drawicon(( vol>ref(vol,1)*1.1 and bwmfi>ref(bwmfi,1))*1.1,0,4),align4;drawicon(( vol<ref(vol,1)*0.9 and bwmfi<ref(bwmfi,1))*0.9,0,5),align4;drawicon(( vol<ref(vol,1)*0.9 and bwmfi>ref(bwmfi,1))*1.1,0,14),align4;drawicon(( vol>ref(vol,1)*1.1 and bwmfi<ref(bwmfi,1))*0.9,0,12),align4; 20210311