if I assign my entry and exit rules to BUY and SELL directly,
I get very good results.
If I assign my entry rules to a variable then to the BUY, the result
is significantly different!
A simple example:
#1 Buy = cross(c,ma(c,2));
#2 inlong= cross(c,ma(c,2));
buy= inlong;
In my book #1
Not really sure what you want...
#1
(exit and c ema(c,50));
or
#2
(exit and ref(c,-i) ref(ema(c,50),-i)
or
#3
(exit and valuewhen(Close EMA(Close,50),close));
...I think you might mean #3
Walt
--- In amibroker@yahoogroups.com, Louis Préfontaine
[EMAIL PROTECTED] wrote:
I give up...
Check on what video chipset the laptop has...
That will determine how well the 22 monitior will work.
2 Gigs is plenty... go for faster CPU; AMD will be less expensive
and works better (IMHO)...
Good luck getting XP... Vista was my only choice and I fought with
it for 6 months before
I use the applyStop bars with bars set to 50 BUT some stocks refuse to
stop and go past all the way to 200+ days???
I also added a sell when barssince(buy)50 but some stocks still decide
when to stop on their own.
I tried exrem and various code; only thing that works is to remove
the offending
the trading gaps over your price at
open.
--
Cheers
Graham
AB-Write Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 03/03/07, hairy_mug [EMAIL PROTECTED] wrote:
Finished my strategy and tested good (with PriceBoundChecking
true
Finished my strategy and tested good (with PriceBoundChecking true and
delay=1).
I would like to adjust the entry price according to a formula so I can
specify the price and not use whatever it is on the Open.
I am aware of the buyprice array but with PriceBoundChecking true, it
re-adjusts