예스스탁
예스스탁 답변
2023-01-12 14:30:20
안녕하세요.
예스스탁 입니다.
1. 골든
input : Short(5),Long(20);
Var : Tx1(0);
Value1 = ma(c, Short);
Value2 = ma(c, Long);
if CrossUp(Value1,Value2) Then
{
TX1 = Text_new(sDate,sTime,H,"골든"+NewLine);
Text_SetStyle(Tx1,2,1);
Plot1(value1,"Golden Cross");
}
Else
{
NoPlot(1);
}
2. 데드
input : Short(5),Long(20);
Var : Tx1(0);
Value1 = ma(c, Short);
Value2 = ma(c, Long);
if CrossDown(Value1,Value2) Then
{
TX1 = Text_new(sDate,sTime,L,NewLine+"데드");
Text_SetStyle(Tx1,2,0);
Plot1(value1,"Dead Cross");
}
else
{
NoPlot(1);
}
3. 스윙 하이
Input: Strength(3);
Var: Tx1(0);
If SwingHigh(1, High, Strength, Strength, Strength*2+1) <> -1 Then
{
TX1 = Text_new(sDate,sTime,High[Strength],"S.W-H"+NewLine);
Text_SetStyle(Tx1,2,1);;
Plot1(High[Strength],"SwingHigh");
}
4. 스윙 로우
Inputs: Strength(3);
Var: Tx1(0);
If SwingLow(1,Low, Strength, Strength, Strength*2+1) <> -1 Then
{
TX1 = Text_new(sDate,sTime,Low[Strength],NewLine+"S.W-L");
Text_SetStyle(Tx1,2,0);;
Plot1(Low[Strength],"SwingLow");
}
즐거운 하루 보내세요.
> 호정0688 님이 쓴 글입니다.
> 제목 : 검색
> 항상감사합니다
문자표시 부탁드립니다.
1]골든
input : Short(5),Long(20);
Value1 = ma(c, Short);
Value2 = ma(c, Long);
if CrossUp(Value1,Value2) Then
begin
Plot1(value1,"Golden Cross");
end
else
NoPlot(1);
2]데드
input : Short(5),Long(20);
Value1 = ma(c, Short);
Value2 = ma(c, Long);
if CrossDown(Value1,Value2) Then
begin
Plot1(value1,"Dead Cross");
end
else
NoPlot(1);
3]s.w-H
Input: Strength(3);
If SwingHigh(1, High, Strength, Strength, Strength*2+1) <> -1 Then
begin
Plot1(High[Strength],"SwingHigh");
end;
/*
SwingHigh가 만족하는 봉에 SwingHigh의
가격을 표시합니다.
*/
4]s.w-L
Inputs: Strength(3);
If SwingLow(1,Low, Strength, Strength, Strength*2+1) <> -1 Then
begin
Plot1(Low[Strength],"SwingLow");
end;
/*
SwingLow가 만족하는 봉에 SwingLow의
가격을 표시합니다.
*/