Home    |    Trading Alchemy Manual    |    Alchemy Functions Index

AlchemyBreakStartEnd (Function)

AlchemyBreakStartEnd is a function that returns true when an intra-day bar is outside a specified start and end time period and it returns false when an intra-day bar is within a specified start and end time period.  This function can be conveniently used within a strategy code to prevent trades from being initiated within a specified break time period.  This function automatically returns true on non-intraday charts such as daily, weekly or monthly charts.


AlchemyBreakStartEnd(StartTme,EndTme)

Parameters

StartTme numericsimple Specifies the break start time.  The format of this input is in military time without the colon.  For example, 1:00 PM would be specified as 1300.
EndTme numericsimple Specifies the break end time.  The format of this input is in military time without the colon.  For example, 1:00 PM would be specified as 1300.

 

Home    |    Trading Alchemy Manual    |    Alchemy Functions Index