커뮤니티

변경좀 부탁합니다

프로필 이미지
kjdkdh
2021-02-10 02:38:43
740
글번호 146244
답변완료
안녕하세요 시스템에 적용하고 있습니다 아래식을 틱수를 외부 변수에서 변경가능하겠금 부탁합니다 var : T1(0),T2(0),T3(0),T4(0),T5(0),T6(0),T7(0),T8(0); var : T11(0),T22(0),T33(0),T44(0),T55(0),T66(0),T77(0),T88(0); if MarketPosition == 1 Then{ if Condition11 == false and H >= EntryPrice+PriceScale*30 Then{ Condition11 = true; T1 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T1, 255); Text_SetStyle(T1,2,1); } if Condition12 == false and H >= EntryPrice+PriceScale*60 Then{ Condition12 = true; T2 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T2, 14483711); Text_SetStyle(T2,2,1); } if Condition13 == false and H >= EntryPrice+PriceScale*90 Then{ Condition13 = true; T3 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T3, 58623); Text_SetStyle(T3,2,1); } if Condition14 == false and H >= EntryPrice+PriceScale*120 Then{ Condition14 = true; T4 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T4, 4114503); Text_SetStyle(T4,2,1); } if Condition15 == false and H >= EntryPrice+PriceScale*150 Then{ Condition15 = true; T5 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T5, 16711681); Text_SetStyle(T5,2,1); } } Else { Condition11 = false; Condition12 = false; Condition13 = false; Condition14 = false; Condition15 = false; Condition16 = false; Condition17 = false; Condition18 = false; } if MarketPosition == -1 Then{ if Condition21 == false and L <= EntryPrice-PriceScale*30 Then{ Condition21 = true; T11 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T11, 255); Text_SetStyle(T11,2,3); } if Condition22 == false and L <= EntryPrice-PriceScale*60 Then{ Condition22 = true; T22 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T22, 14483711); Text_SetStyle(T22,2,3); } if Condition23 == false and L <= EntryPrice-PriceScale*90 Then{ Condition23 = true; T33 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T33, 58623); Text_SetStyle(T33,2,3); } if Condition24 == false and L <= EntryPrice-PriceScale*120 Then{ Condition24 = true; T44 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T44, 4114503); Text_SetStyle(T44,2,3); } if Condition25 == false and L <= EntryPrice-PriceScale*150 Then{ Condition25 = true; T55 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T55, 16711681); Text_SetStyle(T55,2,3); } } Else { Condition21 = false; Condition22 = false; Condition23 = false; Condition24 = false; Condition25 = false; Condition26 = false; Condition27 = false; Condition28 = false; }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2021-02-10 13:44:11

안녕하세요 예스스탁입니다. input : 틱1(30),틱2(60),틱3(90),틱4(120),틱5(150); var : T1(0),T2(0),T3(0),T4(0),T5(0),T6(0),T7(0),T8(0); var : T11(0),T22(0),T33(0),T44(0),T55(0),T66(0),T77(0),T88(0); if MarketPosition == 1 Then{ if Condition11 == false and H >= EntryPrice+PriceScale*틱1 Then{ Condition11 = true; T1 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T1, 255); Text_SetStyle(T1,2,1); } if Condition12 == false and H >= EntryPrice+PriceScale*틱2 Then{ Condition12 = true; T2 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T2, 14483711); Text_SetStyle(T2,2,1); } if Condition13 == false and H >= EntryPrice+PriceScale*틱3 Then{ Condition13 = true; T3 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T3, 58623); Text_SetStyle(T3,2,1); } if Condition14 == false and H >= EntryPrice+PriceScale*틱4 Then{ Condition14 = true; T4 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T4, 4114503); Text_SetStyle(T4,2,1); } if Condition15 == false and H >= EntryPrice+PriceScale*틱5 Then{ Condition15 = true; T5 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T5, 16711681); Text_SetStyle(T5,2,1); } } Else { Condition11 = false; Condition12 = false; Condition13 = false; Condition14 = false; Condition15 = false; Condition16 = false; Condition17 = false; Condition18 = false; } if MarketPosition == -1 Then{ if Condition21 == false and L <= EntryPrice-PriceScale*틱1 Then{ Condition21 = true; T11 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T11, 255); Text_SetStyle(T11,2,3); } if Condition22 == false and L <= EntryPrice-PriceScale*틱2 Then{ Condition22 = true; T22 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T22, 14483711); Text_SetStyle(T22,2,3); } if Condition23 == false and L <= EntryPrice-PriceScale*틱3 Then{ Condition23 = true; T33 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T33, 58623); Text_SetStyle(T33,2,3); } if Condition24 == false and L <= EntryPrice-PriceScale*틱4 Then{ Condition24 = true; T44 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T44, 4114503); Text_SetStyle(T44,2,3); } if Condition25 == false and L <= EntryPrice-PriceScale*틱5 Then{ Condition25 = true; T55 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T55, 16711681); Text_SetStyle(T55,2,3); } } Else { Condition21 = false; Condition22 = false; Condition23 = false; Condition24 = false; Condition25 = false; Condition26 = false; Condition27 = false; Condition28 = false; } 즐거운 하루되세요 > kjdkdh 님이 쓴 글입니다. > 제목 : 변경좀 부탁합니다 > 안녕하세요 시스템에 적용하고 있습니다 아래식을 틱수를 외부 변수에서 변경가능하겠금 부탁합니다 var : T1(0),T2(0),T3(0),T4(0),T5(0),T6(0),T7(0),T8(0); var : T11(0),T22(0),T33(0),T44(0),T55(0),T66(0),T77(0),T88(0); if MarketPosition == 1 Then{ if Condition11 == false and H >= EntryPrice+PriceScale*30 Then{ Condition11 = true; T1 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T1, 255); Text_SetStyle(T1,2,1); } if Condition12 == false and H >= EntryPrice+PriceScale*60 Then{ Condition12 = true; T2 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T2, 14483711); Text_SetStyle(T2,2,1); } if Condition13 == false and H >= EntryPrice+PriceScale*90 Then{ Condition13 = true; T3 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T3, 58623); Text_SetStyle(T3,2,1); } if Condition14 == false and H >= EntryPrice+PriceScale*120 Then{ Condition14 = true; T4 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T4, 4114503); Text_SetStyle(T4,2,1); } if Condition15 == false and H >= EntryPrice+PriceScale*150 Then{ Condition15 = true; T5 = Text_New(sdate,stime,H," ♥"); Text_SetColor(T5, 16711681); Text_SetStyle(T5,2,1); } } Else { Condition11 = false; Condition12 = false; Condition13 = false; Condition14 = false; Condition15 = false; Condition16 = false; Condition17 = false; Condition18 = false; } if MarketPosition == -1 Then{ if Condition21 == false and L <= EntryPrice-PriceScale*30 Then{ Condition21 = true; T11 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T11, 255); Text_SetStyle(T11,2,3); } if Condition22 == false and L <= EntryPrice-PriceScale*60 Then{ Condition22 = true; T22 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T22, 14483711); Text_SetStyle(T22,2,3); } if Condition23 == false and L <= EntryPrice-PriceScale*90 Then{ Condition23 = true; T33 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T33, 58623); Text_SetStyle(T33,2,3); } if Condition24 == false and L <= EntryPrice-PriceScale*120 Then{ Condition24 = true; T44 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T44, 4114503); Text_SetStyle(T44,2,3); } if Condition25 == false and L <= EntryPrice-PriceScale*150 Then{ Condition25 = true; T55 = Text_New(sdate,stime,L," ♥"); Text_SetColor(T55, 16711681); Text_SetStyle(T55,2,3); } } Else { Condition21 = false; Condition22 = false; Condition23 = false; Condition24 = false; Condition25 = false; Condition26 = false; Condition27 = false; Condition28 = false; }