[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with coding an initial stop loss



PureBytes Links

Trading Reference Links

> Also, unless you are just back testing you will need to use Global
> Variables in order to pass the BarLow and BarHigh values to the next day
> unless you leave your computer on all the time.

> Now - Why would any one want
> to do it this way?  There were many reasons that we decided to do it
> this way.

There is a big difference between "we DECIDED to do it this way" and
"you MUST do it this way." That's what all the fuss was about. 

I think everyone here is familiar with the concept of time/day rules. In
most cases it's easily handled within EL without the use of global vars.
You don't have to turn off the whole system until the last day, just
those calcs and buy/sell orders you don't want executed. If you need
vars from the previous day, tell TS to calculate them as it steps
through the bars of that day during bootup.

-- 
  Dennis