예스스탁
예스스탁 답변
2023-01-16 13:04:46
안녕하세요
예스스탁입니다.
1
input : pd(22), bbl(20), mult(2.0), lb(50), ph(0.85), pl(1.01);
var : wvf(0),sDev(0),midLine(0), upperBand(0), rangeHigh(0),color(0), OverSold(0);
var : wvf_inv(0), sDev2(0),midLine2(0), upperBand2(0), rangeHigh2(0),color2(0), Overbought(0);
var : TL1(0),TX1(0);
wvf = ((highest(close, pd)-low)/(highest(close, pd)))*100;
wvf_inv = ((high-lowest(close, pd))/lowest(close, pd))*100;
sDev = mult * std(wvf, bbl);
midLine = ma(wvf, bbl);
upperBand = midLine + sDev;
rangeHigh = (highest(wvf, lb)) * ph;
sDev2 = mult * std(wvf_inv, bbl);
midLine2 = ma(wvf_inv, bbl);
upperBand2 = midLine2 + sDev2;
rangeHigh2 = (highest(wvf_inv, lb)) * ph;
if wvf >= upperBand or wvf >= rangeHigh Then
OverSold = 1;
Else
OverSold = 0;
color = iff(OverSold == 1, RGB(000,255,000), RGB(128,128,128));
if CountIF(OverSold[1] > 0 ,4) == 4 and OverSold == 0 Then
{
color = RED;
TL1 = TL_New(sdate,sTime,0,sDate,sTime,99999999);
TL_SetColor(TL1,color);
TX1 = Text_New(sdate,sTime,L,"▲");
Text_SetColor(TX1,color);
Text_SetStyle(TX1,2,0);
}
if wvf_inv >= upperBand2 or wvf_inv >= rangeHigh2 Then
Overbought = 1;
Else
Overbought = 0;
color2 = iff(Overbought == 1, RGB(255,102,0), GRAY);
if CountIF(Overbought[1] > 0 ,4) == 4 and Overbought == 0 Then
{
color2 = BLUE;
TL1 = TL_New(sdate,sTime,0,sDate,sTime,99999999);
TL_SetColor(TL1,color2);
TX1 = Text_New(sdate,sTime,H,"▼");
Text_SetColor(TX1,color2);
Text_SetStyle(TX1,2,1);
}
Plot1(-wvf,"wvf",color);
plot2(wvf_inv,"wvf_inv",color2);
2
input : pd(22), bbl(20), mult(2.0), lb(50), ph(0.85), pl(1.01);
var : wvf(0),sDev(0),midLine(0), upperBand(0), rangeHigh(0),color(0), OverSold(0);
var : wvf_inv(0), sDev2(0),midLine2(0), upperBand2(0), rangeHigh2(0),color2(0), Overbought(0);
var : TL1(0),TX1(0);
wvf = ((highest(close, pd)-low)/(highest(close, pd)))*100;
wvf_inv = ((high-lowest(close, pd))/lowest(close, pd))*100;
sDev = mult * std(wvf, bbl);
midLine = ma(wvf, bbl);
upperBand = midLine + sDev;
rangeHigh = (highest(wvf, lb)) * ph;
sDev2 = mult * std(wvf_inv, bbl);
midLine2 = ma(wvf_inv, bbl);
upperBand2 = midLine2 + sDev2;
rangeHigh2 = (highest(wvf_inv, lb)) * ph;
if wvf >= upperBand or wvf >= rangeHigh Then
OverSold = 1;
Else
OverSold = 0;
color = iff(OverSold == 1, RGB(000,255,000), RGB(128,128,128));
if CountIF(OverSold[1] > 0 ,4) == 4 and OverSold == 0 Then
{
color = RED;
Buy();
}
if wvf_inv >= upperBand2 or wvf_inv >= rangeHigh2 Then
Overbought = 1;
Else
Overbought = 0;
color2 = iff(Overbought == 1, RGB(255,102,0), GRAY);
if CountIF(Overbought[1] > 0 ,4) == 4 and Overbought == 0 Then
{
color2 = BLUE;
Sell();
}
즐거운 하루되세요
> 비듬싸순 님이 쓴 글입니다.
> 제목 : 부탁 드립니다
> 항시노고에 감사드리며
다음식에서
1. RED와BLUE에 챠트에 표시선을 세로선과삼각표시로띄우고싶고
2. 강조식은 챠트표시대로 캔들에을구하고싶습니다
짜집기를하다하다 안되서
3 시스템식 부탁드립니다
노고에 깊은감사 드립니다
input : pd(22), bbl(20), mult(2.0), lb(50), ph(0.85), pl(1.01);
var : wvf(0),sDev(0),midLine(0), upperBand(0), rangeHigh(0),color(0), OverSold(0);
var : wvf_inv(0), sDev2(0),midLine2(0), upperBand2(0), rangeHigh2(0),color2(0), Overbought(0);
wvf = ((highest(close, pd)-low)/(highest(close, pd)))*100;
wvf_inv = ((high-lowest(close, pd))/lowest(close, pd))*100;
sDev = mult * std(wvf, bbl);
midLine = ma(wvf, bbl);
upperBand = midLine + sDev;
rangeHigh = (highest(wvf, lb)) * ph;
sDev2 = mult * std(wvf_inv, bbl);
midLine2 = ma(wvf_inv, bbl);
upperBand2 = midLine2 + sDev2;
rangeHigh2 = (highest(wvf_inv, lb)) * ph;
if wvf >= upperBand or wvf >= rangeHigh Then
OverSold = 1;
Else
OverSold = 0;
color = iff(OverSold == 1, RGB(000,255,000), RGB(128,128,128));
if CountIF(OverSold[1] > 0 ,4) == 4 and OverSold == 0 Then
color = RED;
if wvf_inv >= upperBand2 or wvf_inv >= rangeHigh2 Then
Overbought = 1;
Else
Overbought = 0;
color2 = iff(Overbought == 1, RGB(255,102,0), GRAY);
if CountIF(Overbought[1] > 0 ,4) == 4 and Overbought == 0 Then
color2 = BLUE;
Plot1(-wvf,"wvf",color);
plot2(wvf_inv,"wvf_inv",color2);