답변완료
3분봉으로 알아 보고 싶습니다.
PredayClose() < C
and
avg(C(1),5) < avg(C(4),5)
and
avg(C(1),5) < avg(C,5)
and
C > avg( C,226)
and
C > avg( C,60)
and
avg(C,60) > avg(C(5),60)
and
C > (highest(high,midPeriod)+lowest(low,midPeriod))/2
지표변수는 midperiod 52
/////////////////////////////
DayOpen() < PredayClose()*1.10
and
PredayClose() < C
and
avg(C(1),5) < avg(C(4),5)
and
avg(C(1),5) < avg(C,5)
and
C > (BBandsUp(300,2))
and
C > avg( C,226)
and
C > avg( C,60)
and
avg(C,60) > avg(C(5),60)
and
C > (highest(high,midPeriod)+lowest(low,midPeriod))/2
지표변수는 위에 조건과 같습니다.
두 신호가 동시에 같이 나왔을때 종목을 보고 싶습니다.
부탁 드립니다.
2021-03-15
808
글번호 147091
종목검색
답변완료
문의 드립니다.
안녕하세요 주말 잘 보내셨습니까?
아래 수식을 보시면 한 캔들에서 숫자 표시 되게 했는데요
1. 숫자 엎에서 수평선 나오게 하고 싶고
2. 1분 봉에서 60분봉 캔들 처럼 계속 숫자와 수평선 나오게 하고 싶습니다.
다시 설명 드리자면 60분에서 시가 시작하면 시가 숫자 50자리 숫자 100자리 숫자 나오게 하는데
1분 봉에 사용하면 1분 봉만 시가 시작 하면서 숫자가 나오잖아요 계속 1분봉씩 발생하는데요.
제가 원하는게 1분 봉에 60분 봉의 시가 숫자 50자리 숫자 100자리 숫자 유지 되게 하고 싶습니다. 60분 끝나면 다음 새로운 60분봉에도 표시 되게 필요합니다.
가능할까요?ㅜㅜ
감사합니다. 힘내세요.
Input : TH(100);
Input : TL(100);
Input : NH(50);
Input : NL(50);
var : tx1(0),tx2(0),tx3(0),tx4(0),tx5(0);
var1 = NextBarOpen;
Plot1 ((tx1),"1차라인",RGB(255,255,0),DEF,1);
Text_Delete(tx1);
Text_Delete(tx2);
Text_Delete(tx3);
Text_Delete(tx4);
Text_Delete(tx5);
tx1 = Text_New(sdate,stime,var1,NumToStr(var1,2));
tx2 = Text_New(sdate,stime,var1+PriceScale*tH,NumToStr(var1+PriceScale*TH,2));
tx3 = Text_New(sdate,stime,var1-PriceScale*tL,NumToStr(var1-PriceScale*TL,2));
tx4 = Text_New(sdate,stime,var1+PriceScale*NH,NumToStr(var1+PriceScale*NH,2));
tx5 = Text_New(sdate,stime,var1-PriceScale*NL,NumToStr(var1-PriceScale*NL,2));
Text_SetStyle(tx1, 0, 1);
Text_SetStyle(tx2, 0, 1);
Text_SetStyle(tx3, 0, 1);
Text_SetStyle(tx4, 0, 1);
Text_SetStyle(tx5, 0, 1);
Text_SetColor(tx1, REd);
Text_SetColor(tx2, BLACK);
Text_SetColor(tx3, BLACK);
Text_SetColor(tx4, BLACK);
Text_SetColor(tx5, BLACK);
Text_SetSize(tx1,11);
Text_SetBold(tx1,1);
Text_SetSize(tx2,11);
Text_SetBold(tx2,1);
Text_SetSize(tx3,11);
Text_SetBold(tx3,1);
Text_SetSize(tx4,11);
Text_SetBold(tx4,1);
Text_SetSize(tx5,11);
Text_SetBold(tx5,1);
2021-03-15
548
글번호 147085
지표
답변완료
자꾸 재문의를 드리네요
안녕하세요
전에 도식화로 시스템식을 요청드렷던 사람입니다.
시스템 검증 과정에서 저의 생각과 좀 틀린부분이 있어 요청을 드립니다.
매수포지션을 가져가서 횡보할때 매수한지 1시간 이후에 청산하는 부분이 있었습니다.
1타점 매수, 2타점 매수, 3타점 매수 분할매수로 되어있는데. 매수한지 1시간 이후는
1타점 매수에 대해서만. 해당 되는 것 같아 요청드립낟.
예를 들면, 1타점 매수후 2타점이 까지 조건이 만족해서 2타점 까지 매수하여
횡보하던중.. 제 기준은 2타점 매수후 1시간 횡보하면, 청산이였는데..
시스템식을 돌려보니 1타점 매수후부터로 1시간 횡보하면 청산되는 것으로 나오게 됩니다.
기존에 요청드렸던 시스템식을 같이 송부합니다. 확인 부탁드리겠습니다.
var : entry(0),AP(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1;
if MarketPosition == 0 and Dayopen(0) >= DayClose(1)*1.005 Then
{
if entry == 0 or
(entry >= 1 and (sTime < 115000 or Highest(H,BarsSinceExit(1)) < AP*1.06) and IsExitName("Bp1",1) == true) Then
Buy("b1",AtLimit,DayOpen*0.97);
}
if Dayopen(0) >= DayClose(1)*1.005 and
( (MarketPosition == 1 and MaxEntries == 1 and IsEntryName("b1") == true) or
(MarketPosition == 0 and entry >= 1 and IsExitName("Bp2",1) == true and (sTime < 115000 or Highest(H,BarsSinceExit(1)) < AP*1.06))) Then
Buy("b2",AtLimit,DayOpen*0.94);
if Dayopen(0) >= DayClose(1)*1.005 and
((MarketPosition == 1 and MaxEntries == 2 and IsEntryName("b1") == true) or
(MarketPosition == 1 and MaxEntries == 1 and IsEntryName("b2") == true)) Then
Buy("b3",AtLimit,DayOpen*0.91);
if MarketPosition == 1 Then
{
AP = AvgEntryPrice;
if MaxEntries == 1 and IsEntryName("b1") == true Then
{
ExitLong("bp1",AtLimit,AP*1.02);
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+60 Then
ExitLong("bx1");
}
if (MaxEntries == 2 and IsEntryName("b1") == true) or
(MaxEntries == 1 and IsEntryName("b2") == true) Then
{
ExitLong("bp2",AtLimit,AP*1.01);
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+60 Then
ExitLong("bx2");
}
if (MaxEntries == 3 and IsEntryName("b1") == true) or
(MaxEntries == 2 and IsEntryName("b2") == true) Then
{
ExitLong("bp3",AtLimit,AP*1.005);
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+60 Then
ExitLong("bx3");
}
ExitLong("bl",AtStop,DayOpen*0.88);
}
SetStopEndofday(151800);
2021-03-15
569
글번호 147084
시스템
답변완료
검색식요청의 건
아래의 식에서 특정날짜와 특정시간에서 입력해서 찾는 수식을 부탁드립니다.
예를 들어서, 202104 날자에 시간을 10시 이고, 5분봉에서 아래와 같은 식에 추가하고 싶습니다. 부탁드립니다. (아래의 식은이동평균선 수렴입니다.)
Input : shortPeriod(5), midPeriod(20), longPeriod(60);
value1 = ma(C,shortPeriod);
value2 = ma(C,midPeriod);
value3 = ma(C,longPeriod);
If max(C,value1,value2,value3) < min(C,value1,value2,value3)*1.05 && V > 0 Then
{
If C == C[1] Then
value4 = 0.001;
Else
value4 = (C-C[1])/C[1]*100;
}
Else
value4 = 0;
Find(value4);
2021-03-15
564
글번호 147083
검색