SCAN / Defining scan time frame in AFL code.

mohan.sic

Well-Known Member
#1
Hi,

My intention is to scan the the stocks based on RSI signals on intraday / live data.

I have given a parameter through ALF code wizad like this :

Buy = RSI( 15 ) < 30;

Sell = 0;

Short = 0;

Cover = 0;


But when i run the scan nothing is filtered. when i asked data provider they asked me under what time the scan is done and they say that time frame under which scan has to be done should be defined in AFL.

How to define scan time frame in AFL. Anyone please provide AFL code to scan scrips at 1 mt time frame. That is please give ALF code to scan the stocks which came below RSI 30 at 1 mt time frame.
 
#2
Hi,

My intention is to scan the the stocks based on RSI signals on intraday / live data.

I have given a parameter through ALF code wizad like this :

Buy = RSI( 15 ) < 30;

Sell = 0;

Short = 0;

Cover = 0;


But when i run the scan nothing is filtered. when i asked data provider they asked me under what time the scan is done and they say that time frame under which scan has to be done should be defined in AFL.

How to define scan time frame in AFL. Anyone please provide AFL code to scan scrips at 1 mt time frame. That is please give ALF code to scan the stocks which came below RSI 30 at 1 mt time frame.
Code:
TimeFrameSet(in1Minute);

Buy = RSI( 15 ) < 30;

SELL = RSI( 15 ) > 70;
 

Similar threads