jsj = jjx;
hbar = C > O;
If(ptdd1 == -1)
{
pltline.line("均价", jsj);
}
If(switchState == 9)PlotAuto("均价", jsj, jsj, IIF(hbar, Cyan, Yellow), Enum_Bar, Enum_Dash);
plotauto和plot类是2套体系, plotauto是给小白用的, plot类是给画图要求多的用户用的, 2者互不影响
If(False)
{
PlotAuto("均价", jsj, jsj, IIF(hbar, Cyan, Yellow), Enum_Bar, Enum_Dash);
}
这么写也还是画线真奇了怪了

plotauto没问题啊