PureBytes Links
Trading Reference Links
|
I have this code for price percentage change:
Pricechange=(C-Ref(C,-1))*100/Ref(C,-1);
Now i want to set a sell signal that will generate the signal if price falls for more than 4%
Normally it can be done as Sell= -Pricechange>4;
but this code looks into one particular bar to meet the condition but i want if cumulative price fall on some consecutive days is more than 4% then also it will generate the signal.
For better understanding suppose after few days of buy occur, price on 4th day price falls 1%,2nd
How could it be done?
Suppose my buy is Buy= pricechange>5 and V>wma(v,15);
------------------------------------
**** 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
<*> 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@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|