커뮤니티

수정해주세요----

프로필 이미지
leekss1
2012-05-03 07:36:35
457
글번호 50733
답변완료
1) Condition1 = False; Condition3 = False; if dayindex > 10 and stime > 090000 and stime < 144500 and( c[3] < c[1] and c[1] > c ) Then{ if h > (goldjisu+var1)+1 and cvcha > -900 then { plot8(h+0.0,"색매도"); } if ( countif (h >= h[40]+0.15 and goldt <goldt[40] - 0.05,20) >=20 and dayindex > 40) then { Condition1 = True; if( Condition1 == true and cvcha > -900 ) Then { Condition3 = True; if Condition3 == True // and goldjisutem < goldjisutem[1] then { plot9(h+0.0,"골드매도"); PlaySound("C:₩예스트레이더31₩Data₩alert.wav"); } } } } --------------------------------------------------------------------------- 2) Condition1 = False; Condition3 = False; if dayindex > 10 and stime > 090000 and stime < 144500 and( c[3] < c[1] and c[1] > c ) Then{ if h > (goldjisu+var1)+1 and cvcha > -900 then { plot8(h+0.0,"색매도"); } if ( countif (h >= h[40]+0.15 and goldt <goldt[40] - 0.05,20) >=20 and dayindex > 40) then { Condition1 = True; if( Condition1 == true and cvcha > -900 ) Then { Condition3 = True; if Condition3 == True and goldjisutem < goldjisutem[1] then { plot9(h+0.0,"골드매도"); PlaySound("C:₩예스트레이더31₩Data₩alert.wav"); } } } } 가르쳐주신데로 수정후 적용해봤습니다 근데 1) 과 2) 차이는 //and goldjisutem < goldjisutem[1] 이렇게 //막은것밖에 없는데 2)에서 Condition3 == True 면 기다렸다 goldjisutem < goldjisutem[1]가 되면 신호 나와야 하는데 첨부처럼 나오지 안네요 다시-- Condition3 == True;면 기다렸다가 goldjisutem < goldjisutem[1] 될때 plot9(h+0.0,"골드매도"); 하게해주세요 부탁드립니다
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-05-03 09:26:11

> leekss1 님이 쓴 글입니다. > 제목 : 수정해주세요---- > 1) Condition1 = False; Condition3 = False; if dayindex > 10 and stime > 090000 and stime < 144500 and( c[3] < c[1] and c[1] > c ) Then{ if h > (goldjisu+var1)+1 and cvcha > -900 then { plot8(h+0.0,"색매도"); } if ( countif (h >= h[40]+0.15 and goldt <goldt[40] - 0.05,20) >=20 and dayindex > 40) then { Condition1 = True; if( Condition1 == true and cvcha > -900 ) Then { Condition3 = True; if Condition3 == True // and goldjisutem < goldjisutem[1] then { plot9(h+0.0,"골드매도"); PlaySound("C:₩예스트레이더31₩Data₩alert.wav"); } } } } --------------------------------------------------------------------------- 2) Condition1 = False; Condition3 = False; if dayindex > 10 and stime > 090000 and stime < 144500 and( c[3] < c[1] and c[1] > c ) Then{ if h > (goldjisu+var1)+1 and cvcha > -900 then { plot8(h+0.0,"색매도"); } if ( countif (h >= h[40]+0.15 and goldt <goldt[40] - 0.05,20) >=20 and dayindex > 40) then { Condition1 = True; if( Condition1 == true and cvcha > -900 ) Then { Condition3 = True; if Condition3 == True and goldjisutem < goldjisutem[1] then { plot9(h+0.0,"골드매도"); PlaySound("C:₩예스트레이더31₩Data₩alert.wav"); } } } } 가르쳐주신데로 수정후 적용해봤습니다 근데 1) 과 2) 차이는 //and goldjisutem < goldjisutem[1] 이렇게 //막은것밖에 없는데 2)에서 Condition3 == True 면 기다렸다 goldjisutem < goldjisutem[1]가 되면 신호 나와야 하는데 첨부처럼 나오지 안네요 다시-- Condition3 == True;면 기다렸다가 goldjisutem < goldjisutem[1] 될때 plot9(h+0.0,"골드매도"); 하게해주세요 부탁드립니다