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

[amibroker] Backtest issue



PureBytes Links

Trading Reference Links

I need to try this again, because I am evidently missing some basic 
logic of the backtester.  I'm using a 1 minute chart.  The Backtester 
uses 1300 as the value of Phigh on July 1 in the code below despite 
the second line which changes it.  The value of 1208 correctly 
displays in the 1 minute chart on July 1, however.  Using 
TimeFrameCompress and then TimeFrameExpand does not make any 
difference.  How can I get the backtester to recognize the new value 
of PHigh?

Thanks as always for your help!


PHigh = 1300; 
if (SelectedValue(Month() == 7 AND SelectedValue(Day()) == 1)) 
{ PHigh = 1208;}
//TimeFrameExpand(PHigh, inDaily);






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/