Forum

Where is the error ?

I don't understand where is the error because i get an invalid stake . //+------------------------------------------------------------------+ //|Funzione Investimento | //+------------------------------------------------------------------+ if

Martin Gale system for BO

i created an ea that use a bridge to open trade on binary.com . I want to implement a martin gale system or a system based on events . so i wrote this if (isWon== 1 || contractFound== 0 ){investment=capital*( 3 / 100 );} else if (isWon== 0 && isExpired== 1 ) { for ( int i= 0 ;i< 4 ;i++)

Increasing shift for iLow/iHigh

I need to increase shift for each new candle until shift=5, after it has to come back to 2 . This is the code : { if (GetTime(TF1, 9 ) != EMPTY_VALUE ) LastSellSignalTF1 = GetTime(TF1, 9 ); if (GetTime(TF1, 7 ) != EMPTY_VALUE ) LastBuySignalTF1 = GetTime(TF1, 7 ); if

One ea multiple currencies dashboard

i wrote this code and i would like to know if it will work or not. Thank you very much . //Dashboard Symbols count=count+ 1 ; if (count== 1 ) { i= "EURUSD" ; } if (count== 2 ) { i= "GBPUSD" ; } if (count== 3 ) { i= "USDJPY" ; } if (count== 4 )

Istochastic and time

I need that my ea check stochastic value only every 5 minutes . So i wrote like this : .... double StochValue( ENUM_TIMEFRAMES timeframe, int buffer) { double val; if (buffer== 0 && CurrentTime!= Time [ 0 ]) { CurrentTime= Time [ 0 ]; val= iStochastic ( Symbol