Current location - Trademark Inquiry Complete Network - Futures platform - Write a straight flush formula: when MACD gold fork is dead, K line (or volume bar chart) shows yellow?
Write a straight flush formula: when MACD gold fork is dead, K line (or volume bar chart) shows yellow?
DIF:=EMA (closing, 12)-EMA (closing, 26);

DEA:=EMA(DIF,9);

VV:=CROSS(DIF,DEA);

VV 1:=CROSS(DEA,DIF);

STICKLINE(VV,O,C, 18,0),COLORYELLOW

STICKLINE(VV 1, o, c,18,0), white in color;

{MACD gold fork K line is displayed in yellow.

MACD dead fork K line is displayed in green.

The color can be selected as required.

After testing, the copy can be quoted directly. If the answer is satisfactory, please remember to adopt it.}