Fishnet with rainbow colors
_SECTION_BEGIN("");
Plot( C, "Close", ParamColor("Color", colorWhite), styleNoTitle | ParamStyle("Style", styleCandle, maskPrice ) );
net= 30;
for (i=1; i<net;i++) {
Plot(MA(Close,i),"",colorDarkRed,styleLine);
}
for (i=net; i<2*net;i++) {
Plot(MA(Close,i),"",colorOrange,styleLine);
}
for (i=2*net; i<3*net;i++) {
Plot(MA(Close,i),"",colorGold,styleLine);
}
for (i=3*net; i<4*net;i++) {
Plot(MA(Close,i),"",colorLime,styleLine);
}
for (i=4*net; i<5*net;i++) {
Plot(MA(Close,i),"",colorBlue,styleLine);
}
for (i=5*net; i<6*net;i++) {
Plot(MA(Close,i),"",colorIndigo,styleLine);
}
for (i=6*net; i<7*net;i++) {
Plot(MA(Close,i),"",colorViolet,styleLine);
}
_SECTION_END();
_SECTION_BEGIN("");
Plot( C, "Close", ParamColor("Color", colorWhite), styleNoTitle | ParamStyle("Style", styleCandle, maskPrice ) );
net= 30;
for (i=1; i<net;i++) {
Plot(MA(Close,i),"",colorDarkRed,styleLine);
}
for (i=net; i<2*net;i++) {
Plot(MA(Close,i),"",colorOrange,styleLine);
}
for (i=2*net; i<3*net;i++) {
Plot(MA(Close,i),"",colorGold,styleLine);
}
for (i=3*net; i<4*net;i++) {
Plot(MA(Close,i),"",colorLime,styleLine);
}
for (i=4*net; i<5*net;i++) {
Plot(MA(Close,i),"",colorBlue,styleLine);
}
for (i=5*net; i<6*net;i++) {
Plot(MA(Close,i),"",colorIndigo,styleLine);
}
for (i=6*net; i<7*net;i++) {
Plot(MA(Close,i),"",colorViolet,styleLine);
}
_SECTION_END();
No comments:
Post a Comment
Thanks