just a correction: added |TimeFrameRestore() after each ||TimeFrameSet()|
|*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);
||TimeFrameRestore();
||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);
||TimeFrameRestore(); |
|
|NIFTY PLAYER wrote:
THAX ARON SIR, WITH RESPECT NIFTY46(DHIRAJ SOOD)
--- On *Mon, 3/30/09, Aron /<[email protected]>/* wrote:
From: Aron <[email protected]>
Subject: Re: [amibroker] Daily Weekly Scans in one go
To: [email protected]
Date: Monday, March 30, 2009, 5:54 AM
// 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.amibroke r.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroke r.com/devlog/
Yahoo! Groups Links