Platinum Candle Indicator
- Indikatoren
- Rennan Lima
- Version: 1.3
- Aktualisiert: 21 Februar 2022
Ein guter Zeitpunkt für einen Verkauf ist nach dem Schließen einer rosa Kerze zu erkennen. Das Muster wird zuverlässiger, wenn der Verkauf eröffnet wird, wenn der Preis der Kerze nach der rosa Kerze unter dem Mindestpreis der rosa Kerze liegt.
Puffer:
Sie können einen Experten entwickeln und den Puffer Nummer 5 für ein Kaufsignal verwenden.
Sie können einen Experten entwickeln und den Puffer Nr. 6 für ein Verkaufssignal verwenden.
FRAGEN ZUM KAUF UND ZUR INSTALLATION VON PRODUKTEN BEI META TRADER
Sie können auch einige Anleitungen zum Kauf und zur Installation eines Roboters im Meta Trader-Shop unter diesen Links finden:
https://www.youtube.com/watch?v=M1lD90g9Rjg&list=PLltlMLQ7OLeKI8pl71L4W_WTwQVs3XC7g
https://www.mql5.com/en/articles/498
Wenn Sie Unterstützung bei der Einrichtung Ihrer Umgebung benötigen,senden Sie eine E-Mail an "renanlimamql@gmail.com".
//+------------------------------------------------------------------+
//| PlatinumCandleExample.mq5 |
//+------------------------------------------------------------------+
#property version "1.00"
#property description "This experts shows how to use Platinum Indicator buffers."
#property description " "
#property description "Esse experts mostra como usar os buffers do Platinum Indicator."
#resource "\\Indicators\\PlatinumCandleIndicator_v1_2\\PlatinumCandle.ex5"
int platinumIndicatorHandler;
double platinumIndicatorBufferBuy[];
double platinumIndicatorBufferSell[];
MqlRates ratesBuffer[];
input int iptLevel=30; //Minimal value for distortions filter
//+------------------------------------------------------------------+
int OnInit()
{
ArraySetAsSeries(platinumIndicatorBufferBuy,true);
ArraySetAsSeries(platinumIndicatorBufferSell,true);
ArraySetAsSeries(ratesBuffer,true);
platinumIndicatorHandler = iCustom(_Symbol,_Period,"\\Indicators\\PlatinumCandleIndicator_v1_2\\PlatinumCandle",iptLevel);
if(platinumIndicatorHandler==INVALID_HANDLE)
return INIT_FAILED;
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
void OnTick()
{
if(!hasNewBar())
return;
if(CopyBuffer(platinumIndicatorHandler,5,0,2,platinumIndicatorBufferBuy)<2)
{
Print("Fail copying data for [Platinum Indicator Buy Buffer]");
return;
}
if(CopyBuffer(platinumIndicatorHandler,6,0,2,platinumIndicatorBufferSell)<2)
{
Print("Fail copying data for [Platinum Indicator Sell Buffer]");
return;
}
if(CopyRates(_Symbol,_Period,0,2,ratesBuffer)<2)
{
Print("Fail copying data for [Rates Buffer]");
return;
}
if(ratesBuffer[1].close==platinumIndicatorBufferBuy[1])
{
Print("Add your logic to buy or send alert/notification");
return;
}
if(ratesBuffer[1].close==platinumIndicatorBufferSell[1])
{
Print("Add your logic to sell or send alert/notification");
return;
}
}
//+------------------------------------------------------------------+
bool hasNewBar()
{
int currentNrOfBars = Bars(_Symbol,_Period);
if(currentNrOfBars>lastNrOfBars)
{
lastNrOfBars=currentNrOfBars;
return true;
}
return false;
}
//+------------------------------------------------------------------+

Nice