커뮤니티
수정부탁드립니다-------------------------------
2016-09-01 21:31:23
85
글번호 101613
Input : Period1(5),Period5(1),급증(0),급감(0),매수도전봉차(0),급등락(0),소등락(0);
Var : va(0);
Var : va1(0);
Var : value(0);
va = ma(bids,period5)-ma(asks,period5)+5000;
va1 = ma(bids,period5)-ma(asks,period5)+5000;
//급등락축소시작----------------------------
if va >va[1]+급등락 then va = va - 급등락*0.8;
if va >va[1]+소등락 then va = va - 소등락;
if va <va[1]-급등락 then va = va + 급등락*0.7;
if va <va[1]-소등락 then va = va + 소등락;
//급등락축소시작----------------------------
If va > va[1] Then
{
Plot3(va, "1매수총잔량 우위");
Plot4(0, "1매도총잔량 우위");
}
Else{
Plot3(0, "1매수총잔량 우위");
Plot4(va, "1매도총잔량 우위");
}
//plot6(value,"선",iff(value>value[1],red,iff(value<value[1],BLUE,WHITE)));
//PlotBaseLine1(5000,"기준선");
PlotBaseLine5(va,"기준선5");
value = ma(bids,period1)-ma(asks,period1)+5000;
If value > value[1] Then
{
Plot1(value, "5매수총잔량 우위");
Plot2(0, "5매도총잔량 우위");
}
Else{
Plot1(0, "5매수총잔량 우위");
Plot2(value, "5매도총잔량 우위");
}
//plot6(value,"선",iff(value>value[1],red,iff(value<value[1],BLUE,WHITE)));
//PlotBaseLine1(5000,"기준선");
PlotBaseLine1(value,"기준선1");
//점찍기
//If value > value[1] and value[1] > value[2] and value[2] < value[3] and va > va[1] +급증 Then
// {
// Plot6(value, "매수점");}
//소리
//if value > value[1] and value[1] > value[2] and value[2] < value[3] and va > va[1] +급증 Then
// {
// PlaySound(C:₩예스트레이더₩data₩Sound₩bubbles.wav); }
//점찍기
//If value < value[1] and value[1] < value[2] and value[2] > value[3] and va < va[1] +급감 Then
// {
// Plot7(value, "매도점");}
//소리
// if value < value[1] and value[1] < value[2] and value[2] > value[3] and va < va[1] +급증 Then
// {
// PlaySound(C:₩예스트레이더₩data₩Sound₩accept.wav); }
//if va > value+매수도전봉차 Then
// {
// Plot8(va, "매수점");}
//if va < value-매수도전봉차 Then
// {
// Plot9(va, "매도점");}
If va1 > va1[1] Then
{
Plot10(va1, "매수잔량 우위");
Plot11(0, "매도잔량 우위");
}
Else{
Plot10(0, "매수잔량 우위");
Plot11(va1, "매도잔량 우위");
}
//점찍기
If va > va[1] and va[1] < va[2] and dayindex >= 3 Then
{
Plot6(va+500, "매수점");}
//소리
If va > va[1] and va[1] < va[2] and dayindex >= 3 Then
{
PlaySound("C:₩예스트레이더₩data₩Sound₩bubbles.wav"); }
If va < va[1] and va[1] > va[2] and dayindex >= 3 Then
{
Plot7(va+500, "매도점");}
//소리
If va < va[1] and va[1] > va[2] and dayindex >= 3 Then
{
PlaySound("C:₩예스트레이더₩data₩Sound₩accept.wav" );
위지표를 연결선물차트에 같이 표시하려고 하는데요 서로겹치지 안게하고 한눈에 보고싶슴니다
그냥끌어서 올리니까 봉이 지표에가려서 안보여요
어뗗게 해야하나요
답변 1
예스스탁 예스스탁 답변
2016-09-02 14:58:25
안녕하세요
예스스탁입니다.
문의하신 내용은 수식적으로 따로 방법이 없습니다.
도움을 드리지 못해 죄송합니다.
즐거운 하루되세요
> leekss1 님이 쓴 글입니다.
> 제목 : 수정부탁드립니다-------------------------------
> Input : Period1(5),Period5(1),급증(0),급감(0),매수도전봉차(0),급등락(0),소등락(0);
Var : va(0);
Var : va1(0);
Var : value(0);
va = ma(bids,period5)-ma(asks,period5)+5000;
va1 = ma(bids,period5)-ma(asks,period5)+5000;
//급등락축소시작----------------------------
if va >va[1]+급등락 then va = va - 급등락*0.8;
if va >va[1]+소등락 then va = va - 소등락;
if va <va[1]-급등락 then va = va + 급등락*0.7;
if va <va[1]-소등락 then va = va + 소등락;
//급등락축소시작----------------------------
If va > va[1] Then
{
Plot3(va, "1매수총잔량 우위");
Plot4(0, "1매도총잔량 우위");
}
Else{
Plot3(0, "1매수총잔량 우위");
Plot4(va, "1매도총잔량 우위");
}
//plot6(value,"선",iff(value>value[1],red,iff(value<value[1],BLUE,WHITE)));
//PlotBaseLine1(5000,"기준선");
PlotBaseLine5(va,"기준선5");
value = ma(bids,period1)-ma(asks,period1)+5000;
If value > value[1] Then
{
Plot1(value, "5매수총잔량 우위");
Plot2(0, "5매도총잔량 우위");
}
Else{
Plot1(0, "5매수총잔량 우위");
Plot2(value, "5매도총잔량 우위");
}
//plot6(value,"선",iff(value>value[1],red,iff(value<value[1],BLUE,WHITE)));
//PlotBaseLine1(5000,"기준선");
PlotBaseLine1(value,"기준선1");
//점찍기
//If value > value[1] and value[1] > value[2] and value[2] < value[3] and va > va[1] +급증 Then
// {
// Plot6(value, "매수점");}
//소리
//if value > value[1] and value[1] > value[2] and value[2] < value[3] and va > va[1] +급증 Then
// {
// PlaySound(C:₩예스트레이더₩data₩Sound₩bubbles.wav); }
//점찍기
//If value < value[1] and value[1] < value[2] and value[2] > value[3] and va < va[1] +급감 Then
// {
// Plot7(value, "매도점");}
//소리
// if value < value[1] and value[1] < value[2] and value[2] > value[3] and va < va[1] +급증 Then
// {
// PlaySound(C:₩예스트레이더₩data₩Sound₩accept.wav); }
//if va > value+매수도전봉차 Then
// {
// Plot8(va, "매수점");}
//if va < value-매수도전봉차 Then
// {
// Plot9(va, "매도점");}
If va1 > va1[1] Then
{
Plot10(va1, "매수잔량 우위");
Plot11(0, "매도잔량 우위");
}
Else{
Plot10(0, "매수잔량 우위");
Plot11(va1, "매도잔량 우위");
}
//점찍기
If va > va[1] and va[1] < va[2] and dayindex >= 3 Then
{
Plot6(va+500, "매수점");}
//소리
If va > va[1] and va[1] < va[2] and dayindex >= 3 Then
{
PlaySound("C:₩예스트레이더₩data₩Sound₩bubbles.wav"); }
If va < va[1] and va[1] > va[2] and dayindex >= 3 Then
{
Plot7(va+500, "매도점");}
//소리
If va < va[1] and va[1] > va[2] and dayindex >= 3 Then
{
PlaySound("C:₩예스트레이더₩data₩Sound₩accept.wav" );
위지표를 연결선물차트에 같이 표시하려고 하는데요 서로겹치지 안게하고 한눈에 보고싶슴니다
그냥끌어서 올리니까 봉이 지표에가려서 안보여요
어뗗게 해야하나요
다음글
이전글