답변완료
신호검색 수식 변경 부탁드려요
현재 영웅문에서 사용중인 신호검색기입니다
혹시 예스트레이드에서 사용가능하도록 변경 부탁드려도 될까요?
C<ma(C,기간2,가중)
and
C>ma(ma(c,기간1/2,가중)*2-ma(c,기간1,가중),SQRT(기간1),가중)
and
(
Crossup(C,(highest(high,shortPeriod)+lowest(low,shortPeriod))/2
)
or
Crossup(C,(highest(high,midPeriod)+lowest(low,midPeriod))/2)
or
Crossup(C,sum((H+L+C)/3*V, 기간1)/sum(V, 기간1)))
기간1 20
기간2 60
shortperiod 9
midperiod 26
입니다
2025-07-21
203
글번호 192634
강조
답변완료
예스랭귀지로 변환 부탁드려요
키움지표입니다.
예스랭귀지로 변환 부탁드립니다.
A=if(Sum(거래량, Period) > 0,
Sum(((고가+저가)/2) * 거래량, Period) / Sum(거래량, Period),
(Max(고가,Period) + Min(저가,Period))/2);
A(2)>=A(1) && A(1)<A
period 9
저번주 비피해 없으셨길 바라며, 무더위가 시작되었는데 건강조심하시길 바라겠습니다.
즐거운 하루 보내세요~
2025-07-21
161
글번호 192626
종목검색
답변완료
문의 드립니다.
안녕하세요
항상 감사드립니다.
아래의 서식에서 추가 서식 부탁드립니다.
*진입조건추가
1. 진입 수량 추가: 10계약
2. 전일 수익이 마이너스 일시 당일은 1/2로 줄여서(5계약) 진입, 당일도 마이너스이면 그 다음날도 같은 5계약(1/2)으로 진입
3. 전일 수익이 플러스 일때는 기존 계약 그대로 진입 (10계약)
*전일 마이너스 수익이 나면 진입 규모를 1/2로 줄이고, 수익이 나면 기존 계약수 대로 진입하는 전략입니다.
** 진입 수량 추가가 어려우면 전일 마이너스 수익시 절반만 진입한다는 로직만 추가해주시면 됩니다.
# KOSPI 선물 10분봉
input: 당일진입횟수(3);
Input: chkP(3), reChkP(10), stopChk(20);
var: HH(0), LL(0), BS(0), SS(0);
var: dayChk(0);
var : TotalCount(0),PreDay(0),DayEntry(0);
TotalCount = TotalTrades;
if Bdate != Bdate[1] Then
PreDay = TotalCount[1];
DayEntry = (TotalCount-PreDay)+IFF(MarketPosition != 0,1,0);
if BarIndex == 0 then ClearDebug();
if dayindex == chkP then
{
HH = Highest(Max(C,O), chkP+1);
LL = Lowest(Min(C,O), chkP+1);
#if date == 20240612 then messageLog("--HH %.2f, LL: %.2f", HH, LL);
}
#if High >= HH and MarketPosition == 0 and ExitDate(1) < Date and time > 93000 then messageLog("HH %.2f, High: %.2f", HH, High);
if DayIndex >= chkP
# and Time < 95000
and sDate == NextBarSdate
and EntryDate(0) < Date
and EntryDate(1) < Date
and DayEntry < 당일진입횟수
Then {
Buy("B1", AtStop, HH);
Sell("S1", AtStop, LL);
}
//if dayChk == 0 and High >= HH and MarketPosition == 0 and ExitDate(1) < Date and time > 93000 then {
// messageLog("HH %.2f, High: %.2f", HH, High);
// dayChk = 1;
//}
if ExitDate(1) == Date
and Time < 150000
// and LatestEntryName(1) != "B2"
// and LatestEntryName(1) != "S2"
// and LatestEntryName(0) != "B2"
// and LatestEntryName(0) != "S2"
Then
{
if DayIndex < reChkP Then
{
HH = Highest(Max(C,O), DayIndex+1);
LL = Lowest(Min(C,O), DayIndex+1);
}
Else
{
HH = Highest(Max(C,O), reChkP);
LL = Lowest(Min(C,O), reChkP);
}
if DayEntry < 당일진입횟수 Then
{
Buy("B2", AtStop, HH);
Sell("S2", AtStop, LL);
}
}
if (MarketPosition == 1) Then {
if DayIndex < stopChk Then {
BS = Lowest(Min(C,O), DayIndex+1);
}
Else {
BS = Lowest(Min(C,O), stopChk);
}
ExitLong("EL", AtStop, BS);
}
if (MarketPosition == -1) Then {
if DayIndex < stopChk Then {
SS = Highest(Max(C,O), DayIndex+1);
}
Else {
SS = Highest(Max(C,O), stopChk);
}
#messageLog(" SS %.2f", SS);
ExitShort("ES", AtStop, SS);
}
var : month(0),nday(0),week(0),X(False);
month = int(date/100)-int(date/10000)*100;
nday = date - int(date/100)*100;
Week = DayOfWeek(date);
#만기일
if (month%3 == 0 and nday >= 8 and nday <= 14 and week == 4) then
{
X = true;
SetStopEndofday(151500);
}
Else#만기일아닐때
{
X = False;
SetStopEndofday(152000);
}
2025-07-21
216
글번호 192618
지표
답변완료
문의 드립니다.
안녕하세요 ~
현재 가격이 아래의 강도파동 선을 돌파하는 검색식 부탁 드립니다.
// 누적 거래량 계산
cumulative_buying = eavg(if(C>O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length);
cumulative_selling = eavg(if(C<O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length);
// 거래량 강도 파동의 EMA
volume_strength = if(cumulative_buying > cumulative_selling, cumulative_buying, cumulative_selling);
eavg(volume_strength, cumulation_length)
지표조건
cumulation_length 14
감사합니다.
2025-07-21
149
글번호 192613
검색