NexusFi: Find Your Edge


Home Menu

 





Multicharts questions


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one iCEO with 5 posts (0 thanks)
    2. looks_two Big Mike with 4 posts (3 thanks)
    3. looks_3 Nicolas11 with 4 posts (3 thanks)
    4. looks_4 sptrader with 3 posts (4 thanks)
      Best Posters
    1. looks_one arnie with 2 thanks per post
    2. looks_two sptrader with 1.3 thanks per post
    3. looks_3 Big Mike with 0.8 thanks per post
    4. looks_4 Nicolas11 with 0.8 thanks per post
    1. trending_up 9,106 views
    2. thumb_up 13 thanks given
    3. group 8 followers
    1. forum 28 posts
    2. attach_file 5 attachments




 
Search this Thread

Multicharts questions

  #21 (permalink)
iCEO
Taiwan
 
Posts: 7 since Nov 2011
Thanks Given: 1
Thanks Received: 0

Thanks everyone trying to help.

I am moving all logic to "Signal" side because both categories - Strategy Performance and Accounts & Positions - are designed to work in "Signal".

Nicolas11, you are right, Text_New is working in "Signal" as well.

Regarding the i_ClosedEquity, it returns the profit or loss realized when a position has been closed. Therefore, MC shows "0.00" in "Indicator" when I need it to show the account equity at first place before any position taken.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #22 (permalink)
 
Nicolas11's Avatar
 Nicolas11 
near Paris, France
 
Experience: Beginner
Platform: -
Trading: -
Posts: 1,071 since Aug 2011
Thanks Given: 2,232
Thanks Received: 1,769

In signals, GetRTAccountEquity(GetAccountID) does work. Do you still have any problem ?

 
Code
Variables:
    Equity    ( 0 );
    
Equity = GetRTAccountEquity(GetAccountID);

if LastBarOnChart then begin
    Value1 = Text_New_s(Date, Time_s, High + 6 * MinMove/PriceScale, NumToStr(Equity, 0));
    Text_SetColor(Value1, Yellow);
end;
SIM account:

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #23 (permalink)
iCEO
Taiwan
 
Posts: 7 since Nov 2011
Thanks Given: 1
Thanks Received: 0


No problems now.

Thanks guys.

Reply With Quote
  #24 (permalink)
 arellyn 
Australia
 
Experience: Beginner
Platform: Multicharts
Broker: IB
Trading: Forex
Posts: 3 since Mar 2012
Thanks Given: 3
Thanks Received: 1

It is clear that signals in MC cannot use plot . Has anyone else found this frustrating?
I am new to MC and learning, how do you ensure that the indicator data you see on a graph is what is being executed by the signal. Visually I can see entry exit / entry points but translating to signals seems difficult to ensure statefulness of the code without plotting the data to ensure variables and data used in the strategy and the same as what is visible on a chart.

Regards
arellyn

Reply With Quote
  #25 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


arellyn View Post
It is clear that signals in MC cannot use plot . Has anyone else found this frustrating?

Yup. I've just used a Text String with an _ or - as a dirty workaround, but be careful drawing too many of these on a long historical chart, it can slow down the load time considerably.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #26 (permalink)
 arellyn 
Australia
 
Experience: Beginner
Platform: Multicharts
Broker: IB
Trading: Forex
Posts: 3 since Mar 2012
Thanks Given: 3
Thanks Received: 1

Hi Mike,

I had a quick look at
and this is useful for future as a new person I want to do the following

1. Create a new indicator and plot it (done)
2. trade that indicator seen on the graph
Can I reference a new indicator or plot 1 and 2 in a signal e.g. plot1 > plot2 so I know it is using the same data?
sorry if this is a silly question
cheers

Reply With Quote
  #27 (permalink)
 
Nicolas11's Avatar
 Nicolas11 
near Paris, France
 
Experience: Beginner
Platform: -
Trading: -
Posts: 1,071 since Aug 2011
Thanks Given: 2,232
Thanks Received: 1,769

Hi,

Another workaround in addition to Mike's string is to use lines : TL_New
With one small segment per bar, you obtain... a curve.
But it creates as many drawings as bars: it could become heavy quite rapidly.

I understand your concern that the logic of the signal be the same as the displayed indicator.
For me, the cleanest way to do that is to put the code in a function.
In the signal, you use the function.
In the indicator, you plot the function, and nothing more.
This way, you are sure there is no discrepancy between what you see (indicator) and what the signal uses.

Nicolas

Visit my NexusFi Trade Journal Reply With Quote
  #28 (permalink)
 polas 
Vilnius Lithuania
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus
Trading: 6B
Posts: 2 since Nov 2009
Thanks Given: 1
Thanks Received: 0

Hello,
I am demoing multicharts and when opening a 3 contract trade with 1 stop and 3 targets using master exit strategy chart trader(or DOM) showing that 1 stop for all contracts as 3 different orders.Can anyone tell me how to make it to show as 1 stop instead of 3 and move stop on chart with one move?

Reply With Quote
  #29 (permalink)
 
arnie's Avatar
 arnie 
Europe
 
Experience: Advanced
Platform: Jigsaw
Broker: Tradovate
Trading: Equities
Posts: 826 since May 2010
Thanks Given: 763
Thanks Received: 1,048


polas View Post
Hello,
I am demoing multicharts and when opening a 3 contract trade with 1 stop and 3 targets using master exit strategy chart trader(or DOM) showing that 1 stop for all contracts as 3 different orders.Can anyone tell me how to make it to show as 1 stop instead of 3 and move stop on chart with one move?

The master strategy allows you to set different stops and targets for each contract, if you decide to have the same stop for all 3 contracts then that is what you get, 1 stop per contract.

If you don't like to see three stop orders over the same price then choose another strategy.
If you're monitoring the trade, set a stop loss strategy and then put 3 limit orders for your targets. As prices move you adjust the orders.

If I become half a percent smarter each year, I'll be a genius by the time I die
Reply With Quote
Thanked by:




Last Updated on March 22, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts