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

[amibroker] BUG in MULTI Time Frame



PureBytes Links

Trading Reference Links



When I'm use this formula
I obtain a BUY and SELL in Daily, in hourly, in 15 minute and 5 minute

_SECTION_BEGIN("B/S My formula");

Sell= My Formula for Sell ;

Buy= My Formula for Buy ;

PlotShapes(Buy*shapeUpArrow,colorBlue,0,L,-20);

PlotShapes(Sell*shapeDownArrow,colorRed,0,H,-20);

_SECTION_END();


When I'm use the formula below in Daily, hourly, 15 minute and 5 minute
I obtain NOTHING
 
WHY ???? is the problem ????

_SECTION_BEGIN("B/S My formula");

Sell= My Formula for Sell ;

Buy= My Formula for Buy ;

TimeFrameSet( inDaily ); // switch now to Daily

Vend_D = Vend ;

Achat_D= Achat ;

TimeFrameRestore(); // restore to original

TimeFrameSet( inHourly ); // switch now to 60min.

Vend_H = Vend ;

Achat_H= Achat ;

TimeFrameRestore(); // restore to original

TimeFrameSet( in15Minute ); // switch now to 15min

Vend_15 = Vend ;

Achat_15= Achat ;

TimeFrameRestore(); // restore to original

TimeFrameSet( in5Minute ); // switch now to 15min

Vend_5 = Vend ;

Achat_5= Achat ;

TimeFrameRestore(); // restore to original

Vend_D_expand = TimeFrameExpand(Vend_D,inDaily);

Achat_D_expand = TimeFrameExpand(Achat_D,inDaily);

Vend_H_expand = TimeFrameExpand(Vend_H,inHourly);

Achat_H_expand = TimeFrameExpand(Achat_H,inHourly);

Vend_15_expand = TimeFrameExpand(Vend_15,in15Minute);

Achat_15_expand = TimeFrameExpand(Achat_15,in15Minute);

Vend_5_expand = TimeFrameExpand(Vend_5,in5Minute);

Achat_5_expand = TimeFrameExpand(Achat_5,in5Minute);

Buy= Achat_D_expand AND Achat_H_expand AND

Achat_15_expand AND Achat_5_expand ;

Sell= Vend_D_expand AND Vend_H_expand AND

Vend_15_expand AND Vend_5_expand ;

PlotShapes(Buy*shapeUpArrow,colorBlue,0,L,-20);

PlotShapes(Sell*shapeDownArrow,colorRed,0,H,-20);

_SECTION_END();


 
Merci
 
YLTech ( Yves L. )
 
Le présent message et les documents qui y sont joints sont réservés exclusivement au destinataire indiqué. Il est strictement interdit d'en utiliser ou d'en divulguer le contenu. Si vous recevez le présent message par erreur, veuillez le détruire S.V.P. et nous en aviser immédiatement afin que nous puissions corriger nos dossiers. Merci.
 
This message and the attached documents may contain privileged or confidential information that are intended to the addressee only. Any unauthorized disclosure is strictly prohibited. If you happen to receive this message by error, please delete it and notify us immediately so that we may correct our internal records. Thank you.
 
yltech@xxxxxxxxxxxx


__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___