Scripts: The scripts for opening short positions
El script OpenBuyPosition tiene errores cuando SYMBOL_TRADE_STOPS_LEVEL=0 en el siguiente código :
bool StopCorrect(string symbol,int &Stop) { //---- int Extrem_Stop=int(SymbolInfoInteger(symbol,SYMBOL_TRADE_STOPS_LEVEL)); if(!Extrem_Stop) return(false); MUST BE if(Extrem_Stop<0) return(false); if(Stop<Extrem_Stop) Stop=Extrem_Stop; //---- return(true); }Extrem_Stop es un int, no un bool.
Hay activos que no funciona con ninguno de los 4 EA, alguien sabe como podría corregir??
Lástima que no haya tiempo para hacer pedidos ((((
The scripts for opening short positions:
Autor: Nikolay Kositsin