±×¸² 1
input : P(20),dv(2),t(100),n(10);
var : bbup(0),bbdn(0),bbmd(0);
bbup = BollBandUp(P,dv);
bbdn = BollBandUp(P,dv);
bbmd = ma(C,P);
if MarketPosition <= 0 and CrossUp(C,bbup) and CountIf(BBup-bbdn <= PriceScale*t,10)[1] == 10 Then
Buy();
if MarketPosition >= 0 and CrossDown(C,bbdn) and CountIf(BBup-bbdn <= PriceScale*t,10)[1] == 10 Then
Sell();
À§½ÄÀ» Àû¿ë½Ã ½ÅÈ£ÈÄ °ð¹Ù·Î û»êÀÌ µÊ´Ï´Ù
°ËÅä¹Ù¶÷´Ï´Ù
¼ö½ÄÁ¶°Ç
º¼¹ê 100ƽÀ̳»¼ 10ºÀÀ̳» Ⱦº¸ÈÄ
º¼¹ê»ó.Çϼ± µ¹ÆĽà ¸Å¼ö.µµ ³»¿ëÀÓ´Ï´Ù