Forum

error 130

Hi guys. I can't understand why the backtest of this strategy gives me back error 130. can someone help me? void OnTick (){ OpenOrder_Short(); OpenOrder_Long(); CloseOrder(); } void OpenOrder_Short(){ ampiezzaSL(); if ( iClose ( Symbol (), 0 , 1 ) > iHigh ( Symbol (), 0 , iHighest (

ea doesn't work

I'm not capable to understand why this simple EA doesn't work... Can someone help me? :) the mt4 doesn't give any error but when i start the backtest there aren't opened orders... :/ EDIT: Code removed and added in a later post