TriZone Semafor Plus
- Indicadores
-
Ahmed Hamed Hamed Eadwan
PORTUGUESE TRANSLATION — PORTUGUÊS
====================================
TITLE:
Desenvolvedor MQL5 e Trader | Fundador da R protocols
ABOUT:
Olá, sou Ahmed — um trader e desenvolvedor MQL5 baseado nos
Emirados Árabes Unidos, e fundador da R protocols. - Versão: 1.0
- Ativações: 5
Se você precisa de uma detecção estruturada de pontos pivô multinível combinada com análises de painel em tempo real, notificações Push móveis e integração de automação para EA — o TriZone Semafor Plus foi construído especificamente para o seu fluxo de trabalho.
iCustom Reference — TriZone_Semafor_Plus
Buffers de Saída:
| Buffer | Índice | Sinal | Conteúdo |
|---|---|---|---|
| BufLow1 | 0 | BUY | Preço pivô de Compra Nível 1 — ZigZag Rápido |
| BufHigh1 | 1 | SELL | Preço pivô de Venda Nível 1 — ZigZag Rápido |
| BufLow2 | 2 | BUY | Preço pivô de Compra Nível 2 — ZigZag Médio |
| BufHigh2 | 3 | SELL | Preço pivô de Venda Nível 2 — ZigZag Médio |
| BufLow3 | 4 | BUY | Preço pivô de Compra Nível 3 — ZigZag Lento |
| BufHigh3 | 5 | SELL | Preço pivô de Venda Nível 3 — ZigZag Lento |
| BufSignal | 6 | BUY / SELL | Força do Sinal EA: +1/+2/+3 para COMPRA, -1/-2/-3 para VENDA, 0 = Sem Sinal |
Exemplo de Código iCustom
| int g_tzsHandle = INVALID_HANDLE; int OnInit() { g_tzsHandle = iCustom(_Symbol, PERIOD_CURRENT, "TriZone_Semafor_Plus", 5, 1, 3, 159, 159, 2, 13, 8, 5, 108, 108, 3, 34, 21, 12, 108, 108, 4, "EA1", 0, 1, 1, 0, 0, 0, 0, 0, 0, "alert.wav", 0, 20, 30, clrDodgerBlue, clrOrangeRed, C'20,20,30', 9); if(g_tzsHandle == INVALID_HANDLE) return INIT_FAILED; return INIT_SUCCEEDED; } void OnTick() { int safeShift = 4; double sigBuf[1]; if(CopyBuffer(g_tzsHandle, 6, safeShift, 1, sigBuf) != 1) return; int sigValue = (int)sigBuf[0]; if(sigValue > 0) PrintFormat("Sinal COMPRA Nível %d", sigValue); else if(sigValue < 0) PrintFormat("Sinal VENDA Nível %d", MathAbs(sigValue)); } |
EA MinShift Global Variable Auto-Detect
Detecção automática do deslocamento seguro (MinShift) para EAs:
| // EA: Auto-detect safe shift from indicator Global Variable int GetMinShift(string instanceID) { string hash = HashToHex8(instanceID); string gvName = "TZP_" + hash + "_MinShift"; if(GlobalVariableCheck(gvName)) return (int)GlobalVariableGet(gvName); return 4; // fallback to default } |
