커뮤니티

수식이 궁금합니다...

프로필 이미지
레드골드
2018-09-14 10:52:44
212
글번호 122059
답변완료
ver : tx(0) ver1=dayhigh; ver2=daylow; Text_Delete(tx); tx = Text_New(sdate,stime,ver1,NumToStr((ver1-ver2)/PriceScale,0)); 수식에서 당일 수치나옵니다.. 챠트를 몇일 전부터 보면 그날 마직막 고가도 수치가 나오게 할수있나요?? 만약 10일에서 11로 날짜가 변화면 10일 마직막 고가선에 그날 (고가-저가)틱수를 챠트에 넣고싶습니다.. 2. 틱차트(100틱)인데 장 시작후 20개 봉 이후부터 거래를 시작하는 수식은 어떻게 되나요?? 수고하세요..
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-09-14 13:22:34

안녕하세요 예스스탁입니다. 1 var : ver1(0),ver2(0),ver3(0),ver4(0); var : tx1(0),tx2(0); ver1=dayhigh; ver2=daylow; ver3=dayhigh(1); ver4=daylow(1); Text_Delete(tx1); tx1 = Text_New(sdate,stime,ver1,NumToStr((ver1-ver2)/PriceScale,0)); if bdate != bdate[1] Then tx2 = Text_New(sdate[1],stime[1],ver3,NumToStr((ver3-ver4)/PriceScale,0)); 2 var : idx(0); if bdate != bdate[1] Then { idx = 0; } idx = idx+1; if idx >= 20 then { 진입청산수식 } 즐거운 하루되세요 > 레드골드 님이 쓴 글입니다. > 제목 : 수식이 궁금합니다... > ver : tx(0) ver1=dayhigh; ver2=daylow; Text_Delete(tx); tx = Text_New(sdate,stime,ver1,NumToStr((ver1-ver2)/PriceScale,0)); 수식에서 당일 수치나옵니다.. 챠트를 몇일 전부터 보면 그날 마직막 고가도 수치가 나오게 할수있나요?? 만약 10일에서 11로 날짜가 변화면 10일 마직막 고가선에 그날 (고가-저가)틱수를 챠트에 넣고싶습니다.. 2. 틱차트(100틱)인데 장 시작후 20개 봉 이후부터 거래를 시작하는 수식은 어떻게 되나요?? 수고하세요..