Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/7/2005 Posts: 8
|
How can I enter a manual forced buy when I missed the indicated Buy from the program because of changing the condition pallet to improve results.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not sure I understand the question. Are you attempting to force a buy in BackScanner? If so, do you want every symbol bought or just a particular symbol?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/7/2005 Posts: 8
|
Yes! In Backscanner I am attempting to put an artificial, self induced, one time Buy that will start my automatic following strategies
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There isn't currently a built in way to create a manual Buy for a specific Bar or symbol. Here's one option using a RealCode Condition that would return True for Apple Inc (AAPL) on January 2, 2008.
Static Symbol As String = "AAPL"
Static FirstDate As Date = "01/02/2008"
If CurrentDate = FirstDate And _
CurrentSymbol = Symbol Then Pass
You could Drag and Drop it to BackScanner to force a Buy (assuming it had a higher Priority than other Conditions that are returning True then that might prevent the Buy).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/7/2005 Posts: 8
|
Bruce, I'm not as savey as I should be, but when I paste the code into the real code editor I get an error message in the last line, "Pass not identified". Also after closing I get a new pane for it but nothing shows up in the condition palett.
Don
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It reads like you are creating a RealCode Indicator instead of a RealCode Condition. You need to select RealCode Editor | Condition.
This will create a Condition in the Condition Palette that can be Dragged and Dropped to be used as part of a Filter, BackScan, WatchList Light or Chart.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/7/2005 Posts: 8
|
Thanks. It works Great. I owe you one.
Don
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |