예스스탁
예스스탁 답변
2025-03-25 13:54:59
안녕하세요
예스스탁입니다.
input : length(70);
input : mult(1.2);
var : src(0),lag(0),zlema(0),volatility(0),trend(0),zlemaColor(0),tx(0);
src = close;
lag = floor((length - 1) / 2);
zlema = ema(src + (src - src[lag]), length);
volatility = highest(atr(length), length*3) * mult;
if CrossUp(close, zlema+volatility) Then
trend = 1;
if CrossDown(close, zlema-volatility) Then
trend = -1;
Input : Period(20), Percent(2);
var : center(0),UPline(0),DNline(0),T(0);
center = ma(C, Period);
UPline = EnvelopeUp(Period, Percent);
Dnline = EnvelopeDown(Period, Percent);
if trend == -1 and trend[1] != -1 and ((zlema+volatility > upline) or (zlema+volatility < dnLine)) Then
{
Sell("매도");
}
if trend == 1 and trend[1] != 1 and ((zlema-volatility> upline) or (zlema-volatility < dnLine)) Then
{
Buy("매수");
}
즐거운 하루되세요
> 새벽에 님이 쓴 글입니다.
> 제목 : 문의드립니다
> 안녕하세요?
아래수식을 씨스템식으로부탁드립니다
신호는 흰삼각형이 생긴봉에 발생토록 부탁드립니다
감사드립니다
input : length(70);
input : mult(1.2);
var : src(0),lag(0),zlema(0),volatility(0),trend(0),zlemaColor(0),tx(0);
src = close;
lag = floor((length - 1) / 2);
zlema = ema(src + (src - src[lag]), length);
volatility = highest(atr(length), length*3) * mult;
if CrossUp(close, zlema+volatility) Then
trend = 1;
if CrossDown(close, zlema-volatility) Then
trend = -1;
Input : Period(20), Percent(2);
var : center(0),UPline(0),DNline(0),T(0);
center = ma(C, Period);
UPline = EnvelopeUp(Period, Percent);
Dnline = EnvelopeDown(Period, Percent);
if trend == -1 and trend[1] != -1 and ((zlema+volatility > upline) or (zlema+volatility < dnLine)) Then
{
//PlaySound("C:₩eBestYesTrader₩data₩workgroup₩매도.wav");
tx = Text_New(sDate,sTime,zlema+volatility,"▼");
Text_SetColor(tx,White);
Text_SetStyle(tx,2,1);
Text_SetSize(tx,38);#크기
}
if trend == 1 and trend[1] != 1 and ((zlema-volatility> upline) or (zlema-volatility < dnLine)) Then
{
//PlaySound("C:₩eBestYesTrader₩data₩workgroup₩매수.wav");
tx = Text_New(sDate,sTime,zlema-volatility ,"▲");
Text_SetColor(tx,White);
Text_SetStyle(tx,2,0);
Text_SetSize(tx,38);#크기
}