커뮤니티

수식 부탁드립니다

프로필 이미지
하늘북
2017-04-06 17:50:40
203
글번호 108542
답변완료
안녕하십니까? 늘 고맙습니다. 주식 거래에서. 주봉에서 볼밴 120 하한선 을 봉의 종가가 이탈하면 매수신호 발생으로 매수대기 이후 일봉에서 볼밴 120 하한선 이탈시 1차 매수 50만원, 이후 rsi 30이하진입시 2차 매수 100만, 3차매수 2차매수후 시초가에 매수, 4차 매수 3차매수후 시초가, 5차매수 4차매수후 시초가(각50만원) 3% 상승시 20% 매도, 3%상승후 2% 하락시 20% 매도, 5%상승시 20% 매도, 5%상승후 2%하락시 20%매도, 8%상승시 모두청산 검색식은. 볼밴 120 하한선 돌파 종목 검색(주봉에서)으로 부탁드립니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-04-07 14:24:28

안녕하세요 예스스탁입니다. 1 참조데이터로 주봉 추가하고 식 적용하셔야 합니다. 참조데이터는 차트왼쪽 상단의 종목선택버튼 중 오른쪽 클릭하면 선택해 추가할수 있습니다. 기본차트 종목과 다른 주기로도 셋팅가능합니다. input : P(120),Dv(2),RSIP(10); var : BBup1(0,data1),BBdn1(0,data1); var : BBup2(0,data2),BBdn2(0,data2); var : T(0,data1),RSIV(0,data1),HH(0,data1); BBup1 = data1(BollBandUp(P,dv)); BBdn1 = data1(BollBandDown(P,dv)); BBup2 = data2(BollBandUp(P,dv)); BBdn2 = data2(BollBandDown(P,dv)); RSIV = data1(RSI(RSIP)); if MarketPosition == 0 and data1(CrossDown(c,BBdn1)) and data2(C<BBdn2) Then buy("b1",OnClose,def,floor(500000/c)); if MarketPosition == 1 then{ if MaxEntries == 1 and CrossDown(RSIV,30) Then buy("b2",OnClose,def,floor(1000000/c)); if MaxEntries == 2 Then buy("b3",AtMarket,def,floor(500000/NextBarOpen)); if MaxEntries == 3 Then buy("b5",AtMarket,def,floor(500000/NextBarOpen)); if MaxEntries == 4 Then buy("b6",AtMarket,def,floor(500000/NextBarOpen)); if CurrentContracts > CurrentContracts[1] Then HH = H; if H > HH Then HH = H; if CurrentContracts < CurrentContracts and LatestExitName(0) == "bp1" Then Condition1 = true; if CurrentContracts < CurrentContracts and LatestExitName(0) == "bp2" Then Condition2 = true; if CurrentContracts < CurrentContracts and LatestExitName(0) == "bp3" Then Condition3 = true; if CurrentContracts < CurrentContracts and LatestExitName(0) == "bx1" Then Condition11 = true; if CurrentContracts < CurrentContracts and LatestExitName(0) == "bx2" Then Condition22 = true; if Condition1 == false then exitlong("bp1",AtStop,AvgEntryPrice*1.03,"",Floor(MaxContracts*0.2),1); if Condition2 == false then exitlong("bp2",AtStop,AvgEntryPrice*1.05,"",Floor(MaxContracts*0.2),1); if Condition3 == false then exitlong("bp3",AtStop,AvgEntryPrice*1.08); if Condition1 == true and Condition2 == false and Condition11 == false Then exitlong("bx1",AtStop,HH*0.98,"",Floor(MaxContracts*0.2),1); if Condition1 == true and Condition2 == true and Condition22 == false Then exitlong("bx2",AtStop,HH*0.98,"",Floor(MaxContracts*0.2),1); } Else{ Condition1 = false; Condition2 = false; Condition3 = false; Condition11 = false; Condition22 = false; } 2 input : P(120),Dv(2); var : BBdn(0); BBdn = BollBandDown(P,dv); if CrossDown(c,BBdn) Then find(1); 즐거운 하루되세요 > 하늘북 님이 쓴 글입니다. > 제목 : 수식 부탁드립니다 > 안녕하십니까? 늘 고맙습니다. 주식 거래에서. 주봉에서 볼밴 120 하한선 을 봉의 종가가 이탈하면 매수신호 발생으로 매수대기 이후 일봉에서 볼밴 120 하한선 이탈시 1차 매수 50만원, 이후 rsi 30이하진입시 2차 매수 100만, 3차매수 2차매수후 시초가에 매수, 4차 매수 3차매수후 시초가, 5차매수 4차매수후 시초가(각50만원) 3% 상승시 20% 매도, 3%상승후 2% 하락시 20% 매도, 5%상승시 20% 매도, 5%상승후 2%하락시 20%매도, 8%상승시 모두청산 검색식은. 볼밴 120 하한선 돌파 종목 검색(주봉에서)으로 부탁드립니다.