_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
();