커뮤니티
수식 작성 부탁드려요
2016-07-20 00:28:45
155
글번호 100215
input : 당일진입횟수(1),P(9);
var : cnt(0),count(0),RSIv(0);
count = 0;
for cnt = 0 to 20{
if sdate == EntryDate(cnt) Then
count = count+1;
}
RSIv = RSI(P);
if date != date[1] Then
Condition1 = false;
if RSIV >= 70 Then
Condition1 = true;
if stime < 145000 and
count < 당일진입횟수 and
dayopen >= DayClose(1)*1.10 and
dayopen < DayClose(1)*1.20 and
Condition1 == false
Then buy("b",AtMarket);
이 수식에 현재 RSI(9) 수치가 30 이하이면 매수한다는 조건을 추가하면 어떻게 수식을 작성하면 되나요?
답변 1
예스스탁 예스스탁 답변
2016-07-20 14:51:01
안녕하세요
예스스탁입니다.
input : 당일진입횟수(1),P(9);
var : cnt(0),count(0),RSIv(0);
count = 0;
for cnt = 0 to 20{
if sdate == EntryDate(cnt) Then
count = count+1;
}
RSIv = RSI(P);
if date != date[1] Then
Condition1 = false;
if RSIV >= 70 Then
Condition1 = true;
if stime < 145000 and
count < 당일진입횟수 and
dayopen >= DayClose(1)*1.10 and
dayopen < DayClose(1)*1.20 and
Condition1 == false and
RSIV < 30
Then buy("b",AtMarket);
즐거운 하루되세요
> 프로투자자 님이 쓴 글입니다.
> 제목 : 수식 작성 부탁드려요
> input : 당일진입횟수(1),P(9);
var : cnt(0),count(0),RSIv(0);
count = 0;
for cnt = 0 to 20{
if sdate == EntryDate(cnt) Then
count = count+1;
}
RSIv = RSI(P);
if date != date[1] Then
Condition1 = false;
if RSIV >= 70 Then
Condition1 = true;
if stime < 145000 and
count < 당일진입횟수 and
dayopen >= DayClose(1)*1.10 and
dayopen < DayClose(1)*1.20 and
Condition1 == false
Then buy("b",AtMarket);
이 수식에 현재 RSI(9) 수치가 30 이하이면 매수한다는 조건을 추가하면 어떻게 수식을 작성하면 되나요?