//----------------------------------------------------------------------
// ForexManual-scr1.0
//----------------------------------------------------------------------
Signal = 0
// --------- Filtro Volumi giornalieri ----------
//
TIMEFRAME(daily)
// volume attuale maggiore del volumen medio di 50 cnadele
AVGVol = average[30](Volume)
CondVol = Volume[1]>AVGVol
TIMEFRAME(default)
// ----------------------------------------------
// ----------- Filtro RSI e CCI -----------------
RSISignal = RSI[14](Close)
CCISignal = CCI[20](Close)
//Condizioni di segnale Long
CondL1=RSISignal<=RSIDownThres
CondL2=CCISignal<=CCIDownThres
//Condizioni di segnale Short
CondS1=RSISignal>=RSIUpThres
CondS2=CCISignal>=CCIUpThres
if CondVol and CondL1 and CondL2 then
Signal=1
elsif CondVol and CondS1 and CondS2 then
Signal=-1
endif
SCREENER [Signal=1 or Signal=-1](1 as "Long", -1 as "Short")