커뮤니티

문의드립니다

프로필 이미지
새벽에
2023-12-14 14:13:29
1072
글번호 174846
답변완료
안녕하세요? 2가지 각각다른식에서 질문드립니다 1. 아래조건문에서 if count == P Then plot1(count,"Trend Score",RED); else if count == -P Then plot1(count,"Trend Score",BLUE); Else { if count > count[1] Then plot1(count,"Trend Score",WHITE); Else plot1(count,"Trend Score",BLACK); } 직전봉이 파랑선이 빨강선으로 바뀌거나 검은색이하얀색으로바뀌면 매수 하얀선이 검은색으로바뀌면 매도 2. color = iff(avg_bull_vol>avg_bear_vol and vol_flat/avg_bull_vol<(1-delta/100) , Red, IFf(avg_bull_vol<avg_bear_vol and vol_flat/avg_bear_vol<(1-delta/100) ,Blue, Green)); 직전봉이 초록선이빨강으로바뀌거나 파랑선이초록으로바뀌면매수 빨강선이초록으로바뀌거나 초록선이파랑으로바뀌면매도 부탁드립니다 감사합니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-12-14 15:56:28

안녕하세요 예스스탁입니다. 1 var : color(0); if count == P Then color = Red; else if count == -P Then color = Blue; Else { if count > count[1] Then color = White; Else color = Black; } if (color == red and color[1] == Blue) or (color == White and color[1] == Black) Then Buy(); if (color == Black and color[1] == White) Then Sell(); 2 color = iff(avg_bull_vol>avg_bear_vol and vol_flat/avg_bull_vol<(1-delta/100) , Red, IFf(avg_bull_vol<avg_bear_vol and vol_flat/avg_bear_vol<(1-delta/100) ,Blue, Green)); if (color == red and color[1] == Green) or (color == Green and color[1] == Blue) Then Buy(); if (color == Green and color[1] == Red) or (color == Blue and color[1] == Green) Then Sell(); 즐거운 하루되세요 > 새벽에 님이 쓴 글입니다. > 제목 : 문의드립니다 > 안녕하세요? 2가지 각각다른식에서 질문드립니다 1. 아래조건문에서 if count == P Then plot1(count,"Trend Score",RED); else if count == -P Then plot1(count,"Trend Score",BLUE); Else { if count > count[1] Then plot1(count,"Trend Score",WHITE); Else plot1(count,"Trend Score",BLACK); } 직전봉이 파랑선이 빨강선으로 바뀌거나 검은색이하얀색으로바뀌면 매수 하얀선이 검은색으로바뀌면 매도 2. color = iff(avg_bull_vol>avg_bear_vol and vol_flat/avg_bull_vol<(1-delta/100) , Red, IFf(avg_bull_vol<avg_bear_vol and vol_flat/avg_bear_vol<(1-delta/100) ,Blue, Green)); 직전봉이 초록선이빨강으로바뀌거나 파랑선이초록으로바뀌면매수 빨강선이초록으로바뀌거나 초록선이파랑으로바뀌면매도 부탁드립니다 감사합니다