Multi Timeframe Moving Averages
- 지표
- Martin Alejandro Bamonte
- 버전: 1.0
- 활성화: 10
MTFMA(멀티 타임프레임 이동 평균선) 지표는 여러 시간대의 여러 이동 평균선(MA)을 사용하여 주 차트와 별도의 창에서 매수 및 매도 신호(재도색하지 않음)를 제공합니다. 이 지표는 다용도이며 해석하기 쉬워 작은 시간대의 스캘핑과 큰 시간대의 장기 거래 모두에 적합합니다.
왜 멀티프레임인가요?
멀티프레임이라는 용어는 지표가 여러 시간대의 데이터를 사용하고 결합할 수 있는 능력을 나타냅니다. MTFMA는 네 개의 구성 가능한 이동 평균선(MA)에 기반하여 신호를 계산하고 표시합니다. 각 MA는 다른 기간, 계산 방법 및 가격 유형에 맞게 조정할 수 있어 트레이더가 하나의 차트에서 단기 및 장기 트렌드의 조합을 볼 수 있도록 합니다.
중요 포인트: 다용도성: 분 단위부터 월 단위까지 모든 시간대에 사용 가능하며, 스캘핑과 장기 거래 모두에 적합합니다. 재도색하지 않음: 한 번 신호(위쪽 또는 아래쪽 화살표)가 생성되면 색상이 변하지 않아 트레이더가 생성된 신호를 신뢰하고 거래 결정을 내릴 수 있습니다. 해석 용이성: 매수 및 매도 신호는 하단 지표에 녹색 및 빨간색 화살표로 명확하게 표시되어 복잡한 분석이 필요하지 않습니다. 구성 가능성: 사용자는 특정 거래 전략에 맞추어 이동 평균선의 매개변수를 조정할 수 있습니다.
향상된 전략: 안전한 진입을 위해서는 네 개의 EMA가 모두 동일한 색상으로 변할 때까지 기다리는 것이 좋습니다. 가장 좋은 진입은 네 개의 EMA가 색상을 변경한 첫 번째 또는 두 번째 캔들에서 이루어집니다.
범위 돌파와 일치하는 경우에만 4개의 EMA 색상 일치 후 최대 4개 또는 5개의 캔들까지 포지션을 열 수 있습니다. 이와 같은 늦은 진입은 명확한 가격 범위 돌파가 있을 때만 할 수 있습니다. 이를 감지하지 못하는 경우, 첫 번째 또는 두 번째 캔들에서 거래하는 것에 제한하세요.
모든 경우에 이미 진행된 트렌드에서 거래하는 것을 피하세요(예: 동일한 색상의 캔들이 10개 이상 지나간 경우), 트렌드가 계속될 가능성이 낮습니다.
따라서:
매수: 모든 EMA가 녹색으로 변합니다. 매도: 모든 EMA가 빨간색으로 변합니다.
지표 사용 방법:
스캘핑용(작은 시간대, 예: M1, M5, M15):
매수 신호 및 매도 신호: 개장은 EMA 트렌드에 따라 "캔들별"로 진행하며, 짧은 거래를 열고 빠르게 몇 핍을 얻습니다. 물론 이 기술을 실행하려면 스캘핑 계좌가 필요합니다. 즉, 스탠다드 또는 센트 계좌로 스캘핑을 원한다면, 일부 통화 쌍은 스프레드가 크므로 작동하지 않을 것입니다. 스캘핑 전용 계좌(ECN 또는 제로 스프레드)만 사용하세요.
장기 거래용(큰 시간대, 예: H1, H4, D1):
매수 신호: 모든 EMA가 녹색으로 변합니다. 모든 네 개의 EMA가 녹색인 첫 번째 캔들에서 진입하세요. 매도 신호: 모든 EMA가 빨간색으로 변합니다. 모든 네 개의 EMA가 빨간색인 첫 번째 캔들에서 진입하세요. 큰 시간대에서는 신호가 적지만 더 중요해져서 더 큰 시장 움직임을 포착하고 포지션을 더 오래 유지할 수 있습니다.
경험이 없는 경우 거래 방법:
매수:
모든 EMA가 녹색으로 변할 때까지 기다리세요. 모든 EMA가 녹색인 첫 번째 캔들에서 매수 포지션(Buy)을 여세요. 마지막 주요 지지선 아래에 스탑로스를 설정하세요. 모든 EMA가 빨간색으로 변하면 포지션을 종료하거나 매도를 고려하세요. 매도:
모든 EMA가 빨간색으로 변할 때까지 기다리세요. 모든 EMA가 빨간색인 첫 번째 캔들에서 매도 포지션(Sell)을 여세요. 마지막 주요 저항선 위에 스탑로스를 설정하세요. 모든 EMA가 녹색으로 변하면 포지션을 종료하거나 매수를 고려하세요. 결론적으로, MTFMA는 강력하고 다용도적인 지표입니다. 초보자부터 고급 트레이더까지 모두 지표의 외부 매개변수를 통해 100% 구성 가능합니다.
MTFMA가 재도색하지 않는 이유는 무엇인가요? 종가 기준 계산:
MTFMA 지표는 현재 형성 중인 캔들이 아닌 종가 기준으로 값을 계산합니다. 내부 코드에서는 limit - 1에서 0까지의 루프에서 계산이 실행되어 변경되지 않는 과거 데이터를 사용하는 것을 보장합니다.
출력 버퍼 및 빈 값:
지표는 계산된 값을 저장하기 위해 버퍼(MA1_UP_Buffer, MA1_DN_Buffer 등)를 사용합니다. 이러한 버퍼는 루프의 각 반복 시 업데이트되며, 특정 조건을 충족하는 경우에만 값이 설정됩니다(예: 현재 EMA가 이전 EMA보다 큰 경우). 값이 버퍼에 들어가면 변경되지 않아 생성된 신호가 일정하게 유지됩니다.
이동 평균 값 비교:
매수 및 매도 신호 계산은 현재 캔들과 이전 캔들의 이동 평균 값 비교를 기반으로 합니다. 이러한 비교는 캔들이 종료된 후 수행되며, 비교에 사용되는 값이 변경되지 않도록 보장합니다.
고정 조건 기반 색상 할당:
레이블 및 신호의 색상은 고정 조건에 따라 할당됩니다(예: 현재 EMA가 이전 EMA보다 큰 경우 신호 버퍼에 특정 값이 설정됨). 이러한 할당은 한 번 이루어지면 변경되지 않으며 신호의 일관성을 보장합니다.
구성 매개변수:
- MA1 (첫 번째 이동 평균) 평균 기간(MA1_Period): 첫 번째 이동 평균의 평균 기간. 이 매개변수는 이동 평균을 계산하는 데 사용할 데이터 기간 수를 결정합니다. 이 경우 5입니다. 평균 방법(MA1_Mode): 이동 평균을 계산하는 데 사용되는 평균 방법. 일반적인 값은 다음과 같습니다. 0: 단순 이동 평균(SMA) 1: 지수 이동 평균(EMA) 2: 평활화 단순 이동 평균(SSMA) 3: 선형 가중 이동 평균(LWMA) 이동 평균 계산에 사용되는 가격 유형(MA1_Price): 이동 평균 계산에 사용되는 가격 유형. 일반적인 값은 다음과 같습니다. 0: 종가(Close) 1: 시가(Open) 2: 최고가(High) 3: 최저가(Low) 4: 중간가(Median) 5: 일반 가격(Typical) 6: 가중 가격(Weighted)
- MA2 (두 번째 이동 평균) MA2_Period: 두 번째 이동 평균의 평균 기간. 이 경우 8입니다. MA2_Mode: 두 번째 이동 평균을 계산하는 데 사용되는 평균 방법. 이 경우 EMA(1)입니다. MA2_Price: 두 번째 이동 평균을 계산하는 데 사용되는 가격 유형. 이 경우 가중 가격(6)입니다.
- MA3 (세 번째 이동 평균) MA3_Period: 세 번째 이동 평균의 평균 기간. 이 경우 18입니다. MA3_Mode: 세 번째 이동 평균을 계산하는 데 사용되는 평균 방법. 이 경우 EMA(1)입니다. MA3_Price: 세 번째 이동 평균을 계산하는 데 사용되는 가격 유형. 이 경우 가중 가격(6)입니다.
- MA4 (네 번째 이동 평균) MA4_Period: 네 번째 이동 평균의 평균 기간. 이 경우 28입니다. MA4_Mode: 네 번째 이동 평균을 계산하는 데 사용되는 평균 방법. 이 경우 EMA(1)입니다. MA4_Price: 네 번째 이동 평균을 계산하는 데 사용되는 가격 유형. 이 경우 가중 가격(6)입니다.
- 시각적 (표시 매개변수) Wingdings: 매수 및 매도 신호를 나타내는 화살표 유형의 기호 선택. 0: 직사각형. 1: 화살표. Bar_Wingdings: 사용되는 특정 기호 유형. Bar_Width: 차트에 표시되는 화살표 또는 기호의 너비. Bar_Color_Up: 위로 가는 화살표 또는 기호에 사용되는 색상(매수를 나타냄). 이 경우 녹색입니다. Bar_Color_Down: 아래로 가는 화살표 또는 기호에 사용되는 색상(매도를 나타냄). 이 경우 빨간색입니다. Gap: 차트에서 화살표 또는 기호 사이의 수직 거리.
- Set_Label (레이블 설정) Show_Label: 텍스트 레이블을 표시하거나 숨기는 부울 매개변수. V_Label: 텍스트 레이블의 수직 오프셋. V_Shift: 수직 오프셋의 특정 양. H_Label: 텍스트 레이블의 수평 오프셋. H_Shift: 수평 오프셋의 특정 양. UP_DN (이동 평균 색상 상/하) Text_Color_UP: 이동 평균이 상승 추세를 나타낼 때 텍스트의 색상. 이 경우 녹색입니다. Text_Color_Down: 이동 평균이 하락 추세를 나타낼 때 텍스트의 색상. 이 경우 빨간색입니다.