답변완료
검색식 부탁 드립니다
함수명 상승개수(횡보)
if(eavg(c,10)>eavg(c,10,1)*(1+횡보/100),1,0)+
if(eavg(c,11)>eavg(c,11,1)*(1+횡보/100),1,0)+
if(eavg(c,12)>eavg(c,12,1)*(1+횡보/100),1,0)+
if(eavg(c,13)>eavg(c,13,1)*(1+횡보/100),1,0)+
if(eavg(c,14)>eavg(c,14,1)*(1+횡보/100),1,0)+
if(eavg(c,15)>eavg(c,15,1)*(1+횡보/100),1,0)+
if(eavg(c,16)>eavg(c,16,1)*(1+횡보/100),1,0)+
if(eavg(c,17)>eavg(c,17,1)*(1+횡보/100),1,0)+
if(eavg(c,18)>eavg(c,18,1)*(1+횡보/100),1,0)+
if(eavg(c,19)>eavg(c,19,1)*(1+횡보/100),1,0)+
if(eavg(c,20)>eavg(c,20,1)*(1+횡보/100),1,0)+
if(eavg(c,21)>eavg(c,21,1)*(1+횡보/100),1,0)+
if(eavg(c,22)>eavg(c,22,1)*(1+횡보/100),1,0)+
if(eavg(c,23)>eavg(c,23,1)*(1+횡보/100),1,0)+
if(eavg(c,24)>eavg(c,24,1)*(1+횡보/100),1,0)+
if(eavg(c,25)>eavg(c,25,1)*(1+횡보/100),1,0)+
if(eavg(c,26)>eavg(c,26,1)*(1+횡보/100),1,0)+
if(eavg(c,27)>eavg(c,27,1)*(1+횡보/100),1,0)+
if(eavg(c,28)>eavg(c,28,1)*(1+횡보/100),1,0)+
if(eavg(c,29)>eavg(c,29,1)*(1+횡보/100),1,0)+
if(eavg(c,30)>eavg(c,30,1)*(1+횡보/100),1,0)
지표조건
횡보율 0.3
A
A=상승개수(횡보율)/21*100;
E
A=상승개수(횡보율)/21*100;
eavg(A,5)
A는 0 E는0.2 이하 에서 1 사이인 종목검색식
파워종목 검색식 조건 알려주세요
2024-04-04
791
글번호 178299
종목검색
답변완료
문의 드립니다
input : starttime(190000),endtime(40000),n(10);
var : Tcond(false),hh(0),h1(0),ll(0),l1(0);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1]and Tcond == true Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= endtime) or
(sdate == sdate[1] and stime >= endtime and stime[1] < endtime) then
{
Tcond = false;
}
if (sdate != sdate[1] and stime >= starttime) or
(sdate == sdate[1] and stime >= starttime and stime[1] < starttime) then
{
Tcond = true;
hh = h;
ll = l;
h1 = hh[1];
l1 = ll[1];
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
input : 익절틱수(0),손절틱수(0);
if Tcond == true Then
{
if NextBarOpen != C Then
{
Buy("b",AtStop,NextBarOpen+PriceScale*10);
}
ExitLong("bx",AtMarket);
if NextBarOpen != C Then
{
Buy("b1",AtStop,NextBarOpen+PriceScale*10);
}
ExitLong("bx1",AtMarket);
if NextBarOpen != C Then
{
Sell("s",AtStop,NextBarOpen-PriceScale*10);
}
ExitShort("sx",AtMarket);
if NextBarOpen != C Then
{
Sell("s1",AtStop,NextBarOpen-PriceScale*10);
}
ExitShort("sx1",AtMarket);
if NextBarOpen == C Then
{
Buy("b2",AtStop,NextBarOpen+PriceScale*10);
}
ExitLong("bx2",AtMarket);
if NextBarOpen == C Then
{
Buy("b3",AtStop,NextBarOpen+PriceScale*10);
}
ExitLong("bx3",AtMarket);
if NextBarOpen == C Then
{
Sell("s2",AtStop,NextBarOpen-PriceScale*10);
}
ExitShort("sx2",AtMarket);
if NextBarOpen == C Then
{
Sell("s3",AtStop,NextBarOpen-PriceScale*10);
}
ExitShort("sx3",AtMarket);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
----
장중 400틱 수익일때 폰에 문자 통보 수식어가 있는지 문의 드립니다.
2024-04-04
811
글번호 178297
시스템