답변완료
수식부탁드려요
Input : Period(30), Percent(6),n1(7),n(65);
var : center(0),UPline(0),DNline(0),BBup(0),기준선(20),기준선7(7);
기준선 = (highest(H,20)+lowest(L,20))/2;
7일 이내 기준선을 2번 돌파 한 종목을 찾고 싶어요 수식을 부탁드려요
2023-08-30
1438
글번호 171994
종목검색
답변완료
수식부탁드려요
Input : Period(30), Percent(6),n1(7),n(65);
var : center(0),UPline(0),DNline(0),BBup(0),기준선(20),기준선7(7);
기준선 = (highest(H,20)+lowest(L,20))/2;
7일 이내 기준선을 2번 돌파 한 종목을 찾고 싶어요 수식을 부탁드려요
2023-08-30
1312
글번호 171993
종목검색
답변완료
수식문의
수고하십니다
아래수식은 일부입니다.
상승추세로 전환된 봉마다 지표가 표시됩니다.
아래조건으로 출현된 첫번째 봉만 표시되도록 참고수식 부탁드립니다
if L[1,1] == L[2,1] - PriceScale* 2 and L[1,1] >= L[2,1] - PriceScale* 1 Then
Condition1 = true;
Else
Condition1 = False;
if L[1,1] == L[2,1] - PriceScale* 2 and L[1,1] <= L[2,1]-0.5 Then
Condition2 = true;
Else
Condition2 = False;
if sDate != sDate[1] Then
Condition3 = False;
if (Condition1 == true or Condition2 == true) && V>DV && Asks>Bids Then
Condition3 = true;
if Condition3 == true Then
Plot2(L,"매수");
2023-08-30
852
글번호 171992
종목검색
답변완료
문의 드립니다
input : StartTime(160000),EndTime(50000),진입횟수(10);
input : 익절틱수(400),손절틱수(50);
Inputs: Length(10), Pval(0.05);
var : Tcond(False),entry(0);
Variables: Mom(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;
entry = 0;
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 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1;
Mom = C- C[Length];
if Tcond == true and entry < 진입횟수 Then
{
If Mom > 0 AND Mom >= Mom[1] AND MarketPosition() <> 1 Then
Buy ("Mom_LE", AtStop, High + Pval);
If Mom < 0 AND Mom <= Mom[1] AND MarketPosition() <> -1 Then
ExitLong ("Mom_SE", AtStop, Low - Pval);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
---------------
위 수식어에 아침 6시 청산전 익절후 잔고가 없는데 익일 호가창에
예약 매도가 뜨고 장중 계속 호가창에 있습니다.
그 이유와 예약 수량을 취소를 수식어 추가로 강제 할수 있는지 문의드리고
전일 미체결 잔고는 장종료와 동시에 자동청산이 되도록 부탁합니다.
--------------------------------------------------
input : left(5),right(5);
var : sl1(0),sl2(0),sh1(0),sh2(0);
if SwingLow(1,L,Left,right,Left+right+1) != -1 Then
{
sl1 = l[right];
sl2 = sl1[1];
#최근저점이 전저점보다 크면 매수
if SL1 > SL2 and SL2 > 0 Then
buy();
}
if SwingHigh(1,H,Left,right,Left+right+1) != -1 Then
{
sh1 = h[right];
sh2 = sh1[1];
#최근고점이 전고점보다 작으면 매도
if SH1 < SH2 and SH2 > 0 Then
sell();
}
input : SL(140),SPR(2);
SetStopContract;
SetStopLoss(SL,PointStop);
SetStopProfittarget(SL*SPR,PointStop);
위 수식어에서 추가로 아래 내용의 포함을 부탁 드립니다.
1.
40 이평선 아래의 매수는 매도전환후 청산은 1 이평선 40 이평선 골든
2.
40 이평선 위에서 매도는 매수전환후 청산은 1 이평선 40 이평선 데드
2023-08-31
735
글번호 171990
시스템
답변완료
수식문의
수고하십니다.
아래수식으로 3분봉으로 검색하니
1. 당일 전일대비 3%이하 종목,
2. 거래량 100000만주 미만종목,
3. 당일 일봉상 음봉도 검색됩니다.
문의1) 아래수식으로 3분봉 검색시 1.2.3 조건을 충족하는 종목만 검색되도록
수정 부탁드립니다.
1. 전일대비 3% 이상 상승한 양봉
2. 거래량이 10만주 이상(전일거래량의 50% 이상)
3; 매도잔량이 매수잔량보다 큰 종목
Input : P1(20),T1(92929),T2(93000),Mult1(1.03),Mult2(0.5),DV(100000);
Var : Cnt(0),Sum(0),Mav(0),Hl(0),C1(0),BL(0);
Sum = 0;
For Cnt = 0 to P1-1
{
Sum = Sum + DayClose(Cnt);
}
Mav = Sum/P1;
if sDate != sDate[1] Then
Hl = C;
Else
{
if C > Hl Then
Hl = C;
}
if CrossUp(sTime,T1) Then
C1 = Hl[1];
if C1 > DayClose(1)*Mult1 Then
BL = C1;
if CrossUp(C,BL) and C > O and
C > Mav and
DayVolume >= DV and
DayVolume >= DayVolume(1)*Mult2 and
sTime >= T2 Then
Condition1 = true;
if Condition1 == true Then
Find(1);
2023-08-30
1062
글번호 171987
종목검색