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

RE: [amibroker] Multi TimeFrames question



PureBytes Links

Trading Reference Links

>>    If you read the article it states quite plainly what to do
 
Give me a break.    OK, so basically you don't know how the
chart was generated.   ty
 
--jeff
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Graham
Sent: Monday, April 17, 2006 11:00 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Multi TimeFrames question

If you read the article it states quite plainly what to do
Formula 1. Multiple time-frame MACD. Note: in order to run this code and calculate multiple time-frame MACD, enter it into Automatic Analysis (AA) window, go to Settings window, make sure that Periodicity is set to 1-minute. Then press "Scan" button in the AA window.
I just took it you meant a chart, but AA must be set to lower bar period as well.

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
 
 
On 4/18/06, Jeff <jeffstr@xxxxxxxxxxxxx> wrote:
Thanks Graham, now I'm more confused.    Here's the document
I found with TJ's code.    It has a daily chart of CSCO running the
AFL.    How do you suppose that chart was created if timeframes
only work at higher intervals?   Thanks.
 
Also, any idea how to get TICK-NYSE into AB?
 
--jeff
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Graham
Sent: Monday, April 17, 2006 9:27 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Multi TimeFrames question

timeframes can only work at higher intervals than the chart, so you
neeed to ahve the chart period set to less than the minimum timeframe
in the AFL, in this case 10 minutes is the minimum timeframe in the
AFL

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm



On 4/18/06, Jeff <jeffstr@xxxxxxxxxxxxx> wrote:
>
> Forgot to ask my other question.   I was doing a Google of
> "Amibroker Tick symbology" when I found that multi
> timeframe code.
>
> At the time, I was trying to figure out to get IB's
> TICK-NYSE symbol into AB.   Tried all combinations
> and couldn't find in any documentation on syntax
> for the TICK.    Thanks!!!
>
> --jeff
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto: amibroker@xxxxxxxxxxxxxxx]On Behalf
> Of Jeff
> Sent: Monday, April 17, 2006 7:38 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Multi TimeFrames question
>
> I found some TJ code on multi-timeframes (forgot where).   Look's
> interesting and very clean.   Any thoughts on why the variable
> MTMACD is returning {EMPTY} would be appreciated.   I have the
> chart set to daily with historical 1 minute data, pretty sure it's setup
> correctly.   At a loss, thanks again.
>
> --jeff
>
> Count = 0;
> result = 0;
>
> for( i = 10; i <= 300; i++ )
> {
>    TimeFrameSet( i * in1Minute );
>    m = MACD(12, 26 );
>    TimeFrameRestore();
>    m = IIf( TimeFrameExpand( m, i * in1Minute ) > 0, 1, -1 );
>    result = result + m;
>    Count++;
> }
>
> AddToComposite( result / Count, "~MACD"+Name(), "X"  );
>
> Buy=1;
> x = Foreign("~MACD"+Name(),"C");
>
> Plot( x, "MTMACD", colorBlue , styleThick ) ;
>
> PlotGrid(0.5 );
> PlotGrid(-0.5);
>
>
> --jeff
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
> Of Jeff
> Sent: Monday, April 17, 2006 7:38 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Multi TimeFrames question
>
> I found some TJ code on multi-timeframes (forgot where).   Look's
> interesting and very clean.   Any thoughts on why the variable
> MTMACD is returning {EMPTY} would be appreciated.   I have the
> chart set to daily with historical 1 minute data, pretty sure it's setup
> correctly.   At a loss, thanks again.
>
> --jeff
>
> Count = 0;
> result = 0;
>
> for( i = 10; i <= 300; i++ )
> {
>    TimeFrameSet( i * in1Minute );
>    m = MACD(12, 26 );
>    TimeFrameRestore();
>    m = IIf( TimeFrameExpand( m, i * in1Minute ) > 0, 1, -1 );
>    result = result + m;
>    Count++;
> }
>
> AddToComposite( result / Count, "~MACD"+Name(), "X"  );
>
> Buy=1;
> x = Foreign("~MACD"+Name(),"C");
>
> Plot( x, "MTMACD", colorBlue , styleThick ) ;
>
> PlotGrid(0.5 );
> PlotGrid(-0.5);
>
>
> 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
>
>  Visit your group "amibroker" on the web.
>
>  To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>


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








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