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.
[email protected]