커뮤니티
문의드림니다
2013-01-28 10:26:03
251
글번호 58720
다음수식을 참조데이타(data2)식으로 변경부탁합니다
var : LL1(0),HH1(0),BuyStep(0);
if date != date[1] Then{
BuyStep = 0; }
if BuyStep == 0 and DayLow <DayOpen-2 Then{
BuyStep = 1;
LL1 = L; }
if BuyStep >= 1 and L < LL1 Then
LL1 = L;
if BuyStep == 1 and crossup(c,LL1+2) Then{
BuyStep = 2;
HH1 = H; }
if BuyStep == 2 and H > HH1 Then
HH1 = H;
답변 1
예스스탁 예스스탁 답변
2013-01-28 16:51:29
안녕하세요
예스스탁입니다.
var : LL1(0,data2),HH1(0,data2),BuyStep(0,data2);
if data2(date != date[1]) Then{
BuyStep = 0; }
if BuyStep == 0 and data2(LowD(0)) < data2(OpenD(0))-2 Then{
BuyStep = 1;
LL1 = data2(L); }
if BuyStep >= 1 and data2(L) < LL1 Then
LL1 = data2(L);
if BuyStep == 1 and data2(crossup(c,LL1+2)) Then{
BuyStep = 2;
HH1 = data2(H); }
if BuyStep == 2 and data2(H) > HH1 Then
HH1 = data2(H);
즐거운 하루되세요
> mao 님이 쓴 글입니다.
> 제목 : 문의드림니다
> 다음수식을 참조데이타(data2)식으로 변경부탁합니다
var : LL1(0),HH1(0),BuyStep(0);
if date != date[1] Then{
BuyStep = 0; }
if BuyStep == 0 and DayLow <DayOpen-2 Then{
BuyStep = 1;
LL1 = L; }
if BuyStep >= 1 and L < LL1 Then
LL1 = L;
if BuyStep == 1 and crossup(c,LL1+2) Then{
BuyStep = 2;
HH1 = H; }
if BuyStep == 2 and H > HH1 Then
HH1 = H;