No it is just that I like to initiate (different) trades on 2 different time frames.
In that case here is an example code that uses signals generated in a higher time frame:
|tmf = 4**inHourly*; TimeFrameSet( tmf ); EnterLong = Cross (*C*, MA(*C*, 10)); TimeFrameRestore(); EnterLong = TimeFrameExpand(EnterLong, tmf, *expandFirst*); *Buy* = BarsSince(EnterLong )==1; *BuyPrice* = *Open*; Plot(*C*, "", IIf(EnterLong, *colorGreen*, *colorWhite*), *styleBar*); PlotShapes( *Buy** *shapeSmallUpTriangle*, *colorGreen*, 0, *L* );|
