ciao a tutti,
qualcuno sa tradurmi in linguaggio beetrade questo ts che usavo con prorealtime? ricordo che funzionava bene su tf intraday e su molti strumenti
Grazie mille in anticipo

Defparam cumulateorders = false
DEFPARAM FlatBefore = 081500
DEFPARAM FlatAfter = 215500

n = 1
RANGE7 = high - low < high[1] - low[1] and high - low < high[2] - low[2] and high - low < high[3] - low[3] and high - low < high[4] - low[4] and high - low < high[5] - low[5] and high - low < high[6] - low[6]

IF not onmarket and RANGE7 THEN
alto = highest[10](high)
basso = lowest[10](low)

buy n shares at basso limit
sellshort n shares at alto limit
ENDIF

set stop ploss 14/1.5
set target pprofit 14