龙听期货论坛's Archiver

龙听 发表于 2018-10-15 16:45

[转载]非常漂亮的【3D成交量】副图源码

公式:
[code]
量5:MA(VOL,5);
量10:MA(VOL,10);

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,ColorCD52FF,STICK3D;
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0000FF,STICK3D;
主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color00E521,STICK3D;
[/code]


[attach]4556[/attach]

页: [1]