커뮤니티

문의드립니다

프로필 이미지
zmfha
2024-01-18 08:43:28
645
글번호 175845
답변완료
1. Input : Period(14),sig(9); var : Relative(0),signal(0); Relative = RSI(Period); signal = ma(Relative,sig); if crossup(Relative,signal) Then buy(); if CrossDown(Relative,signal) Then sell(); 상기식을 데이타2용으로 수정해주셨으면합니다 .................................................................... 2. Input : Period(14),sig(9); var : Relative(0),signal(0); Relative = RSI(Period); signal = ma(Relative,sig); if crossup(Relative,signal) Then plot1(H,"검색",RED); if CrossDown(Relative,signal) Then plot1(L,"검색",blue); 상기식을 데이타2용으로 수정해 주세요 ............................................................................ 3. input : P1(7),P2(14),P3(21); var : R1(0),R2(0),R3(0),TX(0); R1 = RSI(P1); R2 = RSI(P2); R3 = RSI(P3); Condition1 = R1 > R2 and R2 > R3; Condition2 = R1 < R2 and R2 < R3; if Condition1 == true and Condition1 != Condition1[1] Then { Buy(); } if Condition2 == true and Condition2 != Condition2[1] Then { Sell(); } 상기식을 데이타2용으로 수정해 주세요 ....................................................................... 4. 종가저가인 음봉 캔들에는 파란색 엑스자를, 종가고가인 양봉 캔들에는 빨간색 엑스자를 검색식으로 표기 부탁드립니다. 엑스자 표기가 힘들다면 그냥 검색식으로 부탁 드립니다 ........................................................................... 매번 감사드립니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-01-18 11:32:59

안녕하세요 예스스탁입니다. 1 Input : Period(14),sig(9); var : Relative(0,Data2),signal(0,Data2); Relative = data2(RSI(Period)); signal = data2(ma(Relative,sig)); if data2(crossup(Relative,signal)) Then buy(); if data2(CrossDown(Relative,signal)) Then sell(); 2 Input : Period(14),sig(9); var : Relative(0,Data2),signal(0,Data2); Relative = data2(RSI(Period)); signal = data2(ma(Relative,sig)); if data2(crossup(Relative,signal)) Then Plot1(H,"검색",Red); if data2(CrossDown(Relative,signal)) Then Plot1(L,"검색",Blue); 3 input : P1(7),P2(14),P3(21); var : R1(0,Data2),R2(0,Data2),R3(0,Data2); var : cond1(false,Data1),cond2(False,Data2); R1 = data2(RSI(P1)); R2 = data2(RSI(P2)); R3 = data2(RSI(P3)); Cond1 = R1 > R2 and R2 > R3; Cond2 = R1 < R2 and R2 < R3; if cond1 == true and cond1 != cond1[1] Then { Buy(); } if cond2 == true and cond2 != cond2[1] Then { Sell(); } 4 var : tx(0); if C == L and C < O Then { tx = text_new(sDate,sTime,L,"X"); Text_SetStyle(tx,2,0); Text_SetColor(tx,Blue); } if C == H and C > O Then { tx = text_new(sDate,sTime,L,"X"); Text_SetStyle(tx,2,0); Text_SetColor(tx,Red); } 즐거운 하루되세요 > zmfha 님이 쓴 글입니다. > 제목 : 문의드립니다 > 1. Input : Period(14),sig(9); var : Relative(0),signal(0); Relative = RSI(Period); signal = ma(Relative,sig); if crossup(Relative,signal) Then buy(); if CrossDown(Relative,signal) Then sell(); 상기식을 데이타2용으로 수정해주셨으면합니다 .................................................................... 2. Input : Period(14),sig(9); var : Relative(0),signal(0); Relative = RSI(Period); signal = ma(Relative,sig); if crossup(Relative,signal) Then plot1(H,"검색",RED); if CrossDown(Relative,signal) Then plot1(L,"검색",blue); 상기식을 데이타2용으로 수정해 주세요 ............................................................................ 3. input : P1(7),P2(14),P3(21); var : R1(0),R2(0),R3(0),TX(0); R1 = RSI(P1); R2 = RSI(P2); R3 = RSI(P3); Condition1 = R1 > R2 and R2 > R3; Condition2 = R1 < R2 and R2 < R3; if Condition1 == true and Condition1 != Condition1[1] Then { Buy(); } if Condition2 == true and Condition2 != Condition2[1] Then { Sell(); } 상기식을 데이타2용으로 수정해 주세요 ....................................................................... 4. 종가저가인 음봉 캔들에는 파란색 엑스자를, 종가고가인 양봉 캔들에는 빨간색 엑스자를 검색식으로 표기 부탁드립니다. 엑스자 표기가 힘들다면 그냥 검색식으로 부탁 드립니다 ........................................................................... 매번 감사드립니다