커뮤니티

지표식 검토 부탁드립니다.

프로필 이미지
예시스
2013-12-09 10:08:03
168
글번호 70246
답변완료
안녕하세요? 아래의 지표식을 예전에 노트하여 출처가 기억나지 않아 문의 드립니다. 본 지표식을 적용하면 지표라인 4개 중에 2개만 표시되는데 공부가 부족하여 어떤 문제 때문인지 알 수 없는데 주석과 함께 알려주시면 감사하겠습니다. Input: N(70), StartPrB(0.06), StartPrS(0.06); Vars: Ind(0), Plotgreen(0), Plotred(0), BuyZone1(0), SellZone1(0), CZone(0); Ind = Average(PercentR(9),3); Plotgreen = Mod(Index,2); Plotred = Mod(Index,2); BuyZone1=DZBuy(Ind, StartPrB, N); SellZone1=DZSell(Ind, StartPrS, N); CZone=DZBuy(Ind, 90, N); Plot1(Ind,"Indicator"); If Plotgreen = 0 then Plot2(BuyZone1,"Normal"); If Plotgreen = 1 then Plot3(SellZone1,"Normal"); Plot4(CZone,"Center");
지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2013-12-09 15:05:34

안녕하세요 예스스탁입니다. Input: N(70), StartPrB(0.06), StartPrS(0.06); Vars: Ind(0), Plotgreen(0), Plotred(0), BuyZone1(0), SellZone1(0), CZone(0); Ind = ma(PercentR(9),3); Plotgreen = Mod(Index,2); Plotred = Mod(Index,2); BuyZone1=DZBuy(Ind, StartPrB, N); SellZone1=DZSell(Ind, StartPrS, N); CZone=DZBuy(Ind, 90, N); Plot1(Ind,"Indicator"); If Plotgreen == 0 then Plot2(BuyZone1,"Normal"); If Plotgreen == 1 then Plot3(SellZone1,"Normal"); Plot4(CZone,"Center"); Plotgreen 이 0일때는 plot2가 그려지고 Plotgreen 이 1일때는 plot3이 그려지게 되어 있습니다. 한번에 다 그려보고자 하시면 plot문의 if문을 제거하시면 됩니다. Input: N(70), StartPrB(0.06), StartPrS(0.06); Vars: Ind(0), Plotgreen(0), Plotred(0), BuyZone1(0), SellZone1(0), CZone(0); Ind = ma(PercentR(9),3); Plotgreen = Mod(Index,2); Plotred = Mod(Index,2); BuyZone1=DZBuy(Ind, StartPrB, N); SellZone1=DZSell(Ind, StartPrS, N); CZone=DZBuy(Ind, 90, N); Plot1(Ind,"Indicator"); Plot2(BuyZone1,"Normal"); Plot3(SellZone1,"Normal"); Plot4(CZone,"Center"); 즐거운 하루되세요 > 예시스 님이 쓴 글입니다. > 제목 : 지표식 검토 부탁드립니다. > 안녕하세요? 아래의 지표식을 예전에 노트하여 출처가 기억나지 않아 문의 드립니다. 본 지표식을 적용하면 지표라인 4개 중에 2개만 표시되는데 공부가 부족하여 어떤 문제 때문인지 알 수 없는데 주석과 함께 알려주시면 감사하겠습니다. Input: N(70), StartPrB(0.06), StartPrS(0.06); Vars: Ind(0), Plotgreen(0), Plotred(0), BuyZone1(0), SellZone1(0), CZone(0); Ind = Average(PercentR(9),3); Plotgreen = Mod(Index,2); Plotred = Mod(Index,2); BuyZone1=DZBuy(Ind, StartPrB, N); SellZone1=DZSell(Ind, StartPrS, N); CZone=DZBuy(Ind, 90, N); Plot1(Ind,"Indicator"); If Plotgreen = 0 then Plot2(BuyZone1,"Normal"); If Plotgreen = 1 then Plot3(SellZone1,"Normal"); Plot4(CZone,"Center");
프로필 이미지

예시스

2013-12-09 23:59:39

예시스 님에 의해 삭제된 답변입니다.