salve, qualcuno mi saprebbe dire perchè il prorealtime mi apre le posizionio in orari totalmente differenti da quelli da me indicati? grazie a tutti per il supporto il codice è il seguente defparam cumulateorders=false time1=120000 time2=010000 time3=160000 time4=070000 daysForbiddenEntry = OpenDayOfWeek = 6 OR OpenDayOfWeek = 0 OR OpenDayOfWeek = 1 OR OpenDayOfWeek = 2 IF NOT LongOnMarket and time1 AND dayofweek=3 or dayofweek=4 or dayofweek=5 THEN BUY 1 CONTRACT AT MARKET ENDIF IF longonmarket and time2 THEN SELL 1 CONTRACT AT MARKET ENDIF IF not longonmarket and time2 and dayofweek=5 THEN SELL 1 CONTRACT AT MARKEt ENDIF //ribassista if not shortonmarket and dayofweek=1 or dayofweek=5 and time2 then sellshort 1 CONTRACT at market endif if shortonmarket and dayofweek=1 or dayofweek=5 and time1 then exitshort at market endif if not shortonmarket and dayofweek=2 or dayofweek=4 and time4 then sellshort 1 CONTRACT at market endif if shortonmarket and dayofweek=2 or dayofweek=4 and time4 then exitshort at market endif