Is it possible to 'wrap' a piece of efs code processing...to combine a procedure with the function call setComputeOnClose() such that the procedure (i.e. computeMAs()) is called only once (on the close)?
This would be a strategy to combine code you want to process every tick with code you want to compute only on the close...much like an event procedure in Visual Basic.
Can I use the event function call setComputeOnClose() to call a subprocedure buried in the script after the main() procedure has finished?
***Would it be possible to combine two efs scripts into one study...one oscillator...i.e. one that computes on every tick and one that computes on the close???
Any help is much appreciated,
gg
This would be a strategy to combine code you want to process every tick with code you want to compute only on the close...much like an event procedure in Visual Basic.
Can I use the event function call setComputeOnClose() to call a subprocedure buried in the script after the main() procedure has finished?
***Would it be possible to combine two efs scripts into one study...one oscillator...i.e. one that computes on every tick and one that computes on the close???
Any help is much appreciated,
gg
Comment