
16.05.20
|
|
Mitglied
|
|
Registriert seit: Feb 2014
Ort: Berlin
Beiträge: 42
|
|
Octopus Power Vers.1.50
Okay Leute hier schonmal der Octopus Power - RSI
Ihr könnt selber die Down und Up Prozente bestimmen die Periode ist auch einstellbar so wie beim RSI nur das alle Varianten vom RSI enthalten sind umd noch besseres Signal zubekommen.
Zitat:
//+------------------------------------------------------------------+
//| OctopusPower Vers.1.50 |
//| Copyright © 2020, Marcel Streit |
//| Streitmarcel@hotmail.com |
//+------------------------------------------------------------------+
#property icon "Logo.ico";
#property copyright "©2020 by Marcel Michel Streit "
#property link ""
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
#property indicator_separate_window
#property indicator_buffers 3
#property indicator_maximum 100
#property indicator_level1 90
#property indicator_level2 50
#property indicator_level3 10
#property indicator_levelcolor clrDarkGray
#property indicator_levelstyle DRAW_ZIGZAG
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
extern string Octopus_Power_Settings;
extern int K_Period = 14;
extern double Period_Dn = 90.00;
extern double Period_Up = 0.00;
extern color Powerlinie = clrDimGray;
//+------------------------------------------------------------------+
//|Buffer |
//+------------------------------------------------------------------+
double Octopus_Power_Buffer[],Octopus_Power_Dn[],Octopus_Power_Up[];
static string indicatorName = "OctupusPower Vers.150 - RSI "+"("+K_Period+")";
int init()
{
SetIndexBuffer(0,Octopus_Power_Buffer);SetIndexSty le(0,DRAW_LINE,EMPTY,1,Powerlinie);
SetIndexBuffer(1,Octopus_Power_Dn);SetIndexStyle(1 ,DRAW_LINE,EMPTY,2,clrFireBrick);SetIndexLabel(1,N ULL);
SetIndexBuffer(2,Octopus_Power_Up);SetIndexStyle(2 ,DRAW_LINE,EMPTY,2,clrForestGreen);SetIndexLabel(2 ,NULL);
IndicatorShortName(indicatorName);
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
int countedBars = IndicatorCounted(),i;
if(countedBars < 0)
countedBars = 0;
for(i = Bars - countedBars; i >= 0; i--)
{
double RSI_Buffer = (iRSI(Symbol(),Period(),K_Period,PRICE_CLOSE,i)+iR SI(Symbol(),Period(),K_Period,PRICE_OPEN,i)+iRSI(S ymbol(),Period(),K_Period,PRICE_HIGH,i)+iRSI(Symbo l(),Period(),K_Period,PRICE_LOW,i)+iRSI(Symbol(),P eriod(),K_Period,PRICE_MEDIAN,i)+iCCI(Symbol(),Per iod(),K_Period,PRICE_TYPICAL,i)+iRSI(Symbol(),Peri od(),K_Period,PRICE_WEIGHTED,i))/7;
Octopus_Power_Buffer[i]= RSI_Buffer;
if(Octopus_Power_Buffer[i] >= Period_Dn)
{
Octopus_Power_Dn[i] = Octopus_Power_Buffer[i]; Octopus_Power_Dn[i+1] = Octopus_Power_Buffer[i+1];
}
else
{
Octopus_Power_Dn[i] = EMPTY_VALUE;
if(Octopus_Power_Dn[i+2] == EMPTY_VALUE)
Octopus_Power_Dn[i+1] = EMPTY_VALUE;
}
if(Octopus_Power_Buffer[i] <= Period_Up)
{
Octopus_Power_Up[i] = Octopus_Power_Buffer[i]; Octopus_Power_Up[i+1] = Octopus_Power_Buffer[i+1];
}
else
{
Octopus_Power_Up[i] = EMPTY_VALUE;
if(Octopus_Power_Up[i+2] == EMPTY_VALUE)
Octopus_Power_Up[i+1] = EMPTY_VALUE;
}
}
return(0);
}
|
Es kommen noch für euch Stochasti und CCI habe mit den bis zu 90 % erfolge zurzeit kann euch ein Beweis gerne mit anhängen das ist der Zeitraum von 11.05. bis 15.05.
|