// red cell = MACD<0
//green cell = MACD>0

|*Filter* = Status("Lastbarinrange");

TimeFrameSet(*inHourly*);
dif = MACD();
sig = Signal();
AddTextColumn (WriteIf(dif>sig, "Above Signal", "Below Signal"), Interval(2), 3.0, *colorWhite*, IIf(dif>0, *colorGreen*, *colorRed*), 80);
TimeFrameRestore();

TimeFrameSet(*inDaily*);
dif = MACD();
sig = Signal();
AddTextColumn (WriteIf(dif>sig, "Above Signal", "Below Signal"), Interval(2), 3.0, *colorWhite*, IIf(dif>0, *colorGreen*, *colorRed*), 80);

TimeFrameSet(*inWeekly*);
dif = MACD();
sig = Signal();
AddTextColumn (WriteIf(dif>sig, "Above Signal", "Below Signal"), Interval(2), 3.0, *colorWhite*, IIf(dif>0, *colorGreen*, *colorRed*), 80);
|


techie11111 wrote:
Can any body help to get simultaneous weekly-daily or Hrly- 5 min scans 
simultaneously.
e.g

Weekly macd below trigger & daily Macd above trigger

or
Hourly macd below trigger & 5 min macd above trigger

I want to scan scrips which satisfy the above conditions in two or three time 
frames





------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links




Reply via email to