커뮤니티

부탁드립니다.

프로필 이미지
yes
2017-01-22 12:23:59
119
글번호 106169
답변완료
도움주심에 감사 드립니다. 수식1을 수식2와 합성하여 지정된 일시 이후에만 수식1 지표가 나타 나도록 부탁 드립니다. 미리 감사 드립니다. 수식1) var:n(0); n=pow(10,0.3)*V; if CurrentBar >= 1 Then var1 =((n-V)*var1[1]+c*V)/n; var2=ma(c,3); var3=var2-var1; plot3(var3,"histo"); PlotBaseLine1(0,"0"); 수식2) input:시작년도(2017),월(1),일(19),시작시분only(0800),truefalse선택(true); variables: StartCalcDate(0),StartTime(0),Started( false ),aa(0) ; StartCalcDate=시작년도*10000+월*100+일; StartTime=시작시분ONLY*100; if Date >= StartCalcDate and Time >= StartTime then begin end ; if Started == false and ( ( Date >= StartCalcDate and Time >= StartTime ) and ( ( Time[1] < StartTime or Date[1] < StartCalcDate ) or Date[1] > StartCalcDate ) ) then begin Started = truefalse선택 ; end else if >= 1 then if Started then begin end ;
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-01-23 14:39:23

안녕하세요 예스스탁입니다. 2번식의 하단 내용은 어떤 내용인지 잘 모르겠습니다. 1번식에서 지정한 날짜와 시간 이후에만 출력되게 작성해 드립니다. input :시작년도(2017),월(1),일(19),시작시분only(0800); var : StartCalcDate(0),StartTime(0),Started( false ); var:n(0); n=pow(10,0.3)*V; if CurrentBar >= 1 Then var1 =((n-V)*var1[1]+c*V)/n; var2=ma(c,3); var3=var2-var1; StartCalcDate=시작년도*10000+월*100+일; StartTime=시작시분ONLY*100; if Date >= StartCalcDate and Time >= StartTime then { Started = true; } if Started == true then{ plot3(var3,"histo"); PlotBaseLine1(0,"0"); } 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁드립니다. > 도움주심에 감사 드립니다. 수식1을 수식2와 합성하여 지정된 일시 이후에만 수식1 지표가 나타 나도록 부탁 드립니다. 미리 감사 드립니다. 수식1) var:n(0); n=pow(10,0.3)*V; if CurrentBar >= 1 Then var1 =((n-V)*var1[1]+c*V)/n; var2=ma(c,3); var3=var2-var1; plot3(var3,"histo"); PlotBaseLine1(0,"0"); 수식2) input:시작년도(2017),월(1),일(19),시작시분only(0800),truefalse선택(true); variables: StartCalcDate(0),StartTime(0),Started( false ),aa(0) ; StartCalcDate=시작년도*10000+월*100+일; StartTime=시작시분ONLY*100; if Date >= StartCalcDate and Time >= StartTime then begin end ; if Started == false and ( ( Date >= StartCalcDate and Time >= StartTime ) and ( ( Time[1] < StartTime or Date[1] < StartCalcDate ) or Date[1] > StartCalcDate ) ) then begin Started = truefalse선택 ; end else if >= 1 then if Started then begin end ;