PureBytes Links
Trading Reference Links
|
I want to run through each chart for different price ranges and get results
for all prices and for each price range. Can someone help me in the right
direction
I currently have the for bits but want to incorporate them together without
the need for hundreds of if statements for each price range, thus the loops
within loops
for( i=1; i<BarCount-1; i++ )
{
if( MajorHigh[i] && LastMajorTop[i-1]==0 )
{
}
else
{
if( etc
And the price ranges I have as
Price[0] = 0;
Price[1] = 0.1;
Price[2] = 0.25;
for( n=3; n<=HighLevel; n++ )
{
Price[n] = 2 * Price[n-1];
}
And have done this
for( n=LowLevel; n<=HighLevel-1; n++ )
{
Etc
}
Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|