커뮤니티

부탁드립니다

프로필 이미지
파생돌이
2016-10-09 21:36:21
115
글번호 102699
답변완료
수고하십니다 아래수식에서 색변환시 plot1(mav,"이평",GRAY);을 DarkGRAY로색변환수식을부탁드립니다 input : P(10); var : mav(0),Direction(0); mav = ma(c,P); if mav > mav[1] Then{ Direction = 1; } if mav < mav[1] Then Direction = -1; if Direction == 1 Then plot1(mav,"이평",LMAGENTA); Else plot1(mav,"이평",GRAY);
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-10-10 14:50:23

안녕하세요 예스스탁입니다. DarkGRAY가 EL모드에서만 사용되는 예약어라 따로 해당 예약어로는 변경이 되지 않습니다. 색상은 RGB함수로 지정하실 수도 있습니다. 좀더 짙은 그레이로 변경해 드립니다. RGB색상코드표는 첨부된 엑셀문서 참고하시기 바랍니다. input : P(10); var : mav(0),Direction(0); mav = ma(c,P); if mav > mav[1] Then{ Direction = 1; } if mav < mav[1] Then Direction = -1; if Direction == 1 Then plot1(mav,"이평",LMAGENTA); Else Plot1(mav,"이평",rgb(105,105,105)); 즐거운 하루되세요 > 파생돌이 님이 쓴 글입니다. > 제목 : 부탁드립니다 > 수고하십니다 아래수식에서 색변환시 plot1(mav,"이평",GRAY);을 DarkGRAY로색변환수식을부탁드립니다 input : P(10); var : mav(0),Direction(0); mav = ma(c,P); if mav > mav[1] Then{ Direction = 1; } if mav < mav[1] Then Direction = -1; if Direction == 1 Then plot1(mav,"이평",LMAGENTA); Else plot1(mav,"이평",GRAY);