답변완료
문의드립니다
수고하십니다.
참조봉 macd 골든크로스
본주 25분봉 일경우
현재시각이 3시5분인가?그럼 본주 봉완성에 상관없이 매수하라
아래식으로했더니 봉완성대기중으로 마감되었네요
1.참조봉macd오실레이터골든크로스시 본주매수후
현재시간이 3시5분에서3시10분사이에1번추가매수식---봉완성상관없음
2.참조봉 오실레이터 데드시 본주매도식
input : short(12),long(26),sig(9);
var : osc(0,Data2);
osc = Data2(MACD_OSC(short,long,sig));
if sTime == 150500 and Data2(osc >0) Then
Buy()
감사합니다
2023-11-03
439
글번호 173673
시스템
답변완료
zlsma50선 돌파수식
빠른 답변에 감사드립니다.
아래 답변에 관한 두가지 질문이 있어 문의드립니다.
1. 저의 질문 중 "3.120지수이평과 일봉 시가의 이격:-5%이상"
제 질문의 의도는 시가가 120일 지수선의 5%아래(이격 -5%)를 최저로
그 이상인 경우를 말하는 것인데
"Emav >= o*0.95"로 표현되는게 맞는 것인지, 혹시 O>EMAV*0.95 가 맞지않나
2.저의 질문 중 4.ZLSMA50선 상승추세 1회이상
5.120지수이평선 상승추세 1회이상
을 3회이상으로 하는 수식
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : ZLSMA50선 돌파수식요청
>
안녕하세요
예스스탁입니다.
input : length(50);
var : lsma(0),lsma2(0),eq(0),zlsma(0),Emav(0);
lsma = LRL(c, length);
lsma2 = LRL(lsma, length);
eq= lsma-lsma2;
zlsma = lsma+eq;
Emav = ema(c,120);
if CrossUp(c,zlsma) and
c > Emav and
Emav >= o*0.95 and
zlsma > zlsma[1] and
Emav > Emav[1] Then
Find(1);
즐거운 하루되세요
> ksks 님이 쓴 글입니다.
> 제목 : ZLSMA50선 돌파수식요청
> 아래 조건으로 종목검색하기 위한
예스랭귀지의 수식을 요청드립니다.
제목:ZLSMA50선 돌파(일봉)
1.ZLSMA50선 돌파(기간값 50)
2.일봉 종가>120지수이평선
3.120지수이평과 일봉 시가의 이격:-5%이상
4.ZLSMA50선 상승추세 1회이상
5.120지수이평선 상승추세 1회이상
2023-11-02
1023
글번호 173667
종목검색
답변완료
문의 드립니다.
input : StartTime(70000),EndTime(50000);
input : 익절틱수(0),손절틱수(0);
var : Tcond(False),entry(0);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if MarketPosition <= 0 Then
buy("b",atlimit,dayhigh-PriceScale*250);
if MarketPosition == 1 Then
exitlong("bx",atlimit,lowest(L,BarsSinceEntry)+PriceScale*500);
if MarketPosition >= 0 Then
sell("s",atlimit,daylow+PriceScale*7000);
if MarketPosition == -1 Then
ExitShort("sx",atlimit,Highest(H,BarsSinceEntry)-PriceScale*40);
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
--------------------------------------------------
StartTime(70000),EndTime(50000); 옆 특정 시간에 진입후 청산 1회를 변경 부탁드립니다
2023-11-03
1148
글번호 173665
시스템