PureBytes Links
Trading Reference Links
|
hi,
well, I had this a couple of times as well that I posted a reply and it didn't come through. Don't really know what the reason could be. Thanks for your second reply any way,
rgds, Ed
----- Original Message -----
From: ntk98_2000
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, September 15, 2004 5:57 PM
Subject: [amibroker] Re: how to identify position of a past signal from current bar
Thank you Ed, and sorry that my response took so long. Iam sure I
have already posted my reply immediately last week-end as soon as I
saw your solution. Why I could not see my response here thats very
strange!!
--- In amibroker@xxxxxxxxxxxxxxx, "ed nl" <ed2000nl@xxxx> wrote:
> this is one way to do it,
>
> rgds, Ed
>
>
> lookback = 5;
>
> ma1 = MA(C,10);
> ma2 = MA(C,20);
> ss1 = Cross( ma1, ma2);
>
> mc1 = MACD(12,26);
> mc2 = Signal(12,26,9);
> ss2 = Cross(mc1, mc2);
>
> sk1 = StochK(14);
> sk2 = StochD(14);
> ss3 = Cross(sk1, sk2);
>
> Plot(C,"",colorwhite,64);
> Plot(ma1,"",colorWhite,1);
> Plot(ma2,"",colorRed,1);
>
> Buy = ss1 AND HHV(ss2, lookback) == 1 AND HHV(ss3,lookback) == 1;
> PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite);
>
>
> ----- Original Message -----
> From: ntk98_2000
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Saturday, September 11, 2004 1:52 PM
> Subject: [amibroker] how to identify position of a past signal
from current bar
>
>
> I build my system simply based on MA, cross over. In order to be
> sure that the cross is not a wrong signal (whipshaw) I look out
for
> STOCHK cross over and MACD to confirm that the two has been
positive
> recently, for example stochK or MACD has cross over in a period
of
> max. 5 days back.
>
> If I want to do the same in AA, looking for simple golden cross,
but
> in the last 5 days there has been STOCHK and\or MACD positive
signal
> how do I do that to determine the bar where they have happened?
> Thanks
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------
----------
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
>
> [Non-text portions of this message have been removed]
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|