답변완료
수식수정
input : EmaPeriod(80);
input : RSIPeriod1(7),RSIPeriod2(14),RSIPeriod3(21),RSI차이(7);
input : ADXPeriod(20);
input : 익절(50),손절(50);
var : Emav(0,Data1),RSI1(0,Data1),RSI2(0,Data1),RSI3(0,Data1),ADXv(0,Data1);
var : Bcond(False,Data1),Scond(False,Data1);
Input : 당일수익틱수(200);
Var : N1(0,Data1),dayPl(0,Data1),당일수익(0,Data1);
var : Tcond(false,Data1),Xcond(false,Data1);
if Bdate != Bdate[1] Then
{
Xcond = False;
}
당일수익 = data1(PriceScale*당일수익틱수);
if Bdate != Bdate[1] Then
{
Xcond = false;
N1 = NetProfit;
}
daypl = NetProfit-N1;
if TotalTrades > TotalTrades[1] then
{
if daypl >= 당일수익 Then
Xcond = true;
if (IsExitName("dbp",1) == true or IsExitName("dsp",1) == true) then
Xcond = true;
}
Emav = data1(Ema(C,EmaPeriod));
RSI1 = data1(RSI(RSIPeriod1));
RSI2 = data1(RSI(RSIPeriod2));
RSI3 = data1(RSI(RSIPeriod3));
ADXv = data1(ADX(ADXperiod));
Bcond = MarketPosition == 0 and MarketPosition(1) == 1 and MarketPosition(2) == 1;
Scond = MarketPosition == 0 and MarketPosition(1) == -1 and MarketPosition(2) == -1;
if Xcond == false then
{
if C > Emav and
RSI1 >= RSI2+RSI차이 and RSI2 >= RSI3+RSI차이 and
ADXV >= 21 and
Bcond == False and
Data2(ma(C,60) > ma(C,10)) Then
buy();
if C < Emav and
RSI1 <= RSI2-RSI차이 and RSI2 <= RSI3-RSI차이 and
ADXV >= 21 and
Scond == False and
Data2(ma(C,60) < ma(C,10)) Then
Sell();
}
if MarketPosition == 1 then
{
ExitLong("dbp",atlimit,EntryPrice+((당일수익-daypl)/CurrentContracts));
}
if MarketPosition == -1 then
{
ExitShort("dsp",atlimit,EntryPrice-((당일수익-daypl)/CurrentContracts));
}
안녕하세요
위식에서 시스탬 변수설정 화면에서
보이지 않게 부탁드림니다
input
2024-04-09
790
글번호 178409
시스템
답변완료
검색식 부탁 드립니다
crossup(cci(period),0)
지표변수
period 50
파워검색 조건도 알려주세요
..........................
첫봉조건=max(C,O);
조건=DATE != DATE(1);
Valuewhen(1,조건,첫봉조건);.
첫5분봉 돌파종목 검색부탁 드립니다
파워종목 조건도 알식 려주세요
...........................................
> 함수명 상승개수(횡보)
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)
상승개수선
A=상승개수(횡보율)/21*100;
eavg(A,5)
분봉 60
S=sum(1);
R=S%60;
W=R==1;
HH=HighestSince(1,W,H);
X=valuewhen(1,W,HH(1));
LL=LowestSince(1,W,L);
Y=valuewhen(1,W,LL(1));
Z=valuewhen(1,W,C(1));
(X+Y+Z)/3)
상승개선이 분봉60 아래로 내려온 종목 검색식 부탁드립니다
파워종목 조건도 알려 주세요
2024-04-09
868
글번호 178406
종목검색