답변완료
문의
b1,b2가 upfilter로 진입하지 않는 상황이 발생하는 경우에
b3으로 추가진입하는 수식을 요청드립니다.
-당일 시가기준으로 고가갱신이 N회 이상이면 b3 진입
-당일 b3 직전거래는 없어야 함
-당일 b3 거래는 1번임.
-당일 b3 거래발생하면 b1,b2 거래는 하지 않음
**************************************************************************************
input : 진입시간(090000);
input : b1(20),b2(20);
input : upfilter(1.20);
var : T1(0),entry(0),LL(0),EH(0);
if Bdate != Bdate[1] Then
T1 = TotalTrades;
if MarketPosition == 0 Then
entry = TotalTrades-T1;
Else
entry = (TotalTrades-T1)+1;
if MarketPosition == 0 and entry == 0 and stime >= 진입시간 and C >= daylow+PriceScale*B1 and C[1] < daylow+PriceScale*B1 and C < daylow+upfilter Then
buy("b1,AtMarket");
if TotalTrades > TotalTrades[1] Then
LL = L;
if L < LL Then
LL = L;
if MarketPosition == 0 and entry == 1 and stime >= 진입시간 and C >= LL+PriceScale*B2 and C[1] < LL+PriceScale*B2 and C < daylow+upfilter Then
buy("b2,AtMarket");
2019-12-26
177
글번호 134639
시스템
답변완료
부탁합니다.
Input : Period(9),SigPeriod(18);
var : RSIV(0),RSIS(0),RSIO(0);
RSIV = RSI(Period);
RSIS = ema(RSIV,SigPeriod);
RSIO = RSIV-RSIS;
if RSIO > 0 Then
Plot1(RSIO,"osc",RED);
Else
Plot1(RSIO,"osc",BLUE);
PlotBaseLine1(0, "기준선1");
위 수식을 0선돌파 매수,매도 시스템식으로 해주세요
2019-12-24
171
글번호 134638
시스템
답변완료
택스트 위치이동
안녕하세요
아래의 식을 사용중인데 일부입니다.
if SwingLow(1,L,Left,right,left+right+1) != -1 Then{
SLV1 = L[Right]; //최근저점
SLV2 = SLV1[1]; //직전저점
SLH1 = H; //최근 저점이후 최고가 저장할 변수 초기값
SLH2 = SLH1[1]; //직전저점과 최근저점 사이 최고가
SL1 = Text_New(Sdate[Right],stime[Right],L[right]-PriceScale,"■"); #■
Text_SetColor(SL1,BLUE);
SL2 = SL1[1];
SL3 = SL2[1];
Text_Delete(SL3);
}
첨부한 그림처럼 ■의 화면출력된 위치에서 우측으로 약10 포인트 또는 5~10MM정도 좌측(1) 또는 우측이동(2번)둘중하나로)출력하고 싶습니다,
2019-12-24
159
글번호 134634
지표