커뮤니티

문의

프로필 이미지
엉덩공주
2023-05-06 22:48:39
1678
글번호 168745
답변완료
1. 스톡캐스틱과 ACD가 골든크로스 상태일떄에 이격이 상승전환할때 매수 반대의 경우 매도 2.스톡캐스틱과MACD가 골든크로스발생되는 시점에서 이격이 상승전환할때 매수 반대의 경우 매도 부탁드립니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-05-08 10:29:03

안녕하세요 예스스탁입니다. 1 input : short(12),long(26),sig(9); input : sto1(10),sto2(5),sto3(5); input : P(20); var : macdv(0),macds(0); var : stok(0),stod(0); var : dis(0),T(0); macdv = macd(short,long); macds = ema(macdv,sig); stok = stochasticsK(sto1,sto2); stod = stochasticsD(sto1,sto2,sto3); dis = Disparity(P); if dis > dis[1] Then T = 1; if dis < dis[1] Then T = -1; if macdv > macds and stok > stod and t == 1 and t != t[1] Then Buy(); if macdv < macds and stok < stod and t == -1 and t != t[1] Then Sell(); 2 input : short(12),long(26),sig(9); input : sto1(10),sto2(5),sto3(5); input : P(20); var : macdv(0),macds(0); var : stok(0),stod(0); var : dis(0),T(0); macdv = macd(short,long); macds = ema(macdv,sig); stok = stochasticsK(sto1,sto2); stod = stochasticsD(sto1,sto2,sto3); dis = Disparity(P); if dis > dis[1] Then T = 1; if dis < dis[1] Then T = -1; if CrossUp(macdv,macds) and CrossUp(stok,stod) and t == 1 and t != t[1] Then Buy(); if CrossDown(macdv,macds) and CrossDown(stok,stod) and t == -1 and t != t[1] Then Sell(); 즐거운 하루되세요 > 엉덩공주 님이 쓴 글입니다. > 제목 : 문의 > 1. 스톡캐스틱과 ACD가 골든크로스 상태일떄에 이격이 상승전환할때 매수 반대의 경우 매도 2.스톡캐스틱과MACD가 골든크로스발생되는 시점에서 이격이 상승전환할때 매수 반대의 경우 매도 부탁드립니다.