Anscheinend macht er das nur ein mal. Und öffnet Trades, obwohl die Kerzen was Anderes sagen.
Code:
int RSI_p_Bar = 2;
double RSI_p = iRSI(Symbol(),Timeframe,RSI_Period,RSI_Price,RSI_p_Bar);
if(open_Buy==true){
if( RSI>RSI_IL_1 && RVI_Ma>RVI_Si ){
while( RSI_p > RSI_IL_1 ){
RSI_p_Bar++;
Print( "-RSI Past=",RSI_p , "-RSI Past Bar=",RSI_p_Bar );
return(RSI_p);}
if( RSI_p < RSI_IL_1 ){
Code:
if( RSI<RSI_IL_2 && RVI_Ma<RVI_Si ){
while(RSI_p < RSI_IL_2 ){
RSI_p_Bar++;
Print( "-RSI Past=",RSI_p , "-RSI Past Bar=",RSI_p_Bar );
return(RSI_p);}
if( RSI_p > RSI_IL_2 ){
Wie bekommt man das hin, dass er eine vorige RSI-Kerze nach der Anderen
prüft, ob sie zuletzt über oder unter IL 1 / IL 2 waren?