Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Manualy force a buy. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
AE40Y
Posted : Friday, September 12, 2008 9:55:00 AM
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.
Bruce_L
Posted : Friday, September 12, 2008 9:57:35 AM


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
AE40Y
Posted : Friday, September 12, 2008 10:10:07 AM
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

Bruce_L
Posted : Friday, September 12, 2008 11:23:49 AM


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
AE40Y
Posted : Friday, September 12, 2008 12:52:24 PM
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
Bruce_L
Posted : Friday, September 12, 2008 12:58:54 PM


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
AE40Y
Posted : Friday, September 12, 2008 2:16:20 PM
Registered User
Joined: 4/7/2005
Posts: 8
Thanks.  It works Great.      I owe you one.

Don
Bruce_L
Posted : Friday, September 12, 2008 2:17:05 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.