커뮤니티

22387 관련

프로필 이미지
CSI300
2012-01-13 01:23:39
329
글번호 46574
답변완료
답변 감사합니다 신호가 나오지 않습니다...설명이 잘못된거 같습니다 .. 다시 부탁드립니다 매수준비단계조건; 1;당일6번쨰 봉 종가가 시초가 위에 잇어야한다 2;장시작후 6봉내에 이평골드크로스가 적어도 한번은잇어야한다 진입조건; dayindex+1>6 and crossup(c,시초가) 면 매수진입 하루매수진입1회 매도준비단계조; 1;당일6번쨰 봉 종가가 시초가 아래에 잇어야한다 2;장시작후 6봉내에 이평데드크로스가 적어도 한번은잇어야한다 진입조건; dayindex+1>6 and crossdown (c,시초가) 면 매도진입 하루매도진입1회
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-01-13 09:34:30

안녕하세요 예스스탁입니다. var : cnt(0),Bcnt(0),Scnt(0); Bcnt = 0; Scnt = 0; for cnt = 0 to 10{ if sdate == EntryDate(cnt) and MarketPosition(cnt) == 1 Then Bcnt = Bcnt+1; if sdate == EntryDate(cnt) and MarketPosition(cnt) == -1 Then Bcnt = Bcnt+1; } if date != date[1] Then{ Condition1 = False; Condition2 = False; Condition3 = false; Condition4 = false; } if dayindex+1 == 6 Then{ if C > dayopen Then Condition1 = True; if C < dayopen Then Condition2 = True; } var1 = ma(C,5); var2 = ma(C,20); if dayindex+1 <= 6 Then{ if crossup(var1,var2) Then Condition3 = true; if CrossDown(var1,var2) Then Condition4 = true; } if Bcnt == 0 and Condition1 == true and Condition3 == true and dayindex+1>6 and crossup(c,dayopen) Then buy(); if Scnt == 0 and Condition2 == true and Condition4 == true and dayindex+1>6 and CrossDown(c,dayopen) Then sell(); 즐거운 하루되세요 > CSI300 님이 쓴 글입니다. > 제목 : 22387 관련 > 답변 감사합니다 신호가 나오지 않습니다...설명이 잘못된거 같습니다 .. 다시 부탁드립니다 매수준비단계조건; 1;당일6번&#51760; 봉 종가가 시초가 위에 잇어야한다 2;장시작후 6봉내에 이평골드크로스가 적어도 한번은잇어야한다 진입조건; dayindex+1>6 and crossup(c,시초가) 면 매수진입 하루매수진입1회 매도준비단계조; 1;당일6번&#51760; 봉 종가가 시초가 아래에 잇어야한다 2;장시작후 6봉내에 이평데드크로스가 적어도 한번은잇어야한다 진입조건; dayindex+1>6 and crossdown (c,시초가) 면 매도진입 하루매도진입1회