·Î±×ÀÎ
|
ȸ¿ø°¡ÀÔ
|
ȸ»ç¼Ò°³
|
»çÀÌÆ®¸Ê
Ä¿¹Â´ÏƼ | ¼ö½ÄÀÛ¼º Q&A
ÀÛ¼ºÀÚ :
¾ÆÆ®Á¤
ÀÛ¼ºÀÏ : 2023-11-21 ¿ÀÈÄ 12:40:22 Á¶È¸¼ö : 354
¼ö½ÄÃß°¡
input : EmaPeriod(50);
input : RSIPeriod1(7),RSIPeriod2(14),RSIPeriod3(21),RSIÂ÷ÀÌ(7);
input : ADXPeriod(10);
input : ÀÍÀý(50),¼ÕÀý(50);
var : Emav(0),RSI1(0),RSI2(0),RSI3(0),ADXv(0);
var : Bcond(False),Scond(False);
Emav = Ema(C,EmaPeriod);
RSI1 = RSI(RSIPeriod1);
RSI2 = RSI(RSIPeriod2);
RSI3 = RSI(RSIPeriod3);
ADXv = ADX(ADXperiod);
Bcond = MarketPosition == 0 and MarketPosition(1) == 1 and MarketPosition(2) == 1;
Scond = MarketPosition == 0 and MarketPosition(1) == -1 and MarketPosition(2) == -1;
if C > Emav and
RSI1 >= RSI2+RSIÂ÷ÀÌ and RSI2 >= RSI3+RSIÂ÷ÀÌ and
ADXV >= 21 and
Bcond == False Then
buy();
if C < Emav and
RSI1 <= RSI2-RSIÂ÷ÀÌ and RSI2 <= RSI3-RSIÂ÷ÀÌ and
ADXV >= 21 and
Scond == False Then
Sell();
¾È³çÇϼ¼¿ä
À§½Ä¿¡ Ãß°¡ºÎŹµå¸²´Ï´Ù
´çÀÏ ´©Àû 100ƽ ÀÌÀͽà û»ê¸Å¸Å±ÝÁö
¼ö½Ä¿äûµå·Á¿ä
¹®ÀÇ µå¸³´Ï´Ù
°ü·Ã ±Û ¸®½ºÆ®
ÇöÀç±Û
¼ö½ÄÃß°¡
¾ÆÆ®Á¤
2023.11.21
354
Re : ¼ö½ÄÃß°¡
¿¹½º½ºÅ¹
2023.11.21
211