Search found 128 matches
- 06 Nov 2023
- Forum: MultiCharts
- Topic: How to add to an open position
- Replies: 8
- Views: 1456
Re: How to add to an open position
Yohyon, It is good to not be afraid to try to implement the strategy you want; but learning can be much less expensive using only one contract until you get the hang of it. Scaling into a position with multiple limit orders is going to be daunting to code the way you expect it to work. The buy order...
- 04 Nov 2023
- Forum: MultiCharts
- Topic: VWAP Bands Problem with Exception Floating-point division by zero
- Replies: 6
- Views: 741
Re: VWAP Bands Problem with Exception Floating-point division by zero
sforbes, If you still want the original Vwap-_bands_5 indicator fixed, I can edit it to behave better. Just realize that Volume Weighted Average Price is bombing with division by zero error because of missing volume data. Some symbols have historical volume available, some only have real-time volume...
- 04 Nov 2023
- Forum: MultiCharts
- Topic: More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]
- Replies: 2
- Views: 367
Re: More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]
Luto,
Try this and see if it is what you want:
Try this and see if it is what you want:
Code: Select all
if Barstatus=2 and Symbol_Length-Symbol_CurrentBar<=9 then print("High: ", H);
- 24 Oct 2023
- Forum: MultiCharts
- Topic: How to use ELCollection to read last row from a file? [SOLVED]
- Replies: 4
- Views: 450
Re: How to use ELCollection to read last row from a file? [SOLVED]
Hi rc76, I don't have the ELCollections documentation with me to look at but I think you want this: vars: FileName("C:\Read123.txt"), ListC_ID(ListC.New), ListDate_ID(0), ListTime_ID(0), MyDate(""), MyTime(""); if CurrentBar = 1 then begin // Read entire file Value1 = ListC.ReadFile(ListC_ID, Filena...
- 25 Sep 2023
- Forum: MultiCharts
- Topic: strategy help
- Replies: 3
- Views: 482
Re: strategy help
leonng, That is a somewhat unusual exit style. If I understand correctly, you want to enter at any RSI cross-over, but only exit every fourth day of the month? So you might be in the trade one bar or up to 24 bars? MC trading sessions are defined by hours of the week and cannot span days of the mont...
- 16 Sep 2023
- Forum: MultiCharts
- Topic: No orders are being closed [SOLVED]
- Replies: 2
- Views: 355
Re: No orders are being closed [SOLVED]
hb7of9, The two reasons no exits are being triggered is because: 1. The TradeString is updated every bar and so the previous entry order name cannot be referenced. 2. The sell limit and stop orders use the current close times .7 or 1.3. This is not 30% profit or loss from the entry price. The close ...
- 08 Aug 2023
- Forum: MultiCharts
- Topic: Find top X S&P500 companies
- Replies: 4
- Views: 458
Re: Find top X S&P500 companies
Hello, Unfortunately, Interactive Brokers does not supply lists of stock symbols by exchange or index. You can download this information from several other sources such as https://www.barchart.com/stocks/indices/sp/sp500?viewName=fundamental&orderBy=marketCap&orderDir=desc . S&P500-Top-Ten.txt A...
- 01 Jul 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 932
Re: faulty backtest results when dataindex is used
krzysiaczek99, It is very possible I don't understand what it is that you are trying to do. I can't tell by the pictures. I have to assume you know that only the primary symbol (the symbol in the first data slot) can be traded. Those are the prices that show up in the backtest results. The AUDJPY pa...
- 30 Jun 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 932
Re: faulty backtest results when dataindex is used
Hi krzysiaczek99, The FAQ that TJ pointed out does have the correct information for handling multiple data series, including function calls. The topic is not the most apparent to figure out for an easy language. It is ok to ask how to write the code but you included a function from John Ehler that w...
- 16 Jun 2023
- Forum: User Contributed Studies and Indicator Library
- Topic: ConnorsRSI
- Replies: 3
- Views: 3863
Re: ConnorsRSI
scrichley, You must either copy the code from the ConnorRSI indicator into your signal and compile it there or turn the indicator code into a function and call that function from your signal. Creating a function out of the indicator code is easy, so it isn't always included. I have done it for you. ...
- 13 Jun 2023
- Forum: MultiCharts
- Topic: After attain profit target, calculate the loss of closed position and open position profit....
- Replies: 6
- Views: 548
Re: After attain profit target, calculate the loss of closed position and open position profit....
Hello exboy, I am thinking you want to record the change in profit per contract starting from a fixed price level target on a multi-contract position, but I don't completely understand your objective. Your use of Closedpositionprofit as a variable name confuses me because the profit on the last clos...
- 03 Jun 2023
- Forum: MultiCharts
- Topic: Please help - code to make trade in specific year [SOLVED]
- Replies: 2
- Views: 397
Re: Please help - code to make trade in specific year [SOLVED]
Airke07, The PowerLanguage date and time routines are based on legacy UNIX "Posix" structure and are thus not completely intuitive to remember. Hence, it is best to make a link to the MultiCharts64.chm help file in the MultiCharts directory and keep that open to search for the proper keyword to use ...
- 30 Mar 2023
- Forum: MultiCharts
- Topic: How to code one trade a day or...
- Replies: 9
- Views: 1134
Re: How to code one trade a day or...
zanna,
Are you using realtime Synchronous AutoTrading mode? If that is the case then the EntryDate() keyword is going to give you trouble and a different solution is necessary.
Are you using realtime Synchronous AutoTrading mode? If that is the case then the EntryDate() keyword is going to give you trouble and a different solution is necessary.
- 26 Mar 2023
- Forum: MultiCharts
- Topic: How to code one trade a day or...
- Replies: 9
- Views: 1134
Re: How to code one trade a day or...
Hello Zanna, The TradesToday function does work as intended, (although it should more appropriately be called EntriesToday). It may not have worked for you because of any of the following reasons: 1. You forgot to reset the condition1 back to false after every bar. 2. You didn't get enough signals t...
- 22 Mar 2023
- Forum: MultiCharts
- Topic: Oanda data feed disconnecting prematurely
- Replies: 2
- Views: 352
Re: Oanda data feed disconnecting prematurely
Yes, Oanda is now unusable for me. Relying on Microsoft Edge was a complete disaster. Whereas using the API token is seamless, reliable and secure.
- 11 Feb 2023
- Forum: MultiCharts
- Topic: Problem with Portfolio_OpenPositionProfit
- Replies: 5
- Views: 649
Re: Problem with Portfolio_OpenPositionProfit
fltngpnt, "crosses under" applies to a plottable number series. You should just use "<" or ">" instead. ...and check using a printout of the Portfolio_OpenPositionProfit at each step.
- 27 Jan 2023
- Forum: MultiCharts
- Topic: MTF ( Multitimeframe ) - basic question - please clarify
- Replies: 2
- Views: 484
Re: MTF ( Multitimeframe ) - basic question - please clarify
You can input a static data series and refer to that throughout your indicator or signal code.
Code: Select all
input: DSerC(C Data2), DSerL(L Data2), DSerH(H Data2);
if DSerC>DSerC[1] and DSerL>DserL[1] and DSerH>DserH[1] then print(DSerH:0:0);
- 04 Jan 2023
- Forum: MultiCharts
- Topic: IB Gateway optimal restart time for best stability ?
- Replies: 2
- Views: 442
Re: IB Gateway optimal restart time for best stability ?
After much experimenting, what I do is set the IB Gateway to restart at 21:30 MST (GMT-7) for connecting to the Chicago servers. HOWEVER, I also set a Windows Task Scheduler event to close the Gateway at 21:05 MST and open it back up at 22:05 MST. This is because during that time the Gateway tends t...
- 25 Dec 2022
- Forum: MultiCharts
- Topic: Auto Trading Order Time Help
- Replies: 5
- Views: 639
Re: Auto Trading Order Time Help
o2cool, Yes, MultiCharts needs a live data feed to autotrade because signals are processed at the end of a new bar. You can't just click the Automate Order Execution button once at the beginning or end of the session. I do not advise that you try to use IntraBarOrderGeneration until you have more ex...
- 24 Dec 2022
- Forum: MultiCharts
- Topic: Auto Trading Order Time Help
- Replies: 5
- Views: 639
Re: Auto Trading Order Time Help
Hi o2cool, You actually are learning the right way by starting with a simple trading strategy on a longer time scale with few symbols and forward testing on a demo account. Imagine if you wasted a year building and backtesting a sophisticated strategy only to discover how different it behaves in rea...
- 14 Dec 2022
- Forum: MultiCharts
- Topic: Version: MultiCharts64 Version 14.0 Release (Build 24200)
- Replies: 2
- Views: 429
Re: Version: MultiCharts64 Version 14.0 Release (Build 24200)
Yes. It takes so long for any window to appear that I sometimes think my mouse button didn't work and I click on multiple instances.
- 14 Dec 2022
- Forum: MultiCharts
- Topic: PMMS simple example [SOLVED]
- Replies: 6
- Views: 834
Re: PMMS simple example [SOLVED]
Idangy, Looks like you are making progress. One thing I noticed; there needs to be separate dynamic arrays declared to hold the short and long positions. array: strats_with_longs[](0), strats_with_shorts[](0); positionsLong=pmms_strategies_in_long_count(strats_with_longs); // indexes of strategies w...
- 12 Dec 2022
- Forum: MultiCharts
- Topic: PMMS simple example [SOLVED]
- Replies: 6
- Views: 834
Re: PMMS simple example [SOLVED]
Idangy, Yes the functions like pmms_strategy_is_paused(1) take a parameter that are the zero indexed numbered strategies in your portfolio from top to bottom. Zero is strategy one, one is strategy two. Strategies in your portfolio tree can have multiple signals in each of them. The PMMS functions ap...
- 11 Dec 2022
- Forum: MultiCharts
- Topic: Avoid a stop loss executed at a ridiculous price at market open
- Replies: 4
- Views: 556
Re: Avoid a stop loss executed at a ridiculous price at market open
Traditionally the spread refers to the difference between the bid and ask; not the close and ask/bid. var: Spread(0); // Forex must be calculated in either pips or percent. // (Ask-Bid)/(Ask)*100 = percent of spread if InsideAsk<>0 then // (InsideAsk-InsideBid)/(10*PointValue)=pips X 10 same as Oand...
- 11 Dec 2022
- Forum: MultiCharts
- Topic: PMMS simple example [SOLVED]
- Replies: 6
- Views: 834
Re: PMMS simple example [SOLVED]
// Portfolio Money Management Signal to pause trading from // second strategy if no open position from first strategy. if pmms_strategies_count<2 then RaiseRunTimeError("Must have at least two strategies."); if pmms_strategy_marketposition(0)<>0 then begin if pmms_strategy_is_paused(1) then begin p...
- 23 Nov 2022
- Forum: MultiCharts
- Topic: ADE.GetBarInfo for day and week timeframe
- Replies: 6
- Views: 671
Re: ADE.GetBarInfo for day and week timeframe
Yes, it's literally called All Data Everywhere. However, you should instead use ElCollections whenever possible because it is slightly more supported. They both are for the purpose of importing data structures like lists and vectors between charts.
- 23 Nov 2022
- Forum: MultiCharts
- Topic: Potential Feature: The ability to change symbol using commandline during autotrading.
- Replies: 2
- Views: 426
Re: Potential Feature: The ability to change symbol using commandline during autotrading.
rc76, You can indeed change symbols using that CommandLine(".csy name=" + SymName) and then if you want to start auto-trading; use another CommandLine(".at_toggle") to make it run. The exact code can be somewhat tricky, but I do it with all my charts relably. There must already be a dozen project ma...
- 22 Nov 2022
- Forum: MultiCharts
- Topic: ADE.GetBarInfo for day and week timeframe
- Replies: 6
- Views: 671
Re: ADE.GetBarInfo for day and week timeframe
rc76, I am not a spokesperson for ADE, but the GetBarInfo function is using the word "Interval" to mean a key that stores a map file. So even though seconds and quarter etc. charts are not explicitly supported; you can still store the map using the appropriate key that is generated from the ADE.BarI...
- 08 Nov 2022
- Forum: MultiCharts
- Topic: Sharpe Ratio on Portfolio Trader
- Replies: 2
- Views: 581
Re: Sharpe Ratio on Portfolio Trader
RadioactiveToy, can you specify what you mean by underlyings and how your Portfolio Trader is setup?
It seems to work normally for me.
It seems to work normally for me.
- 29 Oct 2022
- Forum: MultiCharts
- Topic: Custom Criteria – creating your own optimization criteria
- Replies: 28
- Views: 36374
Re: Custom Criteria – creating your own optimization criteria
soacm, The optimization Wiki page lists the available fitness function: https://www.multicharts.com/trading-software/index.php?title=Performing_Optimization You are welcome to start a new discussion or ask anybody a question in a new thread about the subject. Make sure to state the goal of your obje...
- 28 Oct 2022
- Forum: MultiCharts
- Topic: Custom Criteria – creating your own optimization criteria
- Replies: 28
- Views: 36374
Re: Custom Criteria – creating your own optimization criteria
soacm, There are two ways to customize the optimization method. The one this thread is talking about is just called Custom Criteria and is written in JavaScript. To add your own code you start an optimization and under "Optimize by:", select "Custom Criteria", then hit the editor button that appears...
- 27 Sep 2022
- Forum: MultiCharts
- Topic: Daily Hi Low Lines
- Replies: 5
- Views: 906
Re: Daily Hi Low Lines
kdmezzo, A significant amount of work must have gone into TJ's FAQ; I find it very helpful. At least post code tags using the web page editor and thank the author if you appreciate the help by clicking the thumbs up icon. (it is free) inputs: StartTime(1700), OpenColor(Red), HighColor(Yellow), LowCo...
- 14 Sep 2022
- Forum: MultiCharts
- Topic: Portfolio Trader 'End of Day' Print Code [SOLVED]
- Replies: 2
- Views: 1319
Re: Portfolio Trader 'End of Day' Print Code [SOLVED]
Code: Select all
if SessionLastBar then print("end of session");
- 06 Sep 2022
- Forum: MultiCharts
- Topic: How to calculate the Highest High / Lowest Low for "N' sessions
- Replies: 6
- Views: 1369
Re: How to calculate the Highest High / Lowest Low for "N' sessions
tonyt, it is better to plot out what you are attempting in an indicator before you write a signal. That way you can make small changes to the code and see the results. Which one is closer to what you want or neither? inputs: nSess(5); var: hh(0), ll(0); // Not enough bar data for requested lookback ...
- 04 Sep 2022
- Forum: MultiCharts
- Topic: When to define numeric variables with -.999 and .999
- Replies: 1
- Views: 471
Re: When to define numeric variables with -.999 and .999
In both examples the use of '-.999999' for the initial value of a variable is because the greater than condition needs to evaluate to true THE FIRST TIME in order to seed that variable. Then each new bar iteration replaces that variable with a new value only if it is greater than the previous. So, v...
- 20 Aug 2022
- Forum: MultiCharts
- Topic: Cancel a signal, prevent from executing
- Replies: 2
- Views: 708
Re: Cancel a signal, prevent from executing
hi syswiz, If your signal is running in Portfolio Trader; you can create a Portfolio Money Management script to disable trading of all signals in the portfolio using the pmms_strategies_pause_all keyword or just stop taking new entries with pmms_strategies_deny_entries_all. If your signal is running...
- 04 Aug 2022
- Forum: MultiCharts
- Topic: Position Size function based on risk amount and stop size
- Replies: 1
- Views: 705
Re: Position Size function based on risk amount and stop size
Hello DanielFXS, If you wanted to just use currency conversion when needed; you could try: (Some Oanda pairs do not support currency conversion) if StrategyCurrencyCode<>SymbolCurrencyCode and StrategyCurrencyCode>0 then riskInCounterCurrency=Convert_Currency(DateTime, StrategyCurrencyCode, SymbolCu...
- 02 Aug 2022
- Forum: MultiCharts
- Topic: The highest bar of n day ago [SOLVED]
- Replies: 3
- Views: 780
Re: The highest bar of n day ago [SOLVED]
If you only care about the number of days in terms of 24 hours and not the number of session start times, then you could do something like: input:N(1); // days ago var: BarsPerDay(0), HighestBarAgo(0); if BarType_ex=2 then BarsPerDay=1440/BarInterval // minute time frame else if BarType_ex=3 then Ba...
- 30 Jul 2022
- Forum: MultiCharts
- Topic: Position size [SOLVED]
- Replies: 2
- Views: 765
Re: Position size [SOLVED]
Depending on the historical data, AvgTrueRange can return zero. Which would throw a division by zero error. Other than that it should work. Try setting the numContracts variable to fixed number and if that does not work then provide a screenshot of your signal property settings and what instrument y...
- 17 Jul 2022
- Forum: MultiCharts
- Topic: Stop trading for the day after profit reached
- Replies: 5
- Views: 940
Re: Stop trading for the day after profit reached
Here is a function you can add to your chart signal to determine whether daily profit target or max loss is reached. Daily_PnL_Limit.pla It only works on a single symbol. It would not be productive if I provided more complex code to handle multiple symbols with multiple position entries. That would ...
- 16 Jul 2022
- Forum: MultiCharts
- Topic: Stop trading for the day after profit reached
- Replies: 5
- Views: 940
Re: Stop trading for the day after profit reached
Hello kingin Hong Kong?, 1. You can code a condition in your signal not to enter a new position until after a certain number of bars past the last closing trade using: if (BarsSinceExit(1)>2 or MarketPosition(1)=0) // means two bars after exit or a flat position 2. You can either add logic to every ...
- 13 Jul 2022
- Forum: MultiCharts
- Topic: Please help with the script Power Language.
- Replies: 1
- Views: 441
Re: Please help with the script Power Language.
335, what you describe is called a ratchet stop. There are many ways to program it depending on if you are working with positions or entries, IOG or not, etc. George Pruitt has some good free lessons and books. I would do something like (untested): vars: PointAmount(-30); if MaxContractProfit>=40 th...
- 10 Dec 2021
- Forum: MultiCharts
- Topic: Profitable week's open [SOLVED]
- Replies: 3
- Views: 743
Re: Profitable week's open [SOLVED]
Not only do the holidays make the solution more difficult; you also need to code print statements to show that the exits are happening the way you want them to. In other words, proving you have it correct can be just as troublesome as writing the original code. Here is my attempt that just sells whe...
- 27 Sep 2021
- Forum: MultiCharts
- Topic: ASCII Mapping - Cannot Map DJI Index [SOLVED]
- Replies: 4
- Views: 683
Re: ASCII Mapping - Cannot Map DJI Index [SOLVED]
When you import the ascii data, try changing the first field from "Unchanged Ticks" to "Date" using the yyyymmdd format and then set the resolution to 1 Day.
- 13 Jun 2021
- Forum: MultiCharts
- Topic: intrabarpersist var doesn’t work in real time trade [SOLVED]
- Replies: 8
- Views: 1600
Re: intrabarpersist var doesn’t work in real time trade [SOLVED]
If you need to calculate something or place an order at the close of a bar then use BarStatus to test the bar condition. [IntrabarOrderGeneration=true]; var: IntraBarPersist mp(0); if BarStatus(1)=2 then begin // will calculate at end of bar sell("JobName") next bar at xxx limit; end; if mp>0 and ma...
- 12 Jun 2021
- Forum: MultiCharts
- Topic: intrabarpersist var doesn’t work in real time trade [SOLVED]
- Replies: 8
- Views: 1600
Re: intrabarpersist var doesn’t work in real time trade [SOLVED]
You need to add or set it in properties.
https://markplex.com/free-tutorials/tut ... variables/
Code: Select all
IntraBarOrderGeneration=True;
https://markplex.com/free-tutorials/tut ... variables/
- 08 Jun 2021
- Forum: MultiCharts
- Topic: Fake ticks form IB TWS
- Replies: 21
- Views: 3399
Re: Fake ticks form IB TWS
You're welcome Ima. Hopefully I can clarify what I meant by switching to a more liquid instrument. I am not referring to the total trading volume. Imagine hypothetically, a world where a broker gets paid to provide good fills to dark pools which hide orders and also that broker provides realtime quo...
- 07 Jun 2021
- Forum: MultiCharts
- Topic: Fake ticks form IB TWS
- Replies: 21
- Views: 3399
Re: Fake ticks form IB TWS
Hello Ima, Yes, everybody who uses IB for realtime data will eventually encounter that same situation. Historical data from them is less terrible. Yes, there are ways to mitigate the problem: 1. Use a better data provider (IQFeed). 2. Trade a higher timeframe (daily). 3. Trade a different instrument...
- 25 May 2021
- Forum: MultiCharts
- Topic: Possible to reference a variable's historical value based on higher data series?
- Replies: 2
- Views: 631
Re: Possible to reference a variable's historical value based on higher data series?
Hi McGeorge, What you did wrong was assign the current time of data1 to a variable and then try to reference it as if it was from data2. There is no data series associated with a variable other than the one you assign it to. If you want the time from data2 in a variable, then assign it to a differen...
- 24 May 2021
- Forum: MultiCharts
- Topic: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
- Replies: 3
- Views: 757
Re: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
Hello quantum777, Unless you are extremely unlucky, there are other people who have experienced the same problem and are just afraid to ask. So please take the time and effort to collect enough information to properly identify and catagorize the issue for the benefit of everyone. That is the hard pa...
- 24 May 2021
- Forum: MultiCharts
- Topic: Buy order doesn't fire
- Replies: 2
- Views: 473
Re: Buy order doesn't fire
Hello quod_erat, 1. The code: if marketposition=1 then var = 0; numentries = 1; is missing Begin and End statements which makes numentries = 1; ignore the if clause. 2. It is a crime against humanity to use the reserved word "var" as the name of a variable. (Also using numentries as a true/false fla...
- 26 Apr 2021
- Forum: MultiCharts
- Topic: Equities universe
- Replies: 22
- Views: 3503
Re: Equities universe
Oh gosh Ben, that is probably a difficult thing to do with any charting platform. It's not just the lack of a programmable symbol import or hotkey that is the issue. MultiCharts is designed to work with streaming quote data. Instead; when you want to work with thousands of symbols, you normally requ...
- 24 Apr 2021
- Forum: MultiCharts
- Topic: Micro Future EUREX in Quotemanager
- Replies: 5
- Views: 1293
Re: Micro Future EUREX in Quotemanager
bomberone1, I think Kate wants to know the data provider you are using and what symbol root they use for that product. She can add it if you specify. For instance, the data provider Interactive Brokers uses a symbol root of ESTX50 and it resides on the DTB exchange. https://contract.ibkr.info/v3.10/...
- 14 Apr 2021
- Forum: MultiCharts
- Topic: Speed of Compiled Indicator/Strategy
- Replies: 3
- Views: 578
Re: Speed of Compiled Indicator/Strategy
2 is always faster than 1 in every computer language. However in practical terms it doesn't make much difference. For MC it matters more that you don't do heavy file I/O or large array processing or reference the whole dataset every incoming tick. Under 1, MC is doing the same calcuation each time t...
- 13 Apr 2021
- Forum: MultiCharts
- Topic: Is there a check to return if the chart contains Data2 ?
- Replies: 1
- Views: 441
Re: Is there a check to return if the chart contains Data2 ?
Correct, there is still no way to programmatically check if additional data series are present on the chart. Querying Symbol_Length Data(N) will result in a run time error if no data series is found. Also, if a secondary data series is added and it doesn't have any data to load; then the primary dat...
- 26 Feb 2021
- Forum: MultiCharts
- Topic: OANDA - UNABLE TO CONNECT TO NETWORK LOGON DEMO [SOLVED]
- Replies: 13
- Views: 3239
Re: OANDA - UNABLE TO CONNECT TO NETWORK LOGON DEMO [SOLVED]
Thank you MultiCharts development team for the quick fix for the Oanda logon change! The updater does allow correct connection to the broker and backfills for me. However; this fix causes MultiCharts version 12 to become unresponsive to window click requests. I get it that the file name has 14X64 bu...
- 03 Jan 2021
- Forum: MultiCharts
- Topic: Bug in the EL core compiler/interpreter
- Replies: 12
- Views: 1565
Re: Bug in the EL core compiler/interpreter
Hi c0ntango, Hope you don't mind my opinion: I wouldn't technically call this a bug. This does give unexpected behavior, but a true software bug is if there is no way of producing an intended functionality. (Although in an academic setting there would be marks off for this design.) So the question b...
- 26 Dec 2020
- Forum: MultiCharts
- Topic: How to identify place where linked contracts in continuous contract? [SOLVED]
- Replies: 10
- Views: 1510
Re: How to identify place where linked contracts in continuous contract? [SOLVED]
Hi Xurma, Please be aware that the CME settlement date is not the same as the rollover date that your data provider uses for continuous contracts. If you cannot backtest on each individual contract month in Portfolio Trader and must use a continuous contract, then you will have to construct your own...
- 23 Dec 2020
- Forum: MultiCharts
- Topic: How to identify place where linked contracts in continuous contract? [SOLVED]
- Replies: 10
- Views: 1510
Re: How to identify place where linked contracts in continuous contract? [SOLVED]
Yes, the rollover date is important information to know if you are trading crude oil futures. Unfortunately that date is determined differently by each data vendor. Sometimes a fixed date and sometimes when more volume arrives in the next contract, or in the case of Interactive Brokers possibly just...
- 04 Dec 2020
- Forum: MultiCharts
- Topic: Pattern scanner
- Replies: 8
- Views: 1363
Re: Pattern scanner
Yes, a function call uses a parenthesis and OpenS(0) is a valid function. The syntax of that part of your code is correct. Except HighD(o) is using the letter 'o' instead of the number zero '0'. You need to change that. Square brackets '[ ]' are used to reference array and series elements. You did t...
- 03 Dec 2020
- Forum: MultiCharts
- Topic: Pattern scanner
- Replies: 8
- Views: 1363
Re: Pattern scanner
You forgot to add the input statement to the PtnBaseSA function:
Code: Select all
inputs: numeropattern(numericsimple);
- 15 Sep 2020
- Forum: MultiCharts
- Topic: Micro Yen Futures Price scale Settings
- Replies: 2
- Views: 614
Re: Micro Yen Futures Price scale Settings
Hi Claude, by "out of whack" do you mean it doesn't look like BarChart.com?
or it doesn't look like the CME?
I just use the settings that IB assigned upon adding through QuoteManager.
- 03 Jul 2020
- Forum: MultiCharts
- Topic: Interactive Brokers
- Replies: 6
- Views: 2568
Re: Interactive Brokers
I am going to guess that this problem is caused by not having a Brazilian real currency to choose from when you add the BOVESPA exchange to the Exchanges & ECNs and/or Security Definition in QuoteManager. The API call to IB TWS needs to use BOVESPA as exchange name and BRL as currency, not USD, for ...
- 21 Apr 2020
- Forum: MultiCharts
- Topic: sort arrays but keeping track of the location
- Replies: 2
- Views: 881
Re: sort arrays but keeping track of the location
I encourage you to try writing your own 2 dimensional sort routine.
Maybe this can help you: https://www.usingeasylanguage.com/sksort/
Maybe this can help you: https://www.usingeasylanguage.com/sksort/
- 14 Apr 2020
- Forum: MultiCharts
- Topic: [AutoTrading] How to get initial margin & maintenance margin
- Replies: 7
- Views: 2093
Re: [AutoTrading] How to get initial margin & maintenance margin
Margin? That thing traders use which most determines their risk of ruin? If you're going to dream then dream big. Since you are unlikely to get those PowerLanguage keywords ever; why not submit a new request to have the current margin of your choice automatically filled in to the QuoteManager field ...
- 12 Apr 2020
- Forum: MultiCharts
- Topic: Avoiding multiple entries.
- Replies: 5
- Views: 1535
Re: Avoiding multiple entries.
{ Keltner Channel bands appear above and below the market. Prices that are within these bands are said to be normal prices. A setup is established upon the breakout above the upper Keltner band. Once the breakout has occurred, a buy stop order is placed at the high of the bar on which the breakout ...
- 21 Feb 2020
- Forum: MultiCharts
- Topic: !From Strat to Broker MP sync on paper
- Replies: 3
- Views: 1455
Re: !From Strat to Broker MP sync on paper
It could be from the !From Strat to Broker MP Sync. That was why I chose to only use the !From Broker to Strat MP Sync. It doesn't have any problems. However your strategy code can also cause that behaviour. Even the famous Art Collins Cups-Caps Overnight with Stops and Targets code from Beating the...
- 20 Feb 2020
- Forum: MultiCharts
- Topic: last bar day
- Replies: 6
- Views: 1652
Re: last bar day
turbofib, what you are asking for is somewhat complicated. You can accomplish it with code something like this: variables: dayfraction(0), nextsession(0); switch(BarType_ex) begin case 2: dayfraction=BarInterval/1440; // minutes case 3: dayfraction=BarInterval/24; // hours case 9: dayfraction=BarInt...
- 19 Feb 2020
- Forum: MultiCharts
- Topic: exit function with error
- Replies: 2
- Views: 981
Re: exit function with error
Hello,
If you just want the function to exit without an error, you use the PowerLanguage keyword:
If you want the function to abort with an error message you use the PowerLanguage keyword:
If you just want the function to exit without an error, you use the PowerLanguage keyword:
Code: Select all
#return;
Code: Select all
RaiseRunTimeError("Message");
- 09 Jan 2020
- Forum: MultiCharts
- Topic: Plot Time Line Drawing Object
- Replies: 1
- Views: 796
Re: Plot Time Line Drawing Object
No Object Oriented Easy Language available, thankfully. But yeah, it is a little kludgy that there isn't a function with an additional parameter to specify which subchart(s) to apply the drawing to. Not a big deal though; just make sure to replace in the code TL_New with TL_New_Self and add the indi...
- 02 Dec 2019
- Forum: MultiCharts
- Topic: unable to use barssinceexit(1) but able to print it [SOLVED]
- Replies: 12
- Views: 3486
Re: unable to use barssinceexit(1) but able to print it [SOLVED]
There is no bug. You don't have a valid set of initial conditions to allow a first trade.
Just write it simply:
Just write it simply:
Code: Select all
if (MarketPosition=0 and BarsSinceExit(1)>3) or MarketPosition(1)=0 then buy next bar market;
- 21 Nov 2019
- Forum: MultiCharts
- Topic: _Single At-Mrkt En pre-built strategy [SOLVED]
- Replies: 1
- Views: 754
Re: _Single At-Mrkt En pre-built strategy [SOLVED]
1. It's pre Y2k, uncommented, garbage code that is forced onto our system every time we do an update even after being deleted because a self managed code repository or even directory system with branches for anything other than signal, function and indicator has not been implemented yet. 2. The auth...
- 28 Oct 2019
- Forum: MultiCharts
- Topic: Exit Discrepancy: Automated vs. BackTested [SOLVED]
- Replies: 9
- Views: 2691
Re: Exit Discrepancy: Automated vs. BackTested [SOLVED]
Hi Doctor AI, It requires more than the code to determine what happened. The time and sales for that period and the logs as a start. Was the stop order rejected or just not sent? Did the broker connection or market data stop transmitting at any time? nq.png Also, SetStopLoss(c2); should not be insid...
- 07 Oct 2019
- Forum: MultiCharts
- Topic: Order rejected after close
- Replies: 5
- Views: 1291
Re: Order rejected after close
Hi Powen, You don't want to program any kind of condition for the SetStopLoss command. Just issue the SetStopLoss. MultiCharts does have a bug in the SessionEndTime and SessionStartTime functions where it will give you the incorrect time if your charts are set to Local time and your PC is set NOT to...
- 03 Oct 2019
- Forum: MultiCharts
- Topic: PL-Code for Traders' Tips October 2019
- Replies: 3
- Views: 1378
Re: PL-Code for Traders' Tips October 2019
After finally being able to read the article by Pawel Kosinski, I can see that his trading method is more complicated than the included TS code someone else wrote and his system is designed to be run on all the stocks in the S&P 500; not futures. Not even his NT script is written how he describes in...
- 01 Oct 2019
- Forum: MultiCharts
- Topic: how to know next trading day's date? [SOLVED]
- Replies: 2
- Views: 1131
Re: how to know next trading day's date? [SOLVED]
Greetings rokanten, You have to add a variable for every holiday. You can hard code this year's day and month for every holiday or you can do it the difficult way and lookup online the formula to calculate the day of the holiday for any year. For instance, in the U.S., markets are closed for Thanksg...
- 30 Sep 2019
- Forum: MultiCharts
- Topic: PL-Code for Traders' Tips October 2019
- Replies: 3
- Views: 1378
Re: PL-Code for Traders' Tips October 2019
I didn't have access to read the article, so I don't know what lesson the author is trying to teach.
I assume you wanted the signal to test.
I assume you wanted the signal to test.
- 06 Feb 2019
- Forum: MultiCharts
- Topic: Don't Use Multicharts with MBTrading
- Replies: 7
- Views: 1891
Re: Don't Use Multicharts with MBTrading
Hi multichartsUser23, I really don't want to take any sides on this issue. I will try to stick to the facts. I'm not an equity trader, so I can't comment on if MBT's low flat fee commission structure makes enough of a difference. I don't even see how you stock people can trade without using All-Or-N...
- 06 Feb 2019
- Forum: MultiCharts
- Topic: Don't Use Multicharts with MBTrading
- Replies: 7
- Views: 1891
Re: Don't Use Multicharts with MBTrading
I have used MBTrading with Multicharts in the past for autotrading futures only. When they were acquired by TradeKing then Ally.com I moved my account. I am also familiar with programming the MBTrading api with its single threaded, asynchronous, event-driven order handling mechanism in Delphi Pascal...
- 25 Jan 2019
- Forum: MultiCharts
- Topic: Array copy and sort question
- Replies: 6
- Views: 1893
Re: Array copy and sort question
Hi Joe, you are very close. Arrays are always indexed starting with zero, not one. array: Indexes[1, 10](0); is a two dimensional array with eleven elements of value zero in each of the dimensions. So instead you want: array: Indexes[9](0), Indexes_C[9](0); When you copy the array you start at index...
- 25 Jan 2019
- Forum: MultiCharts
- Topic: How do I reference particular markets
- Replies: 6
- Views: 1335
Re: How do I reference particular markets
Adrian make sure to use string comparisons. If you insert this code into your indicator or signal if Category()=0 and InStr(Symbol, "@CL")>0 then print("Found Oil") else print("Found ", Symbol); and compile and run it on a futures symbol chart; What shows up in the output tab of the PowerLanguage Ed...
- 24 Jan 2019
- Forum: MultiCharts
- Topic: How do I reference particular markets
- Replies: 6
- Views: 1335
Re: How do I reference particular markets
Hi AdrianP, I can't tell from your limited code why you need to differentiate between futures and forex. The SymbolRoot() function provides the shortened name of any type of chart symbol to match with. If you need to know which type of financial instrument then Category() returns an integer equal to...
- 16 Oct 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 12.0 RELEASE 3
- Replies: 47
- Views: 14296
Re: MULTICHARTS 12.0 RELEASE 3
Thank you for fixing the Portfolio Trader Forward Performance Graph so that it shows a line now in Real-time Auto Trading.
Is there a way to set the default scale of the graph to hourly or minutes instead of what looks like three days?
Is there a way to set the default scale of the graph to hourly or minutes instead of what looks like three days?
- 14 Jul 2018
- Forum: MultiCharts
- Topic: Run a slideshow of charts?
- Replies: 5
- Views: 1654
Re: Run a slideshow of charts?
I also wish there was an easy way to run a slideshow of charts (as a livestream), but it's not a built-in feature. Scanning thousands of stocks quickly for a particular chart pattern is something better suited to other programs like Wealth-Lab because of the way that exchange lists are pre-loaded an...
- 03 Jul 2018
- Forum: MultiCharts
- Topic: Rollover gap on backadjusted contract [SOLVED]
- Replies: 9
- Views: 3082
Re: Rollover gap on backadjusted contract [SOLVED]
Ironman, I feel your pain; but I don't know what MC could do to know when to reload the continuous contract data. DTN.IQ software is programmed to use it's own data, so it is aware of the rollover methodology that it uses. You are going to have to keep reloading all data around rollover day as well ...
- 21 Jun 2018
- Forum: MultiCharts
- Topic: countdown for contrats resolution [SOLVED]
- Replies: 7
- Views: 2005
Re: countdown for contrats resolution [SOLVED]
chipeur le renard is there any reason why you can't just use the original code from crazynasdaq and set Build Volume On: Trade Volume ?
- 15 Jun 2018
- Forum: User Contributed Studies and Indicator Library
- Topic: Percent Volume Oscillator (PVO)
- Replies: 8
- Views: 5226
Re: Percent Volume Oscillator (PVO)
Hello synonym. The function name itself acts as a variable that can be referenced without declaring in the code. You have to make sure the function name is spelled exactly the same as the variable you reference. TJ is a wiser man and a better teacher than I. He would send you to the proper links to ...
- 14 Jun 2018
- Forum: User Contributed Studies and Indicator Library
- Topic: Percent Volume Oscillator (PVO)
- Replies: 8
- Views: 5226
Re: Percent Volume Oscillator (PVO)
PVO.png It works fine. // PVO - Percent Volume Oscillator - Function Inputs: Series(NumericSeries), // Volume or Ticks FastLen(NumericSimple), SlowLen(NumericSimple); Vars: AvFast(0), AvSlow(0); AvFast=XAverage(Series, FastLen); AvSlow=XAverage(Series, SlowLen); if(AvSlow>0) then PVO=(AvFast-AvSlow...
- 05 Jun 2018
- Forum: MultiCharts
- Topic: Auto Trading Questions
- Replies: 11
- Views: 3651
Re: Auto Trading Questions
I would like to see more people succeed at semi-unattended auto trading and hear about their experiences. I won't ridicule any attempt no matter how modest the objective. I think the risk versus reward is there and has to be less dangerous than say being a passenger in a self driving car. I wish I c...
- 31 May 2018
- Forum: MultiCharts
- Topic: save autotrading status [SOLVED]
- Replies: 3
- Views: 2274
Re: save autotrading status [SOLVED]
I meant to say that the AT dialog box does display, but doesn't start in AT mode. I'm sorry for that confusion. This is actually easy for you to duplicate now that I figured out the cause. I am using a secondary data symbol with 300 daily bars, but trading off the primary symbol with only 10 bars of...
- 30 May 2018
- Forum: MultiCharts
- Topic: Portfolio trader with Exchange time
- Replies: 2
- Views: 1264
Re: Portfolio trader with Exchange time
I don't think they will ever allow you to mix symbols from different time zones on Exchange time.
You can run multiple instances of Portfolio Trader on Exchange time.
You can run multiple instances of Portfolio Trader on Exchange time.
- 29 May 2018
- Forum: MultiCharts
- Topic: save autotrading status [SOLVED]
- Replies: 3
- Views: 2274
save autotrading status [SOLVED]
I am trying to get my charts to remember the Automate Order Execution enabled status so when I restart Multicharts it opens in Synchronous Automatic Trading mode. On some intraday charts it correctly remembers the setting and asks on startup "Do you want to enable Auto-Trading for next strategies:"....
- 22 Nov 2017
- Forum: MultiCharts
- Topic: Non Equidistant Candle Bars [SOLVED]
- Replies: 5
- Views: 1457
Re: Non Equidistant Candle Bars [SOLVED]
Well it's not as easy to make it look right with volume based bars. So try a range bar chart first: Data#1 - YM DEC 17, Interval - 10 Points, SubChart#1 Data#2 - YM DEC 17, Interval - 2 Min, SubChart Hidden 10pointYM.png The Volume based charts (Contracts) work in reverse order: Data#1 - YM DEC 17, ...
- 21 Nov 2017
- Forum: MultiCharts
- Topic: Non Equidistant Candle Bars [SOLVED]
- Replies: 5
- Views: 1457
Re: Non Equidistant Candle Bars [SOLVED]
Just insert another copy of the same instrument to the next data number in time based format. They are magically synchronized. If the first is say range bars (points) and the second is minutes; then during slow periods the candle bars of the first will be spaced farther apart.
- 30 Sep 2017
- Forum: MultiCharts
- Topic: Begin session and EndSession
- Replies: 3
- Views: 1500
Re: Begin session and EndSession
Because that would be trivial code. Once you know SessionLastBar, the begining of the next session would be the next bar. Other people have gone through the learning process and contributed to this discussion before. https://www.multicharts.com/discussion/viewtopic.php?t=10647 You are doing fine.
- 30 Sep 2017
- Forum: MultiCharts
- Topic: Begin session and EndSession
- Replies: 3
- Views: 1500
Re: Begin session and EndSession
Hello turbofib. Session times can be tricky to program so that the outcome is exactly the way you expect; but the code syntax is straight forward. Session Numbers are pre-assigned in the Symbol Dictionary for each time-block a security trades during the week. Some instruments have just one number pe...
- 20 Sep 2017
- Forum: MultiCharts
- Topic: MC 64 to execute a shell command [SOLVED]
- Replies: 6
- Views: 3417
Re: MC 64 to execute a shell command [SOLVED]
I see you have been asking about this several times in the past. I don't understand the problem. You do NOT need to first invoke a shellexecute "open" command in order to use the MultiCharts FileAppend function to write to a file. inputs: FileName("testfile"); vars: Path_and_FileName("G:\Users\Utili...
- 16 Sep 2017
- Forum: MultiCharts
- Topic: Prevent "undefined" symbols from being added to QuoteManager? [SOLVED]
- Replies: 3
- Views: 1394
Re: Prevent "undefined" symbols from being added to QuoteManager? [SOLVED]
I agree this is a strange behavior to add undefined symbols to Quote Manager. I think it first checks the symbol Root in the Default Data Source of the Symbol Dictionary for a match and then assigns "undefined" to the exchange if it can't find one. (Which would be every time for stocks.) What I woul...
- 16 Sep 2017
- Forum: MultiCharts
- Topic: Need other sets of eyes [SOLVED]
- Replies: 4
- Views: 1677
Re: Need other sets of eyes [SOLVED]
Either your Order and Position Tracker -> Positions History is showing rejected orders or the Strategy Properties are denying more entries. The code loop with a market order gets executed as the print shows. Sorry, I can't help more. I don't get why your 3 point Russell 2000 range bar chart has some...
- 29 Aug 2017
- Forum: MultiCharts
- Topic: Old TS Script [SOLVED]
- Replies: 2
- Views: 1061
Re: Old TS Script [SOLVED]
Because you are using a negative offset in the plot function, it is trying to move the plot forward to future bars. Which is okay, but you have to make sure the chart has free space to the right. No code change is needed just choose Format Window, X - Time Scale on the chart and set Chart Shift to a...
- 14 Aug 2017
- Forum: MultiCharts
- Topic: Can not get CBOE Index data from IB
- Replies: 1
- Views: 834
Re: Can not get CBOE Index data from IB
It should connect right away during market hours unless there is a problem with your permissions. VIX.png Are you subscribed to CBOE Market Data Express Indices? Does it chart in TWS? Did you add VIX as an index to the Quote Manager? Is Quote Manager using the custom settings of 1/100 price scale or...
- 23 May 2017
- Forum: MultiCharts
- Topic: Coding a new hour ? [SOLVED]
- Replies: 2
- Views: 900
Re: Coding a new hour ? [SOLVED]
It's probably a late hour which is causing you not to realize that HoursFromDateTime requires a DateTime not a Time.
- 08 May 2017
- Forum: MultiCharts
- Topic: Ichimoku Cloud - Plot with Forward offset [SOLVED]
- Replies: 6
- Views: 3553
Re: Ichioku Cloud - Plot with Forward offset [SOLVED]
You have to format the window Chart Shift 26 bars.
- 08 May 2017
- Forum: MultiCharts
- Topic: How to calculate margin? [SOLVED]
- Replies: 12
- Views: 5527
Re: How to calculate margin? [SOLVED]
Margin is not a calculable, static number, it can change during the day if a high volitility event occurs like Brexit. It is also a different number for holding overnight. You have to manually type in every contract's margin field in order to keep track. Here is a sample of my historical initial ove...
- 26 Feb 2017
- Forum: MultiCharts
- Topic: Replace string [SOLVED]
- Replies: 2
- Views: 1052
Re: Replace string [SOLVED]
Code: Select all
plot9(Text(LeftStr(description, InStr(description, "Continuous Contract")-1), RightStr(description, 7)), "Description");
- 29 Nov 2016
- Forum: MultiCharts
- Topic: Seasonal Day Trade
- Replies: 1
- Views: 958
Re: Seasonal Day Trade
H, That seasonal indicator for TS makes (unnecessary) use of an object oriented language extension which MC does not support. You could easily replace the vector creation function call with an ordinary array; however, the indicator is meant for monthly or weekly bars and MC only supports daily or le...
- 04 Oct 2016
- Forum: MultiCharts
- Topic: powerlanguage -Unknown Function error -Easy Language [SOLVED]
- Replies: 6
- Views: 2045
Re: powerlanguage -Unknown Function error -Easy Language [SOLVED]
compiled with MC 10b2 64bit. Let me know if there is a problem.
- 04 Oct 2016
- Forum: MultiCharts
- Topic: powerlanguage -Unknown Function error -Easy Language [SOLVED]
- Replies: 6
- Views: 2045
Re: powerlanguage -Unknown Function error -Easy Language [SOLVED]
It compiles fine on MC. You do need the functions _CE_DateToString and _CE_TimeToString.
- 26 Sep 2016
- Forum: MultiCharts
- Topic: SuperTrend [SOLVED]
- Replies: 2
- Views: 1571
Re: SuperTrend [SOLVED]
The fourth parameter is just a reference to a variable that will hold a number indicating whether the trend is up or down. The function itself returns the trend value. vars: strend(0), st(0); st=SuperTrend(10, 3, 10, strend); Plot1(st, "Up"); { plot this hidden } Plot2(st, "Down"); { plot this hidde...
- 03 Sep 2016
- Forum: User Contributed Studies and Indicator Library
- Topic: The Economic Events Collection for MultiCharts
- Replies: 131
- Views: 78902
Re: The Economic Events Collection for MultiCharts
I haven't been able to get any of the Economic Event Indicators to work with MC64 version 10 Beta 1, Build 12709. (Like A_Economic_1Min) I have correctly modified the EE.ReadFile. No error message; it just won't print any events. It still works okay with MC64 version 9. Has anyone else successfully ...
- 26 Mar 2016
- Forum: MultiCharts
- Topic: Problem with EntriesToday(Date)
- Replies: 10
- Views: 4584
Re: Problem with EntriesToday(Date)
The code is simple but the different modes of operation need to be understood. You absolutely cannot use SetExitOnClose for real-time trading. You must use something like: if MarketPosition>0 and time>=1545 then sell next bar at Market; onclose orders may or may not work with your broker but they wo...
- 20 Mar 2016
- Forum: MultiCharts
- Topic: Problem with EntriesToday(Date)
- Replies: 10
- Views: 4584
Re: Problem with EntriesToday(Date)
Hi svopex! The EntriesToday function is correct as written, however; I think your code logic using SessionEndTime as an entry signal is problematic. A backtest will ignore Sunday, since it is not within the session times, but real time trading might produce some quotes and your logic is looking back...
- 06 Mar 2016
- Forum: MultiCharts
- Topic: chart IB symbol help [SOLVED]
- Replies: 3
- Views: 1606
Re: chart IB symbol help [SOLVED]
Thank you Henry. Yes, I added the symbol to the QM in exactly the manner you suggested and reloaded. I also turned off "filter bars with zero volume" in the IB Data Feed settings to see if that helped. Although I can plot the Bids and Asks perfectly - I cannot plot Trades correctly. It appears to be...
- 06 Mar 2016
- Forum: User Contributed Studies and Indicator Library
- Topic: The Economic Events Collection for MultiCharts
- Replies: 131
- Views: 78902
Re: The Economic Events Collection for MultiCharts
Just replace all occurances of DateTimeToStr with the built in function DateTimeToString. Make sure you also have the StrToChopUp function: { This function "chops up" a string in separate pieces, where each space (" ") is replaced by a new line. Changelog 3-5-2012 First version. } inputs: StrToChopU...
- 03 Mar 2016
- Forum: MultiCharts
- Topic: chart IB symbol help [SOLVED]
- Replies: 3
- Views: 1606
chart IB symbol help [SOLVED]
First, I want to say that I have used MultiCharts every day for several years and am happy with it. Occasionally I have an issue and I need to make sure I am following the correct procedure. I could not get a good MC chart in any timeframe for an ecbot futures symbol called AIGCI. The description is...
- 17 Nov 2015
- Forum: MultiCharts
- Topic: Daylight Savings Time (DST) not working correctly [SOLVED]
- Replies: 8
- Views: 3695
Re: Daylight Savings Time (DST) not working correctly [SOLVED]
Here in Arizona we do not observe Daylight Saving Time either. I gave up trying to explain the issue a couple years ago and ended up writing work around routines to keep track of session times. It's difficult to reproduce and test fixes because you have to wait eight months for the exchange to switc...
- 19 Aug 2015
- Forum: MultiCharts
- Topic: MC chart latency issues
- Replies: 2
- Views: 1348
Re: MC chart latency issues
I'm just trying to be helpful; but don't some negative values above (indicating that the tick timestamp arrived after the current computer datestamp) imply that your measurements are meaningless error and not a good way of calculating either latency of quotes or the time spent processing signals. If...
- 23 Jul 2015
- Forum: MultiCharts
- Topic: Symbol Dictionary - Daily Limit
- Replies: 2
- Views: 3608
Symbol Dictionary - Daily Limit
I was able to add the root of E7U5 Euro FX to the symbol dictionary of QuoteManager (for Interactive Brokers). However, I cannot check Use Symbol Dictionary Settings on the settings tab of that symbol. I get a "You must enter 'Daily Limit' value between 1 and 1000000" dialog box preventing me from a...
- 16 Feb 2015
- Forum: MultiCharts
- Topic: How do we stop "Connectivity error"
- Replies: 3
- Views: 1508
Re: How do we stop "Connectivity error"
I have also suffered from this for three years. No, neither of these settings have any effect in stopping the rash of TWS connectivity messages. I can sometimes get the error popups to stop by killing the MessageCenter.exe process. I do not like to criticize someone else's hard work. But these popup...
- 04 Nov 2014
- Forum: MultiCharts
- Topic: CurrentSession Function
- Replies: 5
- Views: 1539
Re: CurrentSession Function
Thanks for the reply Arnie. I use the standard futures templates. I forgot about the daylight savings time change. Arizona does not observe DST, so maybe there was an hour where the exchange fell back and this created a negative time difference in the CurrentSession function? If that is the case: it...
- 03 Nov 2014
- Forum: MultiCharts
- Topic: CurrentSession Function
- Replies: 5
- Views: 1539
CurrentSession Function
Since updating to latest MC 9, build 10013, 32bit and starting this Sunday I could not get the CurrentSession function to return a value for QMZ4 or ZB Dec 14. Still works for NQZ4. The return value for CurrentSession does not print -1 using NumToStr, so I don't know if it is even initialized proper...
- 26 Feb 2014
- Forum: MultiCharts
- Topic: IB TICK-NYSE minute chart truncated
- Replies: 6
- Views: 2952
Re: IB TICK-NYSE minute chart truncated
I am using the 32 bit version of MC. The issue doesn't happen every time. Every now and then the chart displays correctly on MC. I also can't figure out how to "lock" the vertical scale to a user defined min and max. When this sub chart is combined with a chart that has a different vertical scale (s...
- 25 Feb 2014
- Forum: MultiCharts
- Topic: IB TICK-NYSE minute chart truncated
- Replies: 6
- Views: 2952
Re: IB TICK-NYSE minute chart truncated
I value your opinion and sypathize with your feelings about IB data and order handling. I understand their limitations; however I don't want to jump to any conclusions or blame and complain. This is an non-tradable symbol that doesn't need to show every quote to be useful. I just wanted help to iden...
- 25 Feb 2014
- Forum: MultiCharts
- Topic: IB TICK-NYSE minute chart truncated
- Replies: 6
- Views: 2952
IB TICK-NYSE minute chart truncated
Can someone verify if they can get a 2 minute chart of the NYSE-TICK index from Interactive Brokers to display properly? Or what I might be doing wrong? I can't get any negative numbers to print even though it works on TWS and in MC using MB Trading as a data source. Also a tick chart of the TICK-NY...
- 15 Mar 2012
- Forum: MultiCharts
- Topic: Multicharts 7.4 + Latest IB problem
- Replies: 5
- Views: 1554
Re: Multicharts 7.4 + Latest IB problem
Hi felixtjung, Are both the profit target limit and stop orders getting rejected? Is it when they are far away in price? Do you mind posting or email your trading code with the way you are implementing bracket orders? I would like to observe it reject an order and try to write a safer template to us...
- 03 Feb 2012
- Forum: MultiCharts
- Topic: MBTrading, historical breadth data available?
- Replies: 1
- Views: 1167
Re: MBTrading, historical breadth data available?
The NYSE TICK represents the net number of stocks in the broad market that are trading at their offer prices minus those trading at their bids. Both Interactive Brokers and MB Trading will historical backfill this index onto a Multicharts window. I don't know what the index calculation update freque...
- 02 Sep 2011
- Forum: MultiCharts
- Topic: RAMDisk - might be useful to speed up MC
- Replies: 10
- Views: 3423
Re: RAMDisk - might be useful to speed up MC
I agree. Four raid 0 SSD's eliminate the I/O bottleneck and are better than 64 bit or a ramdrive. To increase the life span of exspensive SSD's (about 1 year average for me); a small ramdrive would be good for holding the ever increasing amount of logfiles that these realtime programs constantly gen...
- 26 Aug 2011
- Forum: MultiCharts
- Topic: charts stopped updating
- Replies: 16
- Views: 4423
Re: charts stopped updating
Don't be offended by a simple suggestion: check that the chart instrument datasource is set to real time and not history. For some reason Multicharts will default this setting back to history when you go to format instrument instead of leaving it on the current value (real time).