[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Daily Weekly Scans in one go



PureBytes Links

Trading Reference Links

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 <aron.groups@xxxxxxxxx> wrote:
From: Aron <aron.groups@xxxxxxxxx>
Subject: Re: [amibroker] Daily Weekly Scans in one go
To: amibroker@xxxxxxxxxxxxxxx
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

<*> To visit your group on the web, go to:
    http://groups. yahoo.com/ group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups. yahoo.com/ group/amibroker/ join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker- digest@xxxxxxxxx ps.com 
    mailto:amibroker- fullfeatured@ yahoogroups. com

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscri be@xxxxxxxxxxxx com

<*> Your use of Yahoo! Groups is subject to:
    http://docs. yahoo.com/ info/terms/

  





__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___