커뮤니티
검증기간을 늘릴려면 어떻게 해야되나요?
2018-12-02 19:08:23
199
글번호 121431
input : Period(2),익절틱수(1),손절틱수(30),하락틱수(1);
input : P1(100),P2(1);
var : DParity(0);
DParity = Disparity(Period);
if CrossDown(DParity,P1) Then
Buy("매수");
if CrossUp(DParity,P2) Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
답변 5
예스스탁 예스스탁 답변
2018-08-20 12:55:50
안녕하세요
예스스탁입니다.
프로그램에는 2개의 차트가 제공됩니다.
전략실행차트
시뮬레이션차트
전략실행차트는 최대 조회봉수가 1만개 이고
실시간데이터에 전략을 적용할수 있는 차트이도 자동매매용입니다.
시뮬레이션 차트에 당일 데이터는 제공되지 않고
장기간의 과거 데이터에 시스템을 적용해 볼수 있는 차트로
조회건수나 기간을 지정해 데이터를 조회할수 있습니다.
2개 차트 모두 프로그램의 시스템 트레이딩 메뉴에서 찾으실수 있습니다.
즐거운 하루되세요
> 이형지 님이 쓴 글입니다.
> 제목 : 검증기간을 늘릴려면 어떻게 해야되나요?
> 검증기간을 늘릴려면 어떻게 해야되나요?
차트에 R표기를 누르면 약 10일간 시스템성능보고서에 검증이 되는데요..
기간을 늘리게 검증하는 법을 알려주세요~~
이형지
2018-12-03 03:44:25
input : 익절틱수(1),손절틱수(30),하락틱수(1);
if MarketPosition == 0 and c<c[1] Then
Buy("매수");
if MarketPosition == 0 and c>c[1] Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
> 이형지 님이 쓴 글입니다.
> 제목 : 검증기간을 늘릴려면 어떻게 해야되나요?
> input : Period(2),익절틱수(1),손절틱수(30),하락틱수(1);
input : P1(100),P2(1);
var : DParity(0);
DParity = Disparity(Period);
if CrossDown(DParity,P1) Then
Buy("매수");
if CrossUp(DParity,P2) Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
이형지
2018-12-04 04:35:35
input : 익절틱수(2),손절틱수(19),하락틱수(1);
input : 음봉크기(5),양봉크기(10);
var : idx(0),S1(0);
if sdate != sdate[1] Then
{
if S1 == 80000 Then
SetStopEndofday(063000);
Else
SetStopEndofday(065000);
}
if bdate != bdate[1] Then
{
idx = 0;
S1 = stime;
SetStopEndofday(0);
}
Else
idx = idx+1;
if idx >= 1 then
{
if MarketPosition == 0 and c<(c[1]-0.01*음봉크기) Then
Buy("매수");
if MarketPosition == 0 and c>(c[1]+0.01*양봉크기) Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
}
이형지
2018-12-04 04:35:57
input : Period(2),익절틱수(1),손절틱수(30),하락틱수(1);
input : P1(100),P2(1);
var : DParity(0);
DParity = Disparity(Period);
if CrossDown(DParity,P1) Then
Buy("매수");
if CrossUp(DParity,P2) Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
이형지
2018-12-04 13:25:52
input : 익절틱수(3),손절틱수(65),하락틱수(1);
input : 음봉크기(8),양봉크기(6);
var : idx(0),S1(0);
if sdate != sdate[1] Then
{
if S1 == 80000 Then
SetStopEndofday(063000);
Else
SetStopEndofday(065000);
}
if bdate != bdate[1] Then
{
idx = 0;
S1 = stime;
SetStopEndofday(0);
}
Else
idx = idx+1;
if idx >= 1 then
{
if MarketPosition == 0 and c<(c[1]-0.01*음봉크기) Then
Buy("매수");
if MarketPosition == 0 and c>(c[1]+0.01*양봉크기) Then
Sell("매도");
SetStopTrailing(PriceScale*하락틱수,PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수, PointStop);
}