Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Do anyone know how to code a"... from Entry ("EntryName")" exit to a SetProfitTarget( ProfitTargetAmt? I'm using the "from Entry" because I want to trade multiple strategies on one instrument.
For example:
//Entry
if t=900 then begin
Buy("LE_1") next bar at market;
end;
// Exit I need help with
If ProfitTargetAmt >0 then SetProfitTarget( ProfitTargetAmt) from Entry("LE_1");
Can you help answer these questions from other members on NexusFi?
I referenced my "TS Made Easy" book and it suggests using "AT$" to reference the price for the bar that generated the order. But I can't get it to work. MultiCharts and my TS referance library do not have At$ listed as a command.
The book suggests:
Sell from Entry("EntryName") Next Bar AT$ close + 1 point Limit;
Is there another way to reference a specific entry price?
with Multicharts look into the Strategy Position Trades reserved words, they give a lot of information. In your case PosTradeEntryPrice( 0, 0 ) will give you the entry price of the first leg into the currently open position.