Adding Previous Day's High to Intraday Chart
Author: LoneTreeTrading
Creation Date: 7/9/2011 1:52 PM
profile picture

LoneTreeTrading

#1
I'm wanting to replace the "buypoint" variable in this strategy with the high from the previous day. Can you show me how to access that data?

CODE:
Please log in to see this code.
profile picture

Eugene

#2
This is a real riddle:

1. Peeks into the future, the results will be inflated
2. The entry and exit blocks are "disconnected"
3.1. You can't compare the High at this bar and buy at market the same bar.
3.2. Why not use an AtStop order?
4. IntradayBarNumber, why is it being used there for?

CODE:
Please log in to see this code.
profile picture

LoneTreeTrading

#3
Sorry for the riddle. My intent is to buy a stock I have selected ahead of the market open. My planned trade is to buy the stock at the Open the next day when the high of the previous day has been exceeded. The trade will be held until the first lower low occurs. When a trade is taken the bar color and the background are changed to help identify the trade is continuing.

I'll check on using SellAtStop.

Where I'm entering a value for a given stock on a given day, I haven't looked at the performance and don't see how any backtesting performance is of value.

I didn't realize linking the entry and exit blocks were required. I'm not auto-trading and the way it was done here seemed to work.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).