Search found 2151 matches

by JoshM
08 Jul 2020
Forum: MultiCharts
Topic: Bar magnification for data streams other than one.
Replies: 2
Views: 54

Re: Bar magnification for data streams other than one.

I'm also curious to hear possible future plans for this. For background information, I found in the project management two related issues: - Bar Magnifier and IOG for the Portfolio Backtesting and Trading - Backtesting precision with bar magnifier with multiple frame Both requests were postponed in ...
by JoshM
02 Jul 2020
Forum: MultiCharts
Topic: LMAX datafeed disconnecting [SOLVED]
Replies: 2
Views: 72

Re: LMAX datafeed disconnecting [SOLVED]

I use LMAX demo too, but don't experience datafeed disconnects. You don't have trouble reaching the demo login on the LMAX website from your computer?

In case it's relevant, the 'use heartbeats for connection loss detection' is enabled for me in the QuoteManager. Do you have that one turned on?
by JoshM
01 Jul 2020
Forum: MultiCharts
Topic: inaccurate entries/exits [SOLVED]
Replies: 7
Views: 131

Re: inaccurate entries/exits [SOLVED]

most of the exits/new entries are not accurate with too much slippage although not volatile market. using MES future regular chart, IOG enabled, the data stream from IB seems OK. example - buy entry at 3112.25 - accurate according to entry signal. next - inaccurate position management - first "reco...
by JoshM
26 Jun 2020
Forum: MultiCharts
Topic: backtest correlation. [SOLVED]
Replies: 2
Views: 112

Re: backtest correlation. [SOLVED]

1.Can I backtest two instruments correlation coefficient to trade? such as I insert "aapl" in the chart , I want to know "AAPL" the correlation with "FB". if two instruments is inverse relation and "AAPL" price down, I will buy the "FB". This is possible in the Portfolio Trader but not on the chart...
by JoshM
26 Jun 2020
Forum: MultiCharts
Topic: Sort by Select Net Profit in optimization
Replies: 1
Views: 88

Re: Sort by Select Net Profit in optimization

'Select Net Profit' is unfortunately not something that's available in the Optimization Report by default. If you know how to calculate it, you can use the `SetCustomFitnessValue()` function to specify this value inside the strategy itself. That computed value then displays in the 'Custom Fitness Va...
by JoshM
24 Jun 2020
Forum: MultiCharts
Topic: tick resolution causing Floating point error [SOLVED]
Replies: 16
Views: 321

Re: tick resolution causing Floating point error [SOLVED]

I don't know the 'VWAP Array 11' indicator, but the floating point error is caused by this indicator. And not by the chart's resolution.

Since it looks to be a custom indicator, did you perhaps code it to require a minimum resolution of 500 in its calculations?
by JoshM
22 Jun 2020
Forum: MultiCharts .NET
Topic: Check Backtesting Mode From Strategy
Replies: 2
Views: 95

Re: Check Backtesting Mode From Strategy

need to know if strategy was backtested in classic or extended mode.
It is, as far as I know, not possible to programmatically determine which backtesting mode is used.
by JoshM
22 Jun 2020
Forum: MultiCharts
Topic: tick resolution causing Floating point error [SOLVED]
Replies: 16
Views: 321

Re: tick resolution causing Floating point error [SOLVED]

Is that floating point error triggered by MultiCharts itself, or by one of the scripts you have on the chart?
by JoshM
19 Jun 2020
Forum: MultiCharts .NET
Topic: Tick value of /MES not returning correct values.
Replies: 3
Views: 92

Re: Tick value of /MES not returning correct values.

Usually to calculate the tick size it's: (minmove / pricescale) * bigpointvalue. Given your output I don't think your instrument settings for MES are correct in the QuoteManager. It probably has to be: - Big point value: 5 - Min movement: 25 - Price scale: 1/100 (Just to confirm, I'm talking about t...
by JoshM
19 Jun 2020
Forum: MultiCharts
Topic: How to increase/decrease shares ?
Replies: 3
Views: 142

Re: How to increase/decrease shares ?

MC open the first contract but does not increase the position. In addition to what TJ said, it might also be that the strategy has scaling into positions disabled. In order for MultiCharts to scale into positions, you'll need to enable the 'Allow up to n entry orders in the same direction as the cu...
by JoshM
16 Jun 2020
Forum: MultiCharts
Topic: Money Management
Replies: 1
Views: 181

Re: Money Management

Hi there! What did you plan to do with this piece of code? //sell signal if condition1 then begin condition2 ; end; if condition2 then begin condition3; end; I suspect you meant that, if `condition1` is true, `condition2` should become true as well. And when `condition2` is true, `condition3` needs ...
by JoshM
16 Jun 2020
Forum: MultiCharts
Topic: Extract XML file from Easylanguage
Replies: 3
Views: 157

Re: Extract XML file from Easylanguage

You can use any of the `PosTrade*` keywords to access trade data from the strategy, and then have `FileAppend()` output the results to the XML format. This is a bit work intensive since you'll need to make sure that the output that the code generates is valid XML. I'm unfortunately not aware of exte...
by JoshM
16 Jun 2020
Forum: MultiCharts .NET
Topic: time-of-day examples for .NET
Replies: 2
Views: 117

Re: time-of-day examples for .NET

I can't speak for others but the reason why I didn't comment is that you have general questions: examples of time of day tasks. I don't have the time to code a dozen examples for you and hope that one of them does what you aim to achieve. Regarding your question about an event that fires at a partic...
by JoshM
10 Jun 2020
Forum: MultiCharts
Topic: Hedging position
Replies: 2
Views: 226

Re: Hedging position

As far as I know hedging (long and short at the same time) is impossible in MultiCharts. There's a feature request for it here, but that one is unfortunately declined.
by JoshM
10 Jun 2020
Forum: MultiCharts
Topic: Multiple Limit Orders
Replies: 8
Views: 316

Re: Multiple Limit Orders

Ah now I understand what you meant with the opening order. But if you don't mind, I won't participate in this forum thread anymore. Reading, replying, figuring out what you meant, and coding already took a decent portion of my free time. Perhaps someone else here on the forum has the time and motiva...
by JoshM
09 Jun 2020
Forum: MultiCharts
Topic: Multiple Limit Orders
Replies: 8
Views: 316

Re: Multiple Limit Orders

This one works better BUT it is not working as it should... Your code also "recalculates" the previous limit orders closing price... I thought I coded the strategy like you wished. Since you asked: So can you please tell me how do I code such a simple strategy I've described in my first message? An...
by JoshM
08 Jun 2020
Forum: MultiCharts
Topic: Multiple Limit Orders
Replies: 8
Views: 316

Re: Multiple Limit Orders

BUT I thought that as soon as a limit order is placed its closing price doesn't change... So each limit order I place must have it's own closing price which is not recalculating on every future bar... Well we can use the `Open` variable for your limit exits, since that variable will not change duri...
by JoshM
06 Jun 2020
Forum: MultiCharts
Topic: Multiple Limit Orders
Replies: 8
Views: 316

Re: Multiple Limit Orders

Sell StocksToBuy shares Next Bar (close+0.025*close) Limit; I cannot see the price axis so don't know for sure if the following applies to your code. But can it be that this limit order executes too late because it always takes the current bar's close as the limit price? In other words, this limit ...
by JoshM
05 Jun 2020
Forum: MultiCharts
Topic: Indicator Open
Replies: 3
Views: 178

Re: Indicator Open

I want to stop and open the opposite position in the same time. if MACD >0 and MP =0 and WPR[1] < 80 then begin Buy ("Long") 1 contract next bar at C limit; end; if MACD <0 and MP = 1 then begin Sell ("Stop Long") 1 contract next bar at close limit; sellshort ("Short1") 1 contract next bar at C lim...
by JoshM
05 Jun 2020
Forum: MultiCharts
Topic: eSignal having trouble to lookup symbols with MultiCharts 12.0 Release 12 builds 200281 (x64)
Replies: 9
Views: 263

Re: eSignal having trouble to lookup symbols with MultiCharts 12.0 Release 12 builds 200281 (x64)

There's a post here about not being able to create a TLS/SSL connection to eSignal, which looks like the same error you got. After that mentioned post there's a reply from MultiCharts Support with link to a fix. Good luck! Edit: Oops, I now see that I confused the MultiCharts .NET forum for the Mult...
by JoshM
04 Jun 2020
Forum: MultiCharts
Topic: Chart Trading Micro Gold Price Increment
Replies: 5
Views: 180

Re: Chart Trading Micro Gold Price Increment

Good to hear that you have it sorted! :) Price scale 1/10 Min. Movement 1 Big point Value(Whatever that is) 5?!? The 'big point value' is how much currency one full point of price movement is worth. For the Russell 2000 micro's that's indeed $5 dollar since they represent five times the Russell 2000...
by JoshM
04 Jun 2020
Forum: MultiCharts
Topic: Indicator Open
Replies: 3
Views: 178

Re: Indicator Open

I don't know if I fully understand, but you can use `BarStatus()` to look if the script calculates on the opening tick of the bar. That should make it possible to trade the value that the indicator had at the open of the bar. (Note that your strategy does need to use `IntraBarOrderGeneration` for th...
by JoshM
04 Jun 2020
Forum: MultiCharts
Topic: Backtest only constituents of sp500 15 y back
Replies: 2
Views: 150

Re: Backtest only constituents of sp500 15 y back

However since norgate is not supported by Multicharts, anyone have a solution ? If you have a list of symbols that were present in which year, I think you can code that into your strategy logic. This will unfortunately be a lot of work since there probably have been a lot of changes to the S&P 500 ...
by JoshM
04 Jun 2020
Forum: MultiCharts
Topic: Chart Trading Micro Gold Price Increment
Replies: 5
Views: 180

Re: Chart Trading Micro Gold Price Increment

Any idea of what i'm doing wrong?
Unfortunately I don't have MGC in my MultiCharts so cannot tell with certainty what the settings should be. Sorry for that.

Perhaps other MultiCharts users can chime in or support.
by JoshM
31 May 2020
Forum: MultiCharts
Topic: Chart Trading Micro Gold Price Increment
Replies: 5
Views: 180

Re: Chart Trading Micro Gold Price Increment

Welcome to the forum. :) They should move by .10 increments. This causes error messages with IB(Interactive Brokers) I was wondering where i need to go to fix this if possible. You'd do that in the QuoteManager. There double-click on the MGC instrument you want to change. That opens a window with sy...
by JoshM
27 May 2020
Forum: MultiCharts
Topic: Historical data and Multicharts [SOLVED]
Replies: 11
Views: 441

Re: Historical data and Multicharts [SOLVED]

Because it has to be free, you're unfortunately also limited by what kind of free trails the data provider offers. IQFeed, for instance, has good data (and high price). But its free trail is limited to 8 calendar days of intra-day data and 365 days of daily data ( source ). Since you already know wh...
by JoshM
26 May 2020
Forum: MultiCharts
Topic: Volume Multiplier for Bitfinex crypto pairs
Replies: 2
Views: 147

Re: Volume Multiplier for Bitfinex crypto pairs

There's a wiki page on the volume multiplier here. Perhaps that can help.

I say 'perhaps' because I have the same issue but couldn't figure it out with the wiki help. :)

So if you find the solution let us know!
by JoshM
26 May 2020
Forum: MultiCharts
Topic: Is it possible to access volume profile with PowerLangugage
Replies: 1
Views: 151

Re: Is it possible to access volume profile with PowerLangugage

Not that I could find, unfortunately. I think Volume Profile is still intended to be exclusive for MultiCharts .NET, as mentioned in this topic.

There's a feature request for using the Volume Profile in PowerLanguage here where you can vote/track this feature.
by JoshM
24 May 2020
Forum: MultiCharts
Topic: Scaling IN
Replies: 3
Views: 161

Re: Scaling IN

I think you need to set the 'Maximum shares/contracts per position' option from your image to a higher value than 1. When that value is one, the first entry order also makes the market position get the maximum size. And so additional entries aren't filled. I tested and that's how it works on my end....
by JoshM
22 May 2020
Forum: MultiCharts
Topic: Scaling IN
Replies: 3
Views: 161

Re: Scaling IN

Just to rule of an accidental wrong setting: did you allow the strategy, in the 'Strategy Properties' window, to scale into positions? That setting is under 'Position Limits' and has radio buttons for 'when the order is generated by a different entry order' and 'regardless of the entry that generate...
by JoshM
15 May 2020
Forum: MultiCharts
Topic: Newb question [SOLVED]
Replies: 6
Views: 245

Re: Newb question [SOLVED]

if a variable is initiated inside a Begin / End section of a script and that section never Begins... Does that variable get initialized? what value is in that variable if it never gets initialized? It's not possible to make a variable without also initialising it at the same time. To make a variabl...
by JoshM
13 May 2020
Forum: MultiCharts
Topic: trade profit wrong - Stock
Replies: 2
Views: 201

Re: trade profit wrong - Stock

I wonder whether it is doing any currency conversions that I can't find the setting for? If the currency setting in the strategy properties window is the same as the currency for the instrument's exchange (from the QuoteManager), then there shouldn't be a currency conversion happening by MultiChart...
by JoshM
13 May 2020
Forum: MultiCharts
Topic: Print Volume = 0
Replies: 2
Views: 163

Re: Print Volume = 0

I think you need the `Ticks` keyword for this. Because depending on your chart settings, that keyword returns a bar's total volume.

The `Volume` keyword, on the other hand, only returns the number of up ticks. (I know, confusing right!)
by JoshM
10 May 2020
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 14.0 BETA 3
Replies: 5
Views: 987

Re: MULTICHARTS .NET 14.0 BETA 3

I don't want to answer this for MultiCharts Support, but to give some information in the mean time: Regular MultiCharts 14 has an ETA of summer 2020 (so no later than September 1) I read on this blog post. Probably MultiCharts .NET releases around the same time, so that the Advanced Strategy Pack is...
by JoshM
10 May 2020
Forum: MultiCharts
Topic: an incomprehensible problem
Replies: 11
Views: 415

Re: an incomprehensible problem

Does this problem also happen when you set the MaxBarsBack for the indicator explicitly? (So instead of automatic MaxBarsBack detection.) If that's the case, then this problem happens because MultiCharts has to inspect your function to see how many historical bars it needs for its computations. From...
by JoshM
10 May 2020
Forum: MultiCharts
Topic: Arraysize]: how i use it?
Replies: 1
Views: 150

Re: Arraysize]: how i use it?

hi, i need to resize array but i look documentation and i don't find any information If you have a dynamic array, you can resize it with the `Array_SetMaxIndex()` function. That function needs two values: the array to resize and the array's new maximum index (length). `Array_GetMaxIndex()` returns ...
by JoshM
27 Apr 2020
Forum: MultiCharts
Topic: Custom Criteria Editor
Replies: 3
Views: 200

Re: Custom Criteria Editor

Thanks for the input. I’ve tried using those, the built in Sharp Ratio, and it produces a division by zero error. This is attached to code that otherwise has traded without issue forever! I know I’m doing something wrong I just can’t figure out what that is! It doesn't have to be your mistake! It m...
by JoshM
27 Apr 2020
Forum: MultiCharts
Topic: Change font in expert commentary window
Replies: 5
Views: 262

Re: Change font in expert commentary window

The problem is the multiple spaces do not show up in the Expert Commentary window. If you use multiple ` ` symbols in the text, one for each space, it should work properly. It's a bit annoying (and ugly), but you have to swap the ' ' (space) for ` ` in the sentence. That way it should wor...
by JoshM
27 Apr 2020
Forum: MultiCharts .NET
Topic: Is VolumeProfile in strategy optimizer not supported ?!
Replies: 5
Views: 303

Re: Is VolumeProfile in strategy optimizer not supported ?!

is "this.VolumeProfile" in optimizer not supported ? I don't think so. The wiki says that we first need to enable the Volume Profile on the chart and then add the indicator script that uses the Volume Profile programmatically. I understand that as if the script relies on the Volume Profile being ac...
by JoshM
24 Apr 2020
Forum: MultiCharts
Topic: Change font in expert commentary window
Replies: 5
Views: 262

Re: Change font in expert commentary window

I would like that line in ExpertCommentary window be be in Courier New format Any easy way to do that is probably with the `<span>` HTML element, since that one is for formatting/styling text. To do so, you'd use a `style` attribute with `<span>`. For instance, this piece of HTML code makes the tex...
by JoshM
24 Apr 2020
Forum: MultiCharts
Topic: Custom Criteria Editor
Replies: 3
Views: 200

Re: Custom Criteria Editor

is there a resource library available with sample codes above and beyond what’s native within MC that I might try? There's a discussion here with several examples and more information. But the Custom Criteria Editor is kind of the old way of defining a custom criteria, because now there's also the ...
by JoshM
17 Apr 2020
Forum: MultiCharts .NET
Topic: Alert when position hits target
Replies: 3
Views: 321

Re: Alert when position hits target

Awesome, glad I could help! :)
by JoshM
17 Apr 2020
Forum: MultiCharts
Topic: Mass Compile Strategies From Text Files
Replies: 7
Views: 477

Re: Mass Compile Strategies From Text Files

I need that functionality too for Multicharts .NET! It should be possible to get multiple .CS code files into the Multicharts .NET editor and compile then without copy & paste. If you move the .cs files into the folder with all the studies (on my pc it's C:\ProgramData\TS Support\MultiCharts .NET64...
by JoshM
16 Apr 2020
Forum: MultiCharts .NET
Topic: Alert when position hits target
Replies: 3
Views: 321

Re: Alert when position hits target

I think the code of this signal script does what you want: using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; using ATCenterProxy.interop; namespace PowerLanguage.Strategy { public class AlertProfitTarget : SignalObject { public AlertProfitTarget(object _ctx) : base...
by JoshM
15 Apr 2020
Forum: MultiCharts
Topic: [AutoTrading] How to get initial margin & maintenance margin
Replies: 7
Views: 930

Re: [AutoTrading] How to get initial margin & maintenance margin

Bump. Was this ability ever added?
I'm not sure. The feature request says it's released, but I don't see what the PowerLanguage keyword/function would be.

Perhaps with `GetRTAccountNetWorth()`? The help page isn't that descriptive and can't test so don't know for sure.
by JoshM
08 Apr 2020
Forum: MultiCharts
Topic: BugTracker & feature requests bug fix ideas
Replies: 2
Views: 271

Re: BugTracker & feature requests bug fix ideas

Is there a way to get the full list of bug tracker entries we have submitted? Yes this is possible, although it involves several steps: 1. Go to an issue filed by you. 2. Click on the user name that's shown on the left ('Posted by' ... row). 3. That opens a small window with the user's info. Click ...
by JoshM
06 Apr 2020
Forum: MultiCharts .NET
Topic: How to Make "double[]" Global
Replies: 5
Views: 331

Re: How to Make "double[]" Global

Thanks for the clarification! If you want to access the array anywhere in the same script, you have to make it in the code block that says 'public class'. So at the same level. For example: https://www.multicharts.com/discussion/download/file.php?mode=view&id=12074 You can access it then anywhere in...
by JoshM
05 Apr 2020
Forum: MultiCharts .NET
Topic: How to Make "double[]" Global
Replies: 5
Views: 331

Re: How to Make "double[]" Global

Good question! Do you mean with 'global' that the double array should be accessible anywhere in the same script?

Or does it need to be accessible to other scripts as well?

Or, less likely, do you perhaps want to make the array available to another application besides MultiCharts .NET?

:)
by JoshM
03 Apr 2020
Forum: MultiCharts
Topic: Empty bars
Replies: 4
Views: 265

Re: Empty bars

If you disable the 'show empty periods' option in the chart settings screen, do those 'empty bars' still appear?

Image
by JoshM
03 Apr 2020
Forum: MultiCharts
Topic: Price percent change charts?
Replies: 11
Views: 3191

Re: Price percent change charts?

Hmm, is it perhaps possible to make a price-based chart with the custom resolutions feature? I don't understand that feature very well, but if there is some feature in MultiCharts to make this possible, then it's likely to be the custom resolutions. Else we have to wait until this is implemented off...
by JoshM
03 Apr 2020
Forum: MultiCharts
Topic: Cursor position: without MouseClickDateTime;
Replies: 3
Views: 263

Re: Cursor position: without MouseClickDateTime;

Not that I know of. Mouse clicks all depend on on clicking the chart, and the Expert Commentary also needs clicks to update/refresh itself.

But I hope I'm wrong because it would be a nice feature to have. :)
by JoshM
07 Mar 2020
Forum: MultiCharts
Topic: Painting wick and body not properly done
Replies: 4
Views: 382

Re: Painting wick and body not properly done

Did you get it implemented? I didn't so I'm wondering how you did it. :)
by JoshM
17 Jun 2018
Forum: MultiCharts
Topic: which entry of a multi entries position was closed?
Replies: 3
Views: 522

Re: which entry of a multi entries position was closed?

- with PosTradeEntryName it doesn't seems possible as we don't know the tradeNumber of the closed trade If I recall correctly, orders are closed in such a manner that the oldest entry order is closed first, then the second oldest, and so on, until you arrive at the first entry in the position. Clos...
by JoshM
11 Jun 2018
Forum: MultiCharts
Topic: CoT Commitment of Traders Data
Replies: 4
Views: 924

Re: CoT Commitment of Traders Data

Is it possible to get the TS Commitment of Traders data into MultiCharts? In TS there appears to be an indicator that displays the Net Position or Total Position for futures markets. This must be based on some raw data feed so I wondered if it's possible to import this into Quote Manager like the o...
by JoshM
11 Jun 2018
Forum: MultiCharts
Topic: Indicator using averages as an input [SOLVED]
Replies: 7
Views: 1018

Re: Indicator using averages as an input [SOLVED]

I'm a completely new to MC and coding and i'd really appreciate it if someone could advise on how i'd make an indicator that takes the 3 sma of the high, the 5sma of low and the 5 sma of close, adds them together and then divides by 3? If I understand you correctly, that would look like: Variables:...
by JoshM
11 Jun 2018
Forum: MultiCharts
Topic: If not(X) then return;
Replies: 6
Views: 846

Re: If not(X) then return;

Is it possible to use an output condition without using if then? (in c# it's : If not(X) then return ) It's not possible as far as I know to prematurely terminate the script calculation for a particular price update. (It would be helpful if we could, so I hope I'm mistaken here. :) ) You can of cou...
by JoshM
11 Jun 2018
Forum: MultiCharts
Topic: Don't trade if stopped
Replies: 5
Views: 697

Re: Don't trade if stopped

Thank you Josh, that's a good keyword but a problem still exists, e.g if I got stoppet 3 days ago I want to have the trade today if conditions are met. The only case I don't want to trade is when I get stoppet today and today I also have the condition for the trade. PosTradeExitCategory don't refer...
by JoshM
07 Jun 2018
Forum: MultiCharts
Topic: MC64 11 r9 new warning message needs a tweak [SOLVED]
Replies: 4
Views: 784

Re: MC64 11 r9 new warning message needs a tweak [SOLVED]

realy a very good thing to delete all confirmation popups, we know what we are doing, only one time in preference, "don't want any confirmation popup" choice I agree with that. I'm not sure if all those confirmations are actually needed. Normally when you want to use a service or product, you only ...
by JoshM
05 Jun 2018
Forum: MultiCharts
Topic: Send signals from one chart to another?
Replies: 5
Views: 773

Re: Send signals from one chart to another?

Do you have some code examples? I couldn't find code examples on the forum, there's a lot of noise with MultiCharts .NET topics around this subject in my search results unfortunately. Perhaps TJ knows of some examples. For a bit more information about global variables, see this wiki page . Here's a...
by JoshM
05 Jun 2018
Forum: MultiCharts
Topic: Don't trade if stopped
Replies: 5
Views: 697

Re: Don't trade if stopped

You can also try the PosTradeExitCategory keyword. With that keyword we can lookup what kind of order closed a position (i.e., was it a stop order, limit order, market order?). That way you can check if the position was stopped out or reached its profit target.

See PosTradeExitCategory for more.
by JoshM
05 Jun 2018
Forum: MultiCharts
Topic: Specific Search Criteria? [SOLVED]
Replies: 2
Views: 521

Re: Specific Search Criteria? [SOLVED]

Is there a way to control a specific search in the forum? If I search for "Trading Performance Report" I will get hundreds of posts with the word "Trading" highlighted, and next the word "Performance" and then "Report". The quote marks do not work.....so, am I missing the process on how to control ...
by JoshM
17 Dec 2017
Forum: MultiCharts .NET
Topic: Programming Language Comparison: EasyLanguage vs. PowerLanguage vs. .NET
Replies: 5
Views: 3282

Re: Programming Language Comparison: EasyLanguage vs. PowerLanguage vs. .NET

Felix already gave a good and thorough reply that I agree with completely. Now for some of your smaller questions: Do they all use the same keywords? The keywords of PowerLanguage are often similar to those in EasyLanguage, but not all EasyLanguage features are available in PowerLanguage. If I have ...
by JoshM
10 Nov 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

Out of curiosity:
do you not use the Economic events as input to your strategies or you use a different way/tool to supply it to the strategies?
I don't trade and so have no strategies. I'm a coder not a trader. :)
by JoshM
09 Nov 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

I've decided to stop supporting the Economic Events tool. When I made this tool together with Nicolas back in 2012 it was a nice programming project and I enjoyed the collaboration. But I actually haven't used this tool myself in over 4 years. Even when I made the new download application in 2016 (w...
by JoshM
03 Nov 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

Checking more closely, it can be seen that after March 2017 records end, we get February 2017 records again, then March 2017 again, but with the times being 1 hour later than in the first round of March 2017 records. Fixed that issue; see the website for the updated file. The historical economic ev...
by JoshM
28 Oct 2017
Forum: MultiCharts
Topic: format time
Replies: 4
Views: 751

Re: format time

Instead of 10.109.00, I would like to see 01:01:09.
Is it possible to do that?
As far as I know, that's not possible, unfortunately. If you plot a string on the chart with `PlotN()`, it shows as "N/A" in the chart's Data Window and chart hint.

I don't know of a workaround for this.
by JoshM
23 Oct 2017
Forum: MultiCharts .NET
Topic: Cryptocurrency data feed
Replies: 7
Views: 3657

Re: Cryptocurrency data feed

At least give your users a way to program API access to the exchanges you dont support.

A universal data feed app with your own API on MC end and extensible code (preferably open source)
This is a very cool idea and opens up a whole lot of possibilities. Nice thinking Maxima.
by JoshM
07 Oct 2017
Forum: MultiCharts
Topic: Please VOTE: Read from File
Replies: 2
Views: 435

Re: Please VOTE: Read from File

Interesting idea. Interesting enough to respond. But I do have a few curious questions if you don't mind. Can you expand on what you mean with this in the PM request? GET ([OutputTarget],Expression1,Expression2,etc.) How would MultiCharts know that there are multiple expressions in the (presumably ....
by JoshM
01 Oct 2017
Forum: MultiCharts
Topic: power and or local i-net outage
Replies: 2
Views: 439

Re: power and or local i-net outage

Is there anyway to setup the auto-trade at the brokers end to sell positions when power and or i-net outage? Not that I know of. What you currently can do is use one of the order types that are supported on the broker's end. That way, when the computer disconnects from the broker, the order is at l...
by JoshM
30 Sep 2017
Forum: MultiCharts
Topic: Alert message
Replies: 3
Views: 621

Re: Alert message

I find that the Alerts tab can be exported to excel. Is it possible for excel update in sync with Alert tab in real time?
That's not possible as far as I can tell. You'll have to manually export from the Order and Position Tracker each time.
by JoshM
29 Sep 2017
Forum: MultiCharts
Topic: Alert message
Replies: 3
Views: 621

Re: Alert message

Besides e-mail alert, how do I direct / write the alert message to a file for reading or keep record? Do multicharts has alerts log to keep the alerts as I do not find any option to write to a file ? Thanks. Any alert that you generate with an indicator or strategy appears in the 'Alerts' tab of th...
by JoshM
07 Sep 2017
Forum: MultiCharts
Topic: Hiding/Disabling an Indicator [SOLVED]
Replies: 36
Views: 3506

Re: Hiding/Disabling an Indicator [SOLVED]

I still think that disabling and hiding an indicator is possible. It works for me at least. But this is not a topic I like to spend more time on; it's too negative and attempts to help or think along are met with negativity and personal stabs. I do hope that someone with authority (a moderator) step...
by JoshM
07 Sep 2017
Forum: MultiCharts
Topic: bridge between MT and MC [SOLVED]
Replies: 13
Views: 2244

Re: bridge between MT and MC [SOLVED]

and in realtime too ? You can have a MT script write real-time price data to a file, and then use that file as ASCII source for MultiCharts. That should be possible if neither MT or MultiCharts locks up that file so that the other program cannot access it. (In the past I had no problems doing that,...
by JoshM
05 Sep 2017
Forum: MultiCharts
Topic: Hiding/Disabling an Indicator [SOLVED]
Replies: 36
Views: 3506

Re: Hiding/Disabling an Indicator [SOLVED]

I think we're confusing hiding with disabling (and vice versa) here. If an indicator is disabled, it's not necessarily hidden. And a hidden indicator isn't necessarily turned off (the way I understand it). Also, can it can made easier to enable/disable an indicator please (i.e. a simply addition of ...
by JoshM
01 Sep 2017
Forum: MultiCharts .NET
Topic: Difference between Environment.IsRealTimeCalc and ...IsAutoTradingMode? [SOLVED]
Replies: 2
Views: 890

Re: Difference between Environment.IsRealTimeCalc and ...IsAutoTradingMode? [SOLVED]

Is there any difference? I assume indicators could be processing real-time data without auto-trading being enabled? That's true, for indicators `Environment.IsRealTimeCalc` can be used while they cannot use `Environment.IsAutoTradingMode` reliably. But there are more differences. For instance, in p...
by JoshM
30 Aug 2017
Forum: MultiCharts
Topic: optimization criteria using a user function
Replies: 6
Views: 1343

Re: optimization criteria using a user function

Is it already possible, in year 2017, to use "per bar trading information" on the optimization in MultiCharts? Yes, you can use the SetCustomFitnessValue() keyword to create a custom optimisation criteria that includes any information you can access in PowerLanguage. That includes per bar/per trade...
by JoshM
19 Aug 2017
Forum: MultiCharts
Topic: counting of hourly bars for current daily session in the code.... help
Replies: 4
Views: 862

Re: counting of hourly bars for current daily session in the code.... help

I would like to create a code in which I use the counting of hourly bars. At the same time, I also want avoid to use commands based on the time. Could you suggest something or address me to a workaround? I don't think this is possible. Because without the PowerLanguage keywords for time, date, or s...
by JoshM
16 Aug 2017
Forum: MultiCharts
Topic: Open order not showing
Replies: 3
Views: 503

Re: Open order not showing

Do you have the OANDA broker profile connected? I cannot see that from the screenshot.
by JoshM
14 Aug 2017
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 11.0 RELEASE
Replies: 19
Views: 4557

Re: MULTICHARTS .NET 11.0 RELEASE

Our "Check for Updates" function will start sending notifications for this build as soon as we have reviewed the feedback received from our users. Is it by the way possible, perhaps with a registery change, to disable those notifications? I don't need to see that message each day (and sometimes mul...
by JoshM
11 Aug 2017
Forum: MultiCharts .NET
Topic: Trend lines drawn by Indicator on Price chart. [SOLVED]
Replies: 4
Views: 1305

Re: Trend lines drawn by Indicator on Price chart. [SOLVED]

I take profit of your post to thank you for your incredible website TradingCode.net. It's a gold mine of intel that helps me every day on my programing work. Thank you, that's very kind of you. I'm glad it helps you that well. About the problem I think I understood what's going on. Wile backtesting...
by JoshM
11 Aug 2017
Forum: MultiCharts .NET
Topic: Trend lines drawn by Indicator on Price chart. [SOLVED]
Replies: 4
Views: 1305

Re: Trend lines drawn by Indicator on Price chart. [SOLVED]

My problem is that the indicator draw the trend lines on the Price chart and not in the RSI chart. This shouldn't happen based on the information in your post. You already use the correct overloaded method of the `DrwTrendLine.Create()` method for drawing the trend line on the subchart (and not on ...
by JoshM
06 Aug 2017
Forum: MultiCharts
Topic: Setting MaxBarsBack in a Signal [SOLVED]
Replies: 1
Views: 538

Re: Setting MaxBarsBack in a Signal [SOLVED]

I tried to set MaxBarsBack value in a signal but it seems impossible other than manually: SetMaxBarsBack(Value1); Works only in a indicator. As far as I know the only way to set the MaxBarsBack for a signal is by hand, unfortunately. I suspect this is because the MaxBarsBack of a signal is more a c...
by JoshM
23 Jul 2017
Forum: MultiCharts .NET
Topic: Can I try MC.net while MC is installed.
Replies: 2
Views: 674

Re: Can I try MC.net while MC is installed.

Hi, I am thinking I might try MC.net if I can run the free demo while MC is installed. I don't need to run them at the same time but it would be nice if I could avoid uninstalling MC (it is the 32 bit version). This shouldn't be a problem, I also run MultiCharts and MultiCharts .NET on the same com...
by JoshM
23 Jul 2017
Forum: MultiCharts
Topic: Making moving from MC to MC.net easier
Replies: 4
Views: 585

Re: Making moving from MC to MC.net easier

Backwards reference is my terminology actually. It means that the subscript (or index if you will) points from the end of the table to the back of the table rather than from the beginning of the table to the end of the table. In other words [X] means X number of bars back, It makes perfect sense fo...
by JoshM
23 Jul 2017
Forum: MultiCharts
Topic: Making moving from MC to MC.net easier
Replies: 4
Views: 585

Re: Making moving from MC to MC.net easier

Q1: Does the MC.net use the backward reference to tables as the MC power language does. To me this backwards reference of tables is a stroke of genius in thinking for traders and I have gotten use to it even after many years of thinking of forward reference as a regular programmer. I don't know wha...
by JoshM
18 Jul 2017
Forum: MultiCharts
Topic: Multitimeframe issue
Replies: 2
Views: 458

Re: Multitimeframe issue

The easiest way I think would be to write whatever entry condition you want to use in code. And then also write code to disable the entry condition when something else happens. (I assume here you don't want to keep the entry condition always on after it happened for the first time, so when 'somethin...
by JoshM
17 Jul 2017
Forum: MultiCharts
Topic: LIMITATION: MaxBarsBack for multiple data streams [SOLVED]
Replies: 2
Views: 558

Re: LIMITATION: MaxBarsBack for multiple data streams [SOLVED]

Say, you have 1 min bars as Data1 and need it 200-300 bars ago - for an indicator. But you also have Weekly bars as Data2 - for gauging a 20-Week ATR. Then, you might not have enough data to backtest, since a Maxbarsback setting of 250+ (needed for Data1) will also apply to Data2! Not necessarily I...
by JoshM
15 Jul 2017
Forum: MultiCharts
Topic: bar countdown off by 30 seconds [SOLVED]
Replies: 12
Views: 1450

Re: bar countdown off by 30 seconds [SOLVED]

I use 1min chart and the bars start like around 1:30 counting down to about 0:30 and then resetting to 1:30 I'm not sure if I follow you here. If you use a 1 minute chart, a bar countdown cannot (or, perhaps better said, should not) start at 1:30. In theory it should start at 59 seconds counting do...
by JoshM
13 Jul 2017
Forum: MultiCharts
Topic: bar countdown off by 30 seconds [SOLVED]
Replies: 12
Views: 1450

Re: bar countdown off by 30 seconds [SOLVED]

Please add this line to your code. You can find the explanation in the Wiki. RecalcLastBarAfter( 1 ); According to the wiki, `RecalcLastBarAfter()` affects the calculation of scripts. Should it affect the chart's bar countdown timer too? I have a EURUSD one minute chart. The countdown may show 30 s...
by JoshM
11 Jul 2017
Forum: MultiCharts
Topic: Trouble Printing to Excel
Replies: 1
Views: 333

Re: Trouble Printing to Excel

It is like I've coded the "Print" statement twice in the code. Any thoughts? One possible reason that I can think of is that your script does a (partial) calculation twice. This typically happens when you reference historical bar values in MultiCharts, but in such a way that MultiCharts cannot esti...
by JoshM
11 Jul 2017
Forum: MultiCharts
Topic: Issue with sorting in Scanner windwow [SOLVED]
Replies: 4
Views: 788

Re: Issue with sorting in Scanner windwow [SOLVED]

I have defined my var as a numeric one: (...) The same indicator works well as a scanner in other workspaces (the biggest has less than 200 stocks) with different instruments but not in this one that contains more than 300 stocks. It's exactly the same script. What if you use the 'Same as Symbol' f...
by JoshM
11 Jul 2017
Forum: MultiCharts .NET
Topic: RTD Server. SymbolData Indicator not compiled.
Replies: 6
Views: 1336

Re: RTD Server. SymbolData Indicator not compiled.

Thanks for your interest.
This is beyond my understanding unfortunately. Hopefully someone else can jump in.
by JoshM
08 Jul 2017
Forum: MultiCharts .NET
Topic: RTD Server. SymbolData Indicator not compiled.
Replies: 6
Views: 1336

Re: RTD Server. SymbolData Indicator not compiled.

It looks to me that you have some programming errors in your script (SymbolData.Indicator.CS). Based on the error messages, I don't think this is related to RTD server. Can you post the code of the script that generates the errors?
by JoshM
08 Jul 2017
Forum: MultiCharts
Topic: Relative strength in Power Language [SOLVED]
Replies: 7
Views: 1319

Re: Relative strength in Power Language [SOLVED]

I understand everything you wrote except the "TraceOutput variable, I don't understand what this is. The `TraceOutput` variable is from the script input that's from your first post in this thread. The code of the signal you posted in the first post is: inputs: Formula ((Close of Data1 / Close[100] ...
by JoshM
08 Jul 2017
Forum: MultiCharts
Topic: Oanda Trade history
Replies: 1
Views: 348

Re: Oanda Trade history

Having just purchased MC again and connected my Oanda account I don't see anything in the positions history tab. Does this just contain positions created since I've started using MC or should it import all the position history associated with my Oanda account. If the latter, how do I do this? Unfor...
by JoshM
06 Jul 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

What about the files? They're no more updated in last weeks.
Thanks for letting me know. I fixed the bug in the downloader and the up-to-date files can be downloaded again from the webpage.
by JoshM
30 Jun 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 8934

Re: MULTICHARTS 11.0 BETA 1

Could you guide me where i find the source for the Renko code ? At the Custom Resolution Manager the "Open Script" is greyed out on all the 5 examples. That confused me a bit too, but if you create a new custom resolution in that window, you'll get the option to create one based on an existing one....
by JoshM
29 Jun 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 8934

Re: MULTICHARTS 11.0 BETA 1

As well for the new Custom Resolutions, a small video tutorial would be helpful especially for those who are not familiar with C+ . Or at least a .chm help file with descriptions what each code element does. I couldn't really figure that out from the code with enough confidence, unless I spend a lo...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Portfolio Strategy optimization of each contract
Replies: 3
Views: 598

Re: Portfolio Strategy optimization of each contract

The only thing I did not find the way to do with MC as well is the following: I'd like to run an optimization on a list of contracts, getting the best set of optimized parameters for each contract. In portfolio optimization the output is the best parameters set that fits to the mix of all contracts...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Pause / Resume in Portfolio Trader
Replies: 3
Views: 532

Re: Pause / Resume in Portfolio Trader

Hi, I am trying to add a pause/resume function in my own signal to be used in Portfolio Trader. Suppose to have 40 Instruments in Portfolio Trader and one Signal. The signal continuosly monitors the performance of each instrument and when one or more instruments are not performing well, they should...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Alert box position
Replies: 2
Views: 452

Re: Alert box position

Any one has an idea on how the alert box position could be change. I got another Windows application sitting in the same area and I need to move it when I want to see the detail of the box. If I recall, it utilized some ressource of Windows, so maybe it could be tricked to be showed somewhere else....
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Relative strength in Power Language [SOLVED]
Replies: 7
Views: 1319

Re: Relative strength in Power Language [SOLVED]

1. What is an "Output print"? Is it what is shown in the "Output bar" in the "Power Language Editor"? I have never understood the "Output bar", what is its function? The Print() keyword outputs information to the 'Output' tab in the PowerLanguage Editor. The purpose of that 'Output' tab is being to...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Calculating Swing based on a specific event
Replies: 5
Views: 730

Re: Calculating Swing based on a specific event

Part of my strategy for entry is that I am wanting to find the 61.8% retracement on a recent swing. And backtest these 61.8% retracement levels as they are my point of entry. The easy bit is to work out the Retracement level from the swing values. The difficult part is that I am unable to find the ...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: marketposition skips stop alert
Replies: 6
Views: 823

Re: marketposition skips stop alert

Hello, I have an issue with a stop alert not being triggered. I believe it is because once the stop is hit my marketposition is now 0 so it skips the alert. I am using the code below and I thought by using marketposition(1) it would base the trigger on my most recent position, but for some reason m...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Opening Expert commentary window
Replies: 1
Views: 334

Re: Opening Expert commentary window

Is it possible to enable and open the commentary's window directly with the code. At the moment, I need to select it from MC main menu.
This is not possible as far as I know. Would be cool if it was possible. :)
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: How to combine data from two instruments into one [SOLVED]
Replies: 4
Views: 973

Re: How to combine data from two instruments into one [SOLVED]

You can also merge data sources into a single chart, if that would work for you.

Otherwise you'll have to manually export data from each symbol and import it into the other (or create a new destination symbol in which both other symbols merge), as Wzero already mentioned.
by JoshM
07 Jun 2017
Forum: MultiCharts .NET
Topic: Bollinger Bands %B
Replies: 5
Views: 1398

Re: Bollinger Bands %B

Is there a bundled indicator for Bollinger Band %B (Percent Bandwidth)?

https://www.tradingview.com/wiki/Bollin ... 25B_(%25B)

I can see the regular Bollinger Bands but not the %B version.
Not that I know of. Are you getting stuck with programming it, or is this more a question in general?
by JoshM
31 May 2017
Forum: MultiCharts
Topic: Help please
Replies: 9
Views: 937

Re: Help please

according to MC these variables are not present in the library. * GVGetNamedDouble * GVGetNamedInt * GVSetNamedDouble * GVSetNamedInt They suggested using these instead AccuracyGetNamedDouble AccuracyGetNamedInt AccuracySetNamedDouble AccuracySetNamedInt What do you think? I haven't used those latt...
by JoshM
28 May 2017
Forum: MultiCharts
Topic: Help please
Replies: 9
Views: 937

Re: Help please

I think this is beyond my capabilities however. It doesn't have to be, just take it step by step: 1. Create an indicator that plots the ATR on the chart. 2. Add to that indicator the function that will send out the ATR value as a global variable (probably something like `GVSetNamedDouble(SymbolName...
by JoshM
26 May 2017
Forum: MultiCharts
Topic: How to write the code?
Replies: 1
Views: 446

Re: How to write the code?

If I want to set the stop loss and then trade after 15 bars, How to write the code ? (The meaning is after stop loss....the position cannot trade until 15 bars) With the PosTradeExitCategory() keyword we can figure out what caused a trade to exit (in this case, we'd be looking for a stop-loss exit ...
by JoshM
26 May 2017
Forum: MultiCharts
Topic: Help please
Replies: 9
Views: 937

Re: Help please

Hello there, I am wondering if anyone out there can help me with this issue. Lets say that I have 4 different charts, different markets On each chart I insert the ATR. I would like to write a code that will give me the the average of all the ATR and the Lowest of all the ATR Does anyone know how to...
by JoshM
19 May 2017
Forum: MultiCharts
Topic: Close at end of the week [SOLVED]
Replies: 6
Views: 763

Re: Close at end of the week [SOLVED]

I want my trade to automatically close at the end of the week. I know there is a study for the end of the day close but what can I use for the end of the week. For example close at the New York Close on Friday. With the `DayOfWeek()` keyword you can check for the day of week, and then for instance ...
by JoshM
19 May 2017
Forum: MultiCharts
Topic: IntraBarOrderGeneration problem
Replies: 2
Views: 475

Re: IntraBarOrderGeneration problem

I am doing backtesting on a Daily Bar trading strategy. It went OK. However, after I added [IntraBarOrderGeneration=true] at the beginning of my program and compiled ok. The chart with this strategy did not show any trades, just like there was no strategy inserted. Anyone can help ? Thanks. Is the ...
by JoshM
18 May 2017
Forum: MultiCharts
Topic: PowerLanguage source with Diamond Lock
Replies: 24
Views: 7972

Re: PowerLanguage source with Diamond Lock

May I know the website of Diamond Lock?
That website seems to be http://www.investlabs.com/ and http://www.investlabs.com/diamondlock2000.html after a quick Google search.
by JoshM
18 May 2017
Forum: MultiCharts .NET
Topic: Programming Custom Broker Profiles [SOLVED]
Replies: 1
Views: 790

Re: Programming Custom Broker Profiles [SOLVED]

Hi, does MultiCharts .NET provide an interface to implement custom broker profiles in C#? Let's say I want to create a custom broker to talk to the Financial Information eXchange (FIX) protocol. (...) pretty much the same way that MC adds support for new brokers. This is unfortunately not possible ...
by JoshM
15 May 2017
Forum: MultiCharts
Topic: Portfolio trader : IOG for automatic trading
Replies: 5
Views: 818

Re: Portfolio trader : IOG for automatic trading

I'm currently using MC for automatic trading but it sometimes freezes because i've 20 charts/ workspace and have 6 workspaces running at the same time. My strategy use IOG so i can't move to portfolio trader to apply my strategy in live autotrading. Are you running multi-time frame? eg 5 mins and 1...
by JoshM
15 May 2017
Forum: MultiCharts
Topic: Indicator property: Is it possible to set # bars a study will reference [SOLVED]
Replies: 6
Views: 811

Re: Indicator property: Is it possible to set # bars a study will reference [SOLVED]

Indicator property: Could we set from the code the value for :Max number of bars study will reference
Though you've seem to have fixed it in a different way looking at your last post :), you can set the number of bars an indicator will reference with the SetMaxBarsBack() keyword.
by JoshM
13 May 2017
Forum: MultiCharts
Topic: HOW to Update Plotting
Replies: 5
Views: 856

Re: HOW to Update Plotting

those scripts don't solve the problem because they set the location only once (on the time when the condition is met), but if the market moves forward, the location don't because it was set in the time when the condition was met. I've set the text on LastcalcDateTime, but the LastCalcDateTime of th...
by JoshM
13 May 2017
Forum: MultiCharts
Topic: PL code execution time - strange behavior
Replies: 11
Views: 1928

Re: PL code execution time - strange behavior

Now, even though this line of the code is not supposed to be executed at run-time, the actual time of execution is significantly higher (Optimization time jumps nearly 2x !) in presence of such instruction vs. just simply "commenting out" the line calling a function. I have just checked it with a p...
by JoshM
24 Apr 2017
Forum: MultiCharts
Topic: Reloading charts: Is there a way to do it from code? [SOLVED]
Replies: 5
Views: 616

Re: Reloading charts: Is there a way to do it from code? [SOLVED]

My idea would be to reload the last day after each new session. If sessionlastbar[1] then reload(day); You can use the CommandLine() keyword for that. Here's a list of the different commands you can use. if (sessionlastbar[1]) then CommandLine(".rld int=1 day); (Although you might want to double-ch...
by JoshM
28 Mar 2017
Forum: MultiCharts
Topic: .rld command after 2 minutes from the firts daily bar in IOB script [SOLVED]
Replies: 27
Views: 2598

Re: .rld command after 2 minutes from the firts daily bar in IOB script [SOLVED]

Please read the IOG definition carefully. As the name implies, it is for ORDER GENERATION only. That's not true; see how signals are calculated . When intra-bar order generation is enabled, the signal calculates with every incoming real-time tick (as opposed to only calculate on bar close). Those t...
by JoshM
26 Mar 2017
Forum: MultiCharts
Topic: Keeping text objects fixed on the right edge of the chart [SOLVED]
Replies: 3
Views: 985

Re: Keeping text objects fixed on the right edge of the chart [SOLVED]

I'm using aiRightDispDateTime to get the date and time values of the right edge. I can see from output that the correct values of date and time are getting picked up on the fly as I scroll around. But for some reason that I can't figure, the Text_SetLocation is not moving the text to the date and t...
by JoshM
26 Mar 2017
Forum: MultiCharts
Topic: Stop loss created immediately and not after one candles
Replies: 5
Views: 1175

Re: Stop loss created immediately and not after one candles

so my question is... why in the code that I have posted up it work as I would like and in this one doesn't and put the exit strategy after one bar? In your second example you don't seem to use intra-bar order generation, while in your first example (at the top of this thread) you did. Now this does...
by JoshM
09 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 902

Re: alarms

The system runs every 5 seconds and the 2 conditions cannot happen at the same time. I might not have been clear enough, I think. What I meant was with the two conditions happening at the same time is that, looking at your code: counter = IFF(getappinfo(aicalcreason) = calcreason_timer, counter + 1...
by JoshM
09 Mar 2017
Forum: MultiCharts .NET
Topic: increment [SOLVED]
Replies: 5
Views: 1018

Re: increment [SOLVED]

Is there a way to index a public function with an integer output? I am trying to reference a previous integer value of m_testup and m_testdown. I tried to used a variable series but the _highestbar function is a simple integer You'll need to store those `HighestBar()` values in a `VariableSeries<T>...
by JoshM
09 Mar 2017
Forum: MultiCharts
Topic: Multicharts add on 3rd party developer reviews of Automated trading sytstems
Replies: 1
Views: 471

Re: Multicharts add on 3rd party developer reviews of Automated trading sytstems

I haven't seen that information come along here on the forum. Perhaps you can Google for specific strategies that are listed under 3rd party developers, but I cannot imagine someone has done a review of all those strategies due to the cost of that.
by JoshM
08 Mar 2017
Forum: MultiCharts
Topic: Draw Horizontal line - get the HL price in an indicator [SOLVED]
Replies: 2
Views: 778

Re: Draw Horizontal line - get the HL price in an indicator [SOLVED]

Hi! It is possible to draw a horizontal line and to have an indicator like this (pseudo-code): if Horizontal_Line is True then getHorizontalLine_Price Yes, this is possible. You can draw any kind of line you want (provided it's a trend line), and with the `TL_GetValue_s()` keyword you can retrieve ...
by JoshM
08 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 902

Re: alarms

Hi, does anyone knows why only the first alert get created even if the counter get bigger than 15? thanks Probably because MultiCharts can only generate one alert each time the script calculates. Because you have two alert conditions that can both happen at the same time, the later alert 'overrules...
by JoshM
08 Mar 2017
Forum: MultiCharts .NET
Topic: increment [SOLVED]
Replies: 5
Views: 1018

Re: increment [SOLVED]

What am I missing? Your script probably resets the `i` variable every time back to zero when the code runs. For instance, if your code comes from the `CalcBar()` method, it looks like: protected override void CalcBar() { int i = 0; if(Bars.Close[0] < Bars.Close[1]){i=i+1;} else{i=0;} plot1.Set(0, i...
by JoshM
13 Feb 2017
Forum: MultiCharts .NET
Topic: Adding series and non series integers [SOLVED]
Replies: 2
Views: 896

Re: Adding series and non series integers [SOLVED]

I think you need to replace the following..

Code: Select all

m_aroonup = 100 * ((length - m_oextremebarraw) / length) ;
with..

Code: Select all

m_aroonup.Value = 100 * ((length - m_oextremebarraw[0]) / length) ;
If I correctly glanced over your code.
by JoshM
10 Feb 2017
Forum: MultiCharts
Topic: print out PosTradeProfit / PosTradeExitPrice / PosTradeEntryPrice....all are zero.
Replies: 9
Views: 1204

Re: print out PosTradeProfit / PosTradeExitPrice / PosTradeEntryPrice....all are zero.

sorry, it does not make sense to me. Postradeprofit(1,0) is looking for the latest closed. why it was disappear when I close the MC and re-start? is it any problem with my script? dear all, any one can have some comments? There may not be enough information in this thread to give a decisive answer:...
by JoshM
20 Jan 2017
Forum: MultiCharts
Topic: barssinceentry equivalent
Replies: 2
Views: 582

Re: barssinceentry equivalent

You can also use the standard `MRO()` function if you're looking to count the number of bars since some condition (which, in a way, is also what `BarsSinceEntry()` does).
by JoshM
20 Jan 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

I just installed the EE Collection and the EE Downloader. When I run the EE Downloader, I get the error below. I reran the Java program twice and obtained the same result both times. Any recommendations? Hi, The EE Downloader has been replaced with a website for a while now. See this post for the d...
by JoshM
08 Jan 2017
Forum: MultiCharts
Topic: IOG strategy optimization
Replies: 3
Views: 647

Re: IOG strategy optimization

Like ABC says, if you use the Bar Magnifier the backtested results should resemble real-live trading quite well. I say 'should' because there are several things that cannot be addressed for with the Bar Magnifier, even when using a setting of 1 tick. One thing is the time between ticks (and the resu...
by JoshM
01 Jan 2017
Forum: MultiCharts
Topic: How to take partial profit [SOLVED]
Replies: 6
Views: 1089

Re: How to take partial profit [SOLVED]

That would be the first one close half of my position after reaching the +20 pip profit point. You can try something like this for that (untested): // Manage long position if (MarketPosition(0) > 0) then begin if (Close >= EntryPrice(0) + 0.0020) then Sell ("Partial TP XL") (CurrentContracts / 2) C...
by JoshM
30 Dec 2016
Forum: MultiCharts
Topic: Automatic Backup of Multicharts Studies/Files
Replies: 9
Views: 1586

Re: Automatic Backup of Multicharts Studies/Files

Is it possible to create a backup, preferably one that is scheduled to run at a user defined frequency, of all my studies/indicators/workspaces in a location of my choosing (ie a cloud based system like Dropbox). If I lose my machine I am screwed if this is not possible. To add to Siscop's workflow...
by JoshM
30 Dec 2016
Forum: MultiCharts
Topic: How to take partial profit [SOLVED]
Replies: 6
Views: 1089

Re: How to take partial profit [SOLVED]

I want to take 50% of my profit as soon as my position has gone 20 pips in my favor after my breakeven has been activated. To clarify before discussing code: if you say, "take 50% of my profit (...)", do you mean: close half of my position after reaching the +20 pips profit point, or at the +20 pro...
by JoshM
29 Dec 2016
Forum: MultiCharts
Topic: Need slippage settings in Tick for futures backtesting
Replies: 6
Views: 961

Re: Need slippage settings in Tick for futures backtesting

For accurate testing of a futures portfolio, I need slippage setting in ticks instead of dollar amount since each future has a different tick value. Please add a slippage setting by how many ticks! You're not the only one who looks forward to this feature. There was a topic a year ago that asked fo...
by JoshM
29 Dec 2016
Forum: MultiCharts
Topic: OPEN P/L way off on PT
Replies: 3
Views: 687

Re: OPEN P/L way off on PT

VC and CMC are the stocks that are off. Does someone has an idea? I think this difference can be caused when MultiCharts calculates the open P/L for one of these screens while retrieving the open P/L from the broker for the other screen. (That's my idea at least; I cannot find a source for that.) I...
by JoshM
29 Dec 2016
Forum: MultiCharts
Topic: Scanner missing data [SOLVED]
Replies: 1
Views: 477

Re: Scanner missing data [SOLVED]

why in my scanner Watchlist I don't see the value High, Low etc as show below? The High and Low prices in the Scanner/Watchlist window are quote fields that MultiCharts fetches from the data feed. Looking at the image you also don't have a bid and ask price, so it seems the market is closed for now...
by JoshM
26 Dec 2016
Forum: MultiCharts
Topic: Scanner dealing with date. Bug? [SOLVED]
Replies: 1
Views: 511

Re: Scanner dealing with date. Bug? [SOLVED]

It plotted the standard MC date format 1170322 (March 22, 2017). When I went to the settings and changed the format to date, strangely, MC gives an error. Apparently, the scanner don't recognize its own date format? I was hoping that MC would change the date to 22-03-2017 or some similar date confi...
by JoshM
26 Dec 2016
Forum: MultiCharts
Topic: Pre-Scanning doesn't work
Replies: 2
Views: 514

Re: Pre-Scanning doesn't work

why if I select the criteria to scan the scanner doesn't work?
What is wrong in the process?
I don't understand. Can you clarify a bit?
by JoshM
26 Dec 2016
Forum: MultiCharts
Topic: plot name restriction?
Replies: 2
Views: 434

Re: plot name restriction?

There's an old PM entry (957: Variable plot number: Plot(N, value, name) in addition to PlotN(value, "name")) that also asks for the possibility to use a variable name with plots (instead of a literal string). Doesn't look like this will be implemented, but would surely be useful to have.
by JoshM
26 Dec 2016
Forum: MultiCharts
Topic: Scanner wrong
Replies: 13
Views: 1598

Re: Scanner wrong

Do you have the same indicator settings on the chart as you use in the Scanner/Watchlist?

(Things like 'Update on every tick', 'Maximum number of bars a study references', and so on.)
by JoshM
23 Dec 2016
Forum: MultiCharts
Topic: Arrays/Lookback [SOLVED]
Replies: 2
Views: 514

Re: Arrays/Lookback [SOLVED]

So what I ma trying to do: Whenever those crosses happened within the last [arraylength] bars a buy/ sell is triggered. So the 5 MA (red line) crosses above the white line 10 MA first and probably the yellow 50 MA last. This happens within a certain range of bars [arraylength] and the buy in this c...
by JoshM
13 Dec 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

Update:

- The 'FutureEconomicEvents.txt' file now contains the events of this week and the events of the next week. That way there's no 'gap' between Friday and the update of the file on Monday.
by JoshM
12 Dec 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 44074

Re: The Economic Events Collection for MultiCharts

1. I can see time used in the files is NY time. I assume it automatically changes between EST/EDT, correct? Yes, the times are based on the time reported on the ForexFactory website, so if the time on that website changes, so do the time reported in the files. 2. For some reason, Future Economic Ev...
by JoshM
30 Nov 2016
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 3237

Re: Multitimeframe Signals ADE, EL_Collections, etc.

Haha sorry did not try to confuse anybody. So lets give it some structure: Expectation towards MC: Why do people use Multitimeframe charts/signals ? They want all Timeframes to align in one direction to enter a trade. Depending on the indicators they are using, this might be promising, but they mig...
by JoshM
29 Nov 2016
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 3237

Re: Multitimeframe Signals ADE, EL_Collections, etc.

So maybe using ADE correctly might solve this Josh? Perhaps. Honestly, I can't say I 'get' this thread anymore. Perhaps I'm reading this thread biased, with something else in mind then what you're talking about which then confuses me. Let's take for instance your previous post with the Dow Jones In...
by JoshM
28 Nov 2016
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 3237

Re: Multitimeframe Signals ADE, EL_Collections, etc.

The overall topic is handling of multidata charts and applying signals to those. What is wanted as described in the MACD signal: Three signals, the highest signal builds the "foundation" for a buy/sell to happen, the timeframe one below also has to indicate the same direction and the smallest TF ba...
by JoshM
27 Nov 2016
Forum: MultiCharts
Topic: Run 3 same strategies in a chart
Replies: 3
Views: 736

Re: Run 3 same strategies in a chart

Can I run three same strategies in the same chart with take profit different but the same stop? The short answer: no, because individual signals are combined by MultiCharts into one strategy and orders are aggregated on that level. The longer answer: yes, you can communicate data between different ...
by JoshM
27 Nov 2016
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 3237

Re: Multitimeframe Signals ADE, EL_Collections, etc.

Does anybody have a solution? What's the problem here? Is it.. I always wondered why the strategy/signal gives false/ less signals back. Always thought the mistake might lie somewhere else, but now I know that Multicharts is just not able to process it. ..or is it.. I did some more research and cam...
by JoshM
18 Nov 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader command line options
Replies: 4
Views: 1181

Re: Portfolio Trader command line options

Portfolio Trader does not have the command line toolbar, therefore it does not support the “command line” commands from the code.
But what about command line parameters that we can add to shortcuts in Windows? Like these for the Windows Media Player as a random example.
by JoshM
18 Nov 2016
Forum: MultiCharts
Topic: Real time strategy maxiddrawdown
Replies: 5
Views: 719

Re: Real time strategy maxiddrawdown

I get an error when using your code so cannot test it, unfortunately:

Code: Select all

------ Compiled with error(s): ------
assignment is allowed only for variables or array elements
line 3, column 3
by JoshM
18 Nov 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader command line options
Replies: 4
Views: 1181

Re: Portfolio Trader command line options

In case these features do not exist (which I have to assume in the absence of documentation), I'd be more than happy to draft a feature request... I also have never come across these features, unfortunately. Some features, like start auto-trading, will probably not be created since that would nulli...
by JoshM
18 Nov 2016
Forum: MultiCharts
Topic: Settings Natural Gas [SOLVED]
Replies: 5
Views: 1096

Re: Settings Natural Gas [SOLVED]

can you help me to configure the USDJPY and EURUSD? Settings for spot forex, like price scale, depend on your broker. Did you add these instruments in the proper way to the QuoteManager? See this wiki page for more. It's not that hard when you compare your broker's settings with the settings in the...
by JoshM
16 Nov 2016
Forum: MultiCharts .NET
Topic: syntax question [SOLVED]
Replies: 4
Views: 999

Re: syntax question [SOLVED]

I've just scripted the following in StartCalc(): m_averagefc1.price = BarsOfData(2).Close; so now m_avg.Value references the right data series. Woke up before 5 with the answer ringing in my head :idea: That's indeed the correct approach to calculate a function on a different data series. What a go...
by JoshM
15 Nov 2016
Forum: MultiCharts
Topic: Real time strategy maxiddrawdown
Replies: 5
Views: 719

Re: Real time strategy maxiddrawdown

I suppose it then has to be related to your strategy's code. Can you share that? A simplified piece of code that replicates the behaviour is fine too.
by JoshM
15 Nov 2016
Forum: MultiCharts
Topic: Real time strategy maxiddrawdown
Replies: 5
Views: 719

Re: Real time strategy maxiddrawdown

when I print the function maxiddrawdown the output in my real time strategy is 0.0. Why? I'd like to identify the max DD for the whole period the my real time strategy. Does `MaxIDDrawDown` return 0 immediately after you enable a strategy for real-time trading or not? The first case would be expect...
by JoshM
15 Nov 2016
Forum: MultiCharts .NET
Topic: Nice website
Replies: 4
Views: 981

Re: Nice website

We've updated the forum as well. PM and Blog updates are in progress. The forum looks very nice, well done MultiCharts team! The 'Unread posts' feature is especially super-handy for people active on the forum. May I suggest the webmaster to also revoke the moderator privileges of people that left M...
by JoshM
15 Nov 2016
Forum: MultiCharts .NET
Topic: syntax question [SOLVED]
Replies: 4
Views: 999

Re: syntax question [SOLVED]

Can you post more information about what `m_avg.Value` is? I suppose it's a variable series (`VariableSeries<T>`) given its `Value` property, but a variable series doesn't perform calculations itself (regardless of the number of data series you use). All a variable series does is storing a value. So...
by JoshM
12 Nov 2016
Forum: MultiCharts
Topic: Use setpercenttrailing partially for 1 contract of 2 [SOLVED]
Replies: 1
Views: 471

Re: Use setpercenttrailing partially for 1 contract of 2 [SOLVED]

can I use the function setpercenttrailing to make go out only 1 contract on 2 contracts used?
No, according to the wiki page `SetPercentTrailing()` closes the currently position.
by JoshM
11 Nov 2016
Forum: MultiCharts
Topic: Trade correlation [SOLVED]
Replies: 2
Views: 669

Re: Trade correlation [SOLVED]

where I can find the material to understand how I can send order into markets when the signal coming from other markets? For example: I have a long signal into Gold instrument and I want short USDJPY Based on the information you've provided here, the best suggestion I can give is to check the Pairs...
by JoshM
11 Nov 2016
Forum: MultiCharts
Topic: Stop backtest calculation [SOLVED]
Replies: 2
Views: 503

Re: Stop backtest calculation [SOLVED]

there is a way to stop the calculation strategy backtest when my log find out a problem? I will stop strategy to change the code and recalculate From my understanding of what you mean here, that's not possible since MultiCharts natively cannot read from your log. However, if something happens in yo...
by JoshM
11 Nov 2016
Forum: MultiCharts
Topic: Display print lika a list [SOLVED]
Replies: 1
Views: 566

Re: Display print lika a list [SOLVED]

Hi all,

when I print the function as show below, all the print is displayed in a row.

It's possible view like a list and not a row
You can use the NewLine keyword to insert the equivalent of the Enter key in the output.
by JoshM
11 Nov 2016
Forum: MultiCharts .NET
Topic: Nice website
Replies: 4
Views: 981

Re: Nice website

I agree, the new website is quite pleasant. I also like the new favicon, which looks a lot fresher.

Will the forum be updated too? I see that several changes that were made to the website (like differentiating from TradingView, among other things) or not yet done on the forum.
by JoshM
11 Nov 2016
Forum: MultiCharts .NET
Topic: Countdown Timer
Replies: 7
Views: 1861

Re: Countdown Timer

Are you saying that the countdown timer should work with Renko charts then? (...) So bottom line is. I used to have a countdown on my charts. Then it stopped. Then I was told it couldn't/shouldn't have happened. The suggested fix ruins my charts. No admin seem to want to actually help even though t...
by JoshM
11 Nov 2016
Forum: MultiCharts .NET
Topic: Countdown Timer
Replies: 7
Views: 1861

Re: Countdown Timer

I need one to show the number of ticks remaining in a bar using Renko charts as the included one only works on bar/candlestick charts. That should not happen, I think, because `RecalcLastBarAfter()` works with a `TimeSpan` interval and is independent from the chart/resolution. What MultiCharts .NET...
by JoshM
06 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1419

Re: Plotting and deleting horizontal lines programatically [SOLVED]

Can you access any other functions via the alert properties of programmatically plotted horizontal lines? For example, instead of firing an alert on a close across I’d like to delete the line. Not sure if I fully understand, but the `Alert` property of a trend line can disable the trend line's aler...
by JoshM
06 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1419

Re: Plotting and deleting horizontal lines programatically [SOLVED]

Another approach I've been looking at is removing the lines with a moving average eraser, but I haven't been able to figure out how to access the lines' price property. The `PriceValue()` method that you're trying to use here requires a DateTime value that specifies for which date and time the tren...
by JoshM
04 Nov 2016
Forum: MultiCharts .NET
Topic: Noob Questions
Replies: 3
Views: 820

Re: Noob Questions

I can do this the hard way by using alot of code but i was wondering if there is an easy solution
I don't know of another way to do this besides using code.
by JoshM
03 Nov 2016
Forum: MultiCharts
Topic: Hide subchart with Power Language [SOLVED]
Replies: 1
Views: 492

Re: Hide subchart with Power Language [SOLVED]

Have tried with "SetPlotColor" (plot to black to hide each plot, 10 on each indicator), but then need to use the "intrabarpersist" to change everything. It takes too much of the system. There must be an easier way to hide a subchart. Any suggestions? It doesn't really hide a subchart, but comes clo...
by JoshM
03 Nov 2016
Forum: MultiCharts .NET
Topic: MultiCharts .NET tutorials
Replies: 15
Views: 13168

Re: MultiCharts .NET tutorials

Thanks Josh the content on your site is great for someone looking to make the jump to c#. I found it extremely helpful. Is there any documentation/examples anywhere on passing data to the MMS scripts in .NET? More specifically the methods for the equivalent functions in Easy Language such as pmms_d...
by JoshM
02 Nov 2016
Forum: MultiCharts .NET
Topic: Noob Questions
Replies: 3
Views: 820

Re: Noob Questions

1. I noticed that CalcBar method is called on every new bar, can i set some parameters to make CalcBar be called on every price movement (tick)? For indicators there's an option called 'Update on Every Tick' in the indicator's setting screen that makes the `CalcBar()` method update with every price...
by JoshM
01 Nov 2016
Forum: MultiCharts
Topic: Portfolio Walk Forward Error. Insufficient data samples.
Replies: 4
Views: 928

Re: Portfolio Walk Forward Error. Insufficient data samples.

I literally have no leads at all on possible causes. Has anyone else experienced this? Any ideas whats causing it? I don't know. I do see in your portfolio file (.pws) that you have a MaxBarsBack setting of just 50, so that cannot be the cause (although that would be the most likely candidate). I a...
by JoshM
30 Oct 2016
Forum: MultiCharts
Topic: Change orders for strategy breakout [SOLVED]
Replies: 8
Views: 912

Re: Change orders for strategy breakout [SOLVED]

easily I can write to cancel the order with code below: CurrentAsk - CurrentBid < 1.0 It's correct? Can be one of the many solutions? This can be a solution, that's true. But we cannot answer for you whether this is correct, because that depends on your goals and how you want your strategy to behav...
by JoshM
30 Oct 2016
Forum: MultiCharts
Topic: Change orders for strategy breakout [SOLVED]
Replies: 8
Views: 912

Re: Change orders for strategy breakout [SOLVED]

The following order modification is possible in MultiCharts: - Adjusting the order's price - Changing the quantity of the order - Cancelling an order How I can make it? It's possible have a example code for 3 cases listed above? Currently I use If CurrentBid < H and CurrentBid > H - (1*bigpointvalu...
by JoshM
29 Oct 2016
Forum: MultiCharts
Topic: Change orders for strategy breakout [SOLVED]
Replies: 8
Views: 912

Re: Change orders for strategy breakout [SOLVED]

I don't understand...can you explain with example or other words? What's unclear? I'm not sure if I can put it much differently. The following order modification is possible in MultiCharts: - Adjusting the order's price - Changing the quantity of the order - Cancelling an order What is not possible...
by JoshM
29 Oct 2016
Forum: MultiCharts
Topic: Change orders for strategy breakout [SOLVED]
Replies: 8
Views: 912

Re: Change orders for strategy breakout [SOLVED]

I can change orders for my strategy breakout? It's possible change orders from stop order at limit order? For a trategy breakout could be valid? That's for riduce slippage in my breakout strategy if possible or exist some way. Once an order is submitted, you can change its price but not its type. S...
by JoshM
28 Oct 2016
Forum: MultiCharts .NET
Topic: MC.net order entry without broker data feed? [SOLVED]
Replies: 3
Views: 1142

Re: MC.net order entry without broker data feed? [SOLVED]

Can you tell me where I can find this data feed symbol to broker mapping configuration? Symbol mapping is in the File -> Broker profiles -> symbol mapping menu. There's a page with information and examples on the wiki . Out of curiosity, why would the DOM be unavailable as an order entry option? Th...
by JoshM
28 Oct 2016
Forum: MultiCharts
Topic: MultiCharts privacy, security and broker relationship? [SOLVED]
Replies: 30
Views: 3620

Re: MultiCharts privacy, security and broker relationtionshi [SOLVED]

I never said that you cannot reply, you are also free not to reply. I just want official public answers from MultiCharts. If you just want an official reply from MultiCharts, it's in your best interest to keep this topic as positive and constructive as possible. It wouldn't be the first time that t...
by JoshM
28 Oct 2016
Forum: MultiCharts
Topic: MultiCharts privacy, security and broker relationship? [SOLVED]
Replies: 30
Views: 3620

Re: MultiCharts privacy, security and broker relationtionshi [SOLVED]

In here, customers and non customers have free access. People that might be thinking about buying a license are free to come here and ask all the questions they want to ask before invest in the platform. Don't mean to go too much off-topic, but non-customers unfortunately may not post here on the f...
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: To avoid the trade at the same previous price [SOLVED]
Replies: 14
Views: 1723

Re: To avoid the trade at the same previous price [SOLVED]

thanks for help but I hope that somebody is more pragmatic. Nobody ask you to write the strategy for me but I want only hint. For a hint, I would code my previous comment like this: Variables: IntrabarPersist prevLimitPrice(0), IntrabarPersist currentLimitPrice(0), IntrabarPerist goodToBuy(false); ...
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: To avoid the trade at the same previous price [SOLVED]
Replies: 14
Views: 1723

Re: To avoid the trade at the same previous price [SOLVED]

now I don't have the code. I'd like the generic example
I don't have the time to write (and test on real-time data) a trading strategy for you, and then incorporate any feedback you have.

Perhaps someone else can help you with that.
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: Fundamental data on Multicharts scanner
Replies: 5
Views: 1825

Re: Fundamental data on Multicharts scanner - PM MC-479

Do you know which data provider gives to you also easrning or fundametal historical information, like P/E, ecc...? I think that's the problem for MultiCharts before implementing the feature request, since that information is not that easily accessible (without getting a Bloomberg kind of data feed)...
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: To avoid the trade at the same previous price [SOLVED]
Replies: 14
Views: 1723

Re: To avoid the trade at the same previous price [SOLVED]

it's possible to have an example?
What's the code that you already have? That also makes it a lot easier for us to give focused and concrete help.
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: Can't find function in .dll [SOLVED]
Replies: 2
Views: 865

Re: Can't find function in .dll [SOLVED]

6. Run time error: "Can't find function "MovAvg" in dll. Whenever I come across that error, I either compiled the DLL incorrectly or used the wrong code inside the PowerLanguage code to declare the DLL function. Besides the `DefineDLLFunc` you can also use `External` to see if declaring MovAvg like...
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: To avoid the trade at the same previous price [SOLVED]
Replies: 14
Views: 1723

Re: To avoid the trade at the same previous price [SOLVED]

I work with limit order and the signal is generated from H(n). If I write code H (n) <>entryprice (1) is always verified because the entryprice is always different from H (n) due to slippage. If "H(n)" returns your limit price, you can also store that value in variable. Then, when the next limit or...
by JoshM
10 Oct 2016
Forum: MultiCharts
Topic: Currency convertion server(s) ? [SOLVED]
Replies: 5
Views: 1243

Re: Currency convertion server(s) ? [SOLVED]

MultiCharts uses previous day closing price (Bid) for currency conversion. There is no realtime currency conversion using current values. I thought that, when trading in real time, real-time rates are used. And when backtesting, historical rates are used. Such a thing is also mentioned on the wiki ...
by JoshM
04 Oct 2016
Forum: MultiCharts
Topic: recalculate ?
Replies: 1
Views: 513

Re: recalculate ?

Hi, Is "recalculate" able to do this? If yes, how would you translate this pseudo-code into powerlanguage? What is "this"? If you mean: can `recalculate` recalculate a script that uses a for loop, then the answer is yes. (By the way, you cannot -- and probably should never want to -- submit orders ...
by JoshM
04 Oct 2016
Forum: MultiCharts .NET
Topic: Schedule Automated Order Execution? [SOLVED]
Replies: 3
Views: 1199

Re: Schedule Automated Order Execution? [SOLVED]

Is there anyway to schedule the times that automated order execution, on a chart, is turned on and off? The short answer is "no", unfortunately. The long answer is that we can programmatically disable and enable automated order execution (see toggle auto trading with the command line for an example...
by JoshM
04 Oct 2016
Forum: MultiCharts
Topic: manually installed Verticale line: Is there a way to detect [SOLVED]
Replies: 1
Views: 482

Re: manually installed Verticale line: Is there a way to det [SOLVED]

Is there a way to detect if an vertical line has been draw on a chart? The goal is to installed a vertical line on a day chart and draw a region on a lower time frame chart of the previously Do you mean a vertical line as in a vertical Trend Line, or a Time Line drawing? We can make trend lines pro...
by JoshM
30 Sep 2016
Forum: MultiCharts
Topic: check_authorization_response
Replies: 9
Views: 1513

Re: check_authorization_response

Once I have the internet disconnected, is there a way to start MC right in offline mode (no real time data) You can configure this with the 'Data Server Mode', which can optionally remember the last setting or pop-up each time you start MultiCharts to choose between real-time data (online) or worki...
by JoshM
29 Sep 2016
Forum: MultiCharts
Topic: how can it calculate base on closed bar? [SOLVED]
Replies: 18
Views: 1863

Re: how can it calculate base on closed bar? [SOLVED]

I have a script work for multi data instruments, the entry and exit are correct during back test. but when the script running for real time trade, the orders will be submit on every data1 bar close as usual, but the calculation base on the indicators of the current bar on data2, data3, data4 and da...
by JoshM
28 Sep 2016
Forum: MultiCharts
Topic: Print Command in Real-Time Trading & NOT during backtesting [SOLVED]
Replies: 2
Views: 564

Re: Print Command in Real-Time Trading & NOT during backtest [SOLVED]

I have this print command that I want to produce an output only during live trading and not during backtesting. Any suggestions are greatly appreciated. If (backtesting = false) then Print(" Date ", FormatDate("yyyy-MM-dd", ELDateToDateTime(Date))) You can use the `GetAppInfo()` keyword for that. W...
by JoshM
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 2269

Re: Wrong Ematrend function [SOLVED]

Yes, of course !!! In the proprietary Ematrend indicator you have a smooth by standard deviation that you have not in the proprietary Ematrend function by Malverti/Multicharts. So, if you kindly read my first post, it is exactly what I am stating. I'm not sure if I follow, but isn't the point of a ...
by JoshM
24 Sep 2016
Forum: MultiCharts
Topic: Can Multicharts do automation like this?
Replies: 4
Views: 799

Re: Can Multicharts do automation like this?

Based on my experiences so far it seems that the biggest issue is getting the information from IQFeed fast enough into MC. If I have understood correctly MCs is very slow with moving information around. The processing of the information doesn't seem to be such an issue. I'd also check with IQFeed f...
by JoshM
17 Sep 2016
Forum: MultiCharts
Topic: Elder's disk for TS with enhanced MACD scanner
Replies: 6
Views: 1069

Re: Elder's disk for TS with enhanced MACD scanner

Looking at the pdf manual for that product, those scripts all use TS features that are available in MultiCharts too. So based on that it should work in MultiCharts too. However, and this is a big however , not all TS code works in MultiCharts and if the developer has used some of the more elaborativ...
by JoshM
12 Sep 2016
Forum: MultiCharts
Topic: Difference (x)ticks [SOLVED]
Replies: 1
Views: 737

Re: Difference (x)ticks [SOLVED]

This can be caused by a number of different reasons, including: - Do both charts have the same sessions? - Are both chars fed by the same kind of feed (so no comparison of a demo account feed versus a funded account feed)? (The LMAX price data from the demo account differs from the actual, real pric...
by JoshM
12 Sep 2016
Forum: MultiCharts
Topic: Auto Trading with Playback
Replies: 2
Views: 664

Re: Auto Trading with Playback

it's possible to apply the auto trading strategy with mode playback? I'm not sure about this, but perhaps it can be done. What do you want to achieve, however; evaluating the behaviour of the trading strategy on historical bars with the Playback Mode, or submit orders in real-time while running the...
by JoshM
11 Sep 2016
Forum: MultiCharts .NET
Topic: cqg connection
Replies: 1
Views: 734

Re: cqg connection

can't establish connection to CQG
What's the error message you receive (if any)?

You can find error messages in the 'Logs' tab of the Order and Position Tracker window and in the log that's displayed in bottom part of the QuoteManager.
by JoshM
09 Sep 2016
Forum: MultiCharts
Topic: Volume Delta Chart data access
Replies: 5
Views: 1249

Re: Volume Delta Chart data access

I am using mc power language to write my trading logic. and I'm exploring the "Volume Delta Chart" and "Cumulative Delta Chart" provided in MC. However , when i wanted to access the "bid/ask" data provide in Volume Delta Chart, I am not able to find any function..code..or whatever for it in powerla...
by JoshM
09 Sep 2016
Forum: MultiCharts
Topic: tl_new, text_new return values owned by others
Replies: 3
Views: 869

Re: tl_new, tl_new return values owned by others

I found that tl_new and tl_new return values owned by others, as the consequence of that, tl_delete deletes the wrong object. (Just to check we're on the same page: you mention `TL_New()` and `TL_New()` here. Is your question about comparing two of the same keywords?) When you get the trend line ID...
by JoshM
07 Sep 2016
Forum: MultiCharts
Topic: Plotting actual trades on a chart after the fact [SOLVED]
Replies: 3
Views: 1244

Re: Plotting actual trades on a chart after the fact [SOLVED]

Is anybody else doing this? Any thoughts about how best to do this? I'm not doing this so I cannot offer concrete code snippets, but as far as thoughts about how to do this: I would use ELCollections to load the data from the file. Once loaded, you can go through it with PowerLanguage and plot a tr...
by JoshM
03 Sep 2016
Forum: MultiCharts
Topic: Question on limiting Market Orders to reduce slippage?
Replies: 5
Views: 1095

Re: Question on limiting Market Orders to reduce slippage?

I've been looking for ways to reduce slippage and whilst that is possible with stops with stop limits, is there any way to limit the amount of slippage you would be willing to incur with a market order e.g Buy next bar at Open;? Not sure if this even makes sense ... Thanks! If you want to reduce sl...
by JoshM
29 Aug 2016
Forum: MultiCharts
Topic: Keeping text from indicator on screen [SOLVED]
Replies: 9
Views: 1635

Re: Keeping text from indicator on screen [SOLVED]

I haven't tested this, but what about creating several manual text boxes on the chart, and then having the indicator access those? It's very cool that MultiCharts can indeed do this. :) Example: Variables: currentTextBox(0); once (CurrentBar = 10) begin currentTextBox = Text_GetFirst(7); while (cur...
by JoshM
29 Aug 2016
Forum: MultiCharts
Topic: Keeping text from indicator on screen [SOLVED]
Replies: 9
Views: 1635

Re: Keeping text from indicator on screen [SOLVED]

Text put on chart via an indicator is erased when the chart is reload or modify via a new scale. When text is manually written on the chart, it will be kept after saving and reloaded. How can I keep the text created via an indicator to be permanent? I haven't tested this, but what about creating se...
by JoshM
31 Jul 2016
Forum: MultiCharts
Topic: How orders from Power language work
Replies: 3
Views: 1284

Re: How orders from Power language work

e.g. lets say it is with a broker/exchange that does not support OCO natively. I want to trade a range break out. My strategy places a stop to buy above the market and a stop to sell below the market. Can I have these orders held at the broker and have multicharts cancel one when the other is fille...
by JoshM
27 Jul 2016
Forum: MultiCharts
Topic: Apply strategy on different instruments [SOLVED]
Replies: 1
Views: 944

Re: Apply strategy on different instruments [SOLVED]

how I can set the same strategy on 100 instrument without open all charts and apply the strategy a chart for time? You can use the Portfolio Trader for that. There's more information here: Portfolio Backtesting and trading , Portfolio trader manual (PDF), Understanding portfolio backtesting , FAQ: ...
by JoshM
22 Jul 2016
Forum: MultiCharts
Topic: Order and Position Tracker data accessible within MC?
Replies: 3
Views: 1062

Re: Order and Position Tracker data accessible within MC?

For the purpose of automating my trading performance tracking log, I would like to access OPT's data and automatically produce the basic parts of my log. For five years I've been downloading my daily brokerage records into Excel and reconfiguring them into a more readable form. Then I add my trade ...
by JoshM
22 Jul 2016
Forum: MultiCharts
Topic: Possible to trade contract that isn't within dataset
Replies: 6
Views: 1317

Re: Possible to trade contract that isn't within dataset

If I get a .NET license, how do the signals and functions I have written into standard MC transfer over? Is the .NET version a hybrid powerlanguage / C# or purely C#? There's no transfer over of scripts from MultiCharts (PowerLanguage) to MultiCharts .NET, unfortunately. The basic MultiCharts indic...
by JoshM
20 Jul 2016
Forum: MultiCharts
Topic: I need to Count or Flag the 1st Exit of a Trade
Replies: 8
Views: 1689

Re: I need to Count or Flag the 1st Exit of a Trade

Say I go long 4 ES contracts using chart trader . I want to sell half at the first profit target and the rest at the second profit target(using PL)... How do I flag or count, the "filled" profit targets ? If this first target is hit, how can I use that to activate the 2nd target ? Monitoring the st...
by JoshM
20 Jul 2016
Forum: MultiCharts
Topic: Running Multicharts from the "cloud"
Replies: 18
Views: 3442

Re: Running Multicharts from the "cloud"

I was thinking it would be great to install Multicharts on my "OneDrive". This was I could run Multicharts from either computer with all settings saved etc. To add to Alex' response above, here's a wiki page with the different file locations with the MultiCharts settings that you probably want to s...
by JoshM
11 Jul 2016
Forum: MultiCharts
Topic: Pacing Violations - Portfolio Trader [SOLVED]
Replies: 4
Views: 1610

Re: Pacing Violations - Portfolio Trader [SOLVED]

I have seen pacing violations with Interactive Brokers many times but this time I am not using IB for data. I can't seem to figure out where this warning message is coming from. (see attached). The Interactive Brokers' pacing violation is a characteristic of the MultiCharts connection to IB and doe...
by JoshM
11 Jul 2016
Forum: MultiCharts
Topic: How to get the BN of the leftmost bar on current chart ? [SOLVED]
Replies: 4
Views: 1148

Re: How to get the BN of the leftmost bar on current chart ? [SOLVED]

but I need to find the bar number of the leftmost bar currently in the chart, not the datetime! I do not see how to achieve that with those keywords. If you know the DateTime value of the leftmost bar, you can compare that with the `DateTime` value of the recent price bars to see whether that bar i...
by JoshM
07 Jul 2016
Forum: MultiCharts
Topic: MouseClickBarNumber
Replies: 5
Views: 1001

Re: MouseClickBarNumber

I am already using shift clicks etc. However the problem is if I have several studies (or multiple instances of the same study) on the same chart . If I shift click it will change all the start points of all I think? Whereas I want (for example) one instance of the study starting on say bar 12 the ...
by JoshM
06 Jul 2016
Forum: MultiCharts
Topic: MouseClickBarNumber
Replies: 5
Views: 1001

Re: MouseClickBarNumber

I'd like to update a variety of my studies to use MouseClickBarNumber to get the starting bar to use for calculations etc. Is there a way to use this once (or maybe x2 to get startbar endbar) in a study and then turn off processing mouse events for that study? Mouse events cannot be turned off cond...
by JoshM
24 Jun 2016
Forum: MultiCharts
Topic: Indicator for multiple time frames
Replies: 2
Views: 1189

Re: Indicator for multiple time frames

I am using 3 time frames and present all three with an indicator on the lowest time frame. As it is now the highest and intermediate time frame print many dots on the lowest time frame for a specific event. How can I program to only have one dot for each occasion it happens. The how-to depends high...
by JoshM
18 Jun 2016
Forum: MultiCharts .NET
Topic: IntraBarOrderGeneration [SOLVED]
Replies: 4
Views: 2731

Re: IntraBarOrderGeneration [SOLVED]

Josh, Thank you for your earlier response on this. (...) Here is the error message if it helps: ManagedStudies.details._ELAPI_exception_Wrap_: Error in the application. at ManagedStudies.details._ELAPI_exception_Wrap_Generator.raise(_ELAPI_exception_Wrap_Generator* ) at PowerLanguage.CExecutionCont...
by JoshM
18 Jun 2016
Forum: MultiCharts
Topic: Slow to Generate Order
Replies: 4
Views: 1492

Re: Slow to Generate Order

I'm using Rithmic for futures broker and for data. I'm using PT on 5 minute charts my trades are generated about 20-30 seconds after the bar. So for instance 12:00:30. Does anyone have this happen and have idea on how to troubleshoot? This maybe happening for only one of my strategies which is very...
by JoshM
18 Jun 2016
Forum: MultiCharts
Topic: 512 tick chart - X-Axis: need date format change [SOLVED]
Replies: 2
Views: 1561

Re: 512 tick chart - X-Axis: need date format change [SOLVED]

Is there any way to get the date format in mm/dd/yy hh:mm format ? Right now, it's only hh:mm:ss:nnn where nnn = millisecond. No date is shown. Not that I know. It's possible to disable the millisecond time stamp for the bars (see arrow in image above), but that doesn't place the month, day, and ye...
by JoshM
18 Jun 2016
Forum: MultiCharts
Topic: Problem placing order (autotrading) on LMAX
Replies: 6
Views: 2157

Re: Problem placing order (autotrading) on LMAX

a trading system of mine trading on @ES continuous contract (ES.D) taken from TS, when tryng to send a limit order on LMAX's CFD generates the following message error Please contact LMAX directly to check the allowed price range for trading this instrument. You can see the limit prices in the LMAX ...
by JoshM
14 Jun 2016
Forum: MultiCharts
Topic: Cancelling and Closing all trades at 1507 on 1M chart [SOLVED]
Replies: 21
Views: 3997

Re: Cancelling and Closing all trades at 3:00PM [SOLVED]

I am trading the US 30 years bond and am using RecalcLastBarAfter() because at 3:07PM the market is slow and new ticks come in infrequently. Currently, I have to close my trades manually because the script is not working. Please note that the market is still opened but the code is not executing. An...
by JoshM
14 Jun 2016
Forum: MultiCharts
Topic: switching between two IB account
Replies: 1
Views: 1249

Re: switching between two IB account

I have 2 IB account. When I run a strategy via multicharts with IB as broker. The strategy will try both account which switch between the two account. How can I use easylangauage code to specify which account I used to trade? You can't specify that programmatically, as far as I know. A signal scrip...
by JoshM
11 Jun 2016
Forum: MultiCharts
Topic: Telegram and WhatsApp [SOLVED]
Replies: 16
Views: 4229

Re: Easylanguage to email screen shot [SOLVED]

if i want send the image to telegram or whatapp is there any solution?
Yes there's is: the Telegram API. It's not an 'out of the box ready to use with MultiCharts' solution, though.
by JoshM
07 Jun 2016
Forum: MultiCharts
Topic: Signal Generates order Direction biased
Replies: 4
Views: 1258

Re: Signal Generates order Direction biased

when running signal it does not function accordingly robot buys and sells rather than buying is Data2 signal is indicating up or the other direction how do i fix this problem I don't really get what you're saying here. Is the problem that the script buys and sells rather than just buys? In that cas...
by JoshM
06 Jun 2016
Forum: MultiCharts
Topic: indicator calculation in scanner watchlist [SOLVED]
Replies: 9
Views: 1748

Re: indicator calculation in scanner watchlist [SOLVED]

My intention is to plot "AAA" if 2 conditions are true condition1 :close > highest(high[1],20) condition2: Average(close,5)>Average(close,20) but it plots when only 1 condition is true. I have no idea what's wrong with code and appreciate if anyone can give me suggestion. Thanks. I would try to tur...
by JoshM
06 Jun 2016
Forum: MultiCharts
Topic: Problem with quotemanager database
Replies: 8
Views: 1371

Re: Problem with quotemanager database

Is there a way to convert the database files? The tool that's used to reduce the database size can also convert the database files. See how to reduce database size (you'll need to use the MultiCharts 9.1 download link to update the database from 9.0 to 9.1). Don't forget to create at least one back...
by JoshM
04 Jun 2016
Forum: MultiCharts
Topic: Broker simulated forex
Replies: 3
Views: 852

Re: Broker simulated forex

with this features I can test my strategy while developing? That depends on what you mean with 'test'. With Playback Mode you can simulate how prices move around the open and 'replay' those bars, but you can't practice accurate order fills at the broker. But then again, a simulated data feed from t...
by JoshM
04 Jun 2016
Forum: MultiCharts
Topic: Monthly Returns
Replies: 2
Views: 1019

Re: Monthly Returns

Solid rectangles on Monthly Returns & Drawdowns graph demonstrate Profit per month from Monthly Period Analysis tab. Shaded rectangles demonstrate intramonth period RunUp and DrawDown for the respective periods (these values are not shown at Monthly Period Analysis tab). Source: Monthly Returns & D...
by JoshM
04 Jun 2016
Forum: MultiCharts
Topic: Sell function
Replies: 2
Views: 969

Re: Sell function

I have the problem with the code below:
To add to Tony's comment, you also use `this bar at market`, which is something that's only suited for backtesting.

Can you perhaps say what "the problem" is? That helps us to give more focused replies and to help better.
by JoshM
04 Jun 2016
Forum: MultiCharts
Topic: Broker simulated forex
Replies: 3
Views: 852

Re: Broker simulated forex

there are brokers that simulating the forex during the week end?
I need to test my strategy at market open
No, but you can use the MultiCharts Data Playback feature to simulate price action during the weekend.
by JoshM
03 Jun 2016
Forum: MultiCharts .NET
Topic: IntraBarOrderGeneration [SOLVED]
Replies: 4
Views: 2731

Re: IntraBarOrderGeneration [SOLVED]

There's an article about Intra-bar order generation here: IOGMode: generating and filling orders intra-bar instead of on bar close . It might help you since it seems that your understanding of intra-bar order generation is different from what it does (also see my comments below). I am trying to upda...
by JoshM
03 Jun 2016
Forum: MultiCharts
Topic: How to convert a TS 9.1 code to PowerLanguage code
Replies: 3
Views: 1150

Re: How to convert a TS 9.1 code to PowerLanguage code

{ Methods declaration } var: elsystem.Timer Timer1( NULL ); Method override void InitializeComponent() begin Timer1 = new elsystem.Timer; Timer1.Interval = CalcSeconds * 1000; Timer1.AutoReset = true; Timer1.Enable = true; Timer1.Name = "Timer1"; Timer1.elapsed += Timer1_Elapsed; (Disclaimer: I don...
by JoshM
02 Jun 2016
Forum: MultiCharts
Topic: Identify 5 pips from entryprice
Replies: 1
Views: 635

Re: Identify 5 pips from entryprice

how I can identify 5 pips from entry to generate the condition to sell half contracts?
The EntryPrice() keyword returns the position's entry price and the current number of contracts can be retrieved with CurrentContracts.
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: Identify number of contract opened manually
Replies: 3
Views: 880

Re: Identify number of contract opened manually

but the MarketPosition_at_Broker identify the position long or short but not the number of contracts right? `MarketPosition_At_Broker` returns a positive number when the position is long and a negative number when the position is short. The value of that returned number indicates the size of the po...
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: !From Broker To Strategy MP Synchronizer!
Replies: 1
Views: 854

Re: !From Broker To Strategy MP Synchronizer!

From my understanding: `TimeOutMS` is used to check whether the market position differs from the chart compared to the broker: when there's a mismatch for long than the specified number of seconds, then the signal places an order to correct that. `LatencyMS` is used as an additional filter to correc...
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: Different data when receiving real time and when reloading
Replies: 2
Views: 981

Re: Different data when receiving real time and when reloadi

Is there any way to code a function on a signal to recalculate the data on chart in order to have always the correct data on chart? You can recalculate a script itself with the Recalculate() keyword. If you want to reload the price data (which will also cause the script to recalculate), then that c...
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: PowerLanguage Programmers Guide in PDF format [SOLVED]
Replies: 15
Views: 6929

Re: Documentation PowerLanguage [SOLVED]

it's possible to have the help documentation power language in pdf or other documentation on this.
You mean the user manual of the platform itself? That one can be downloaded here: https://www.multicharts.com/trading-sof ... Manual.pdf
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: Read your Stop Loss Levels
Replies: 1
Views: 573

Re: Read your Stop Loss Levels

What's the keyword to read the stop loss level? There's unfortunately no keyword that can read data from submitted orders. The stopRange parameter is a variable, I need to check the correct position of my stop at each new level. If you submit the trailing stop-loss yourself (so without the use of o...
by JoshM
31 May 2016
Forum: MultiCharts .NET
Topic: Oanda Feed "Error 429" [SOLVED]
Replies: 11
Views: 3900

Re: Oanda Feed "Error 429" [SOLVED]

Yesterday and part of today was holidays in some markets and as a result, Oanda had certain holiday hours for some of their CFD offerings. It seems that if I start MC.net and only open FX workspaces, then the data will load fine and the quote manager won't give any such error messages. However, if ...
by JoshM
29 May 2016
Forum: MultiCharts
Topic: My Recommendations for MC10
Replies: 32
Views: 4259

Re: The 4k Display Thread

Per my original comment, I think that MC10 should be called MC9.2 or MC9.6 because there are no significant architecture changes. If the 4K display is part of the Microsoft's development platform and MC merely turned on the switches, and updated a few icons. I think that backfilling should be a par...
by JoshM
29 May 2016
Forum: MultiCharts
Topic: My Recommendations for MC10
Replies: 32
Views: 4259

Re: My Recommendations for MC10

BarMagnifier/IOG for Portfolio trader/backtester has already been scheduled. This feature is a major project, and it requires extensive architectural work. The delivery will take some time. Harping on it does not encourage the morale, nor speed up the schedule. Perhaps your information as a moderat...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: MarketPosition_at_Broker vs MarketPosition
Replies: 10
Views: 2732

Re: MarketPosition_at_Broker vs MarketPosition

I read your advise but I can't find the solution on my problem. I have set the option like show below but when I open the position from mobile the strategy don't active the order stop and takeprofit. Why? What I wrong? tradingest, please see my reply above. Tradingest, what Henry points to here is ...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Question for Rithmic and TS datafeed users
Replies: 2
Views: 1068

Re: Question for Rithmic and TS datafeed users

However when comparing historical charts the two feed could not be more different In some instances the difference in ES OHLC could be of several points, same in CL and GC Does anyone know why this happens and what the solution might be? Are those historical charts backfilled with historical data f...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Account MT4 and MC at the same time
Replies: 9
Views: 3154

Re: Account MT4 and MC at the same time

somebody know which broker allow have the account MT4 using MC together? Open the position manually through MT4 mobile and manage the position with MC. I never heard of a broker that allows opening positions with MT4 and then managing them in MultiCharts. An approach that I did hear about was to ha...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Why the same indicator two lines are different
Replies: 4
Views: 1369

Re: Why the same indicator two lines are different

Thank you,Please tell me how can I "turn on/off" indicator or signal per time automatically,The results seems different from manual。“RecalcLastBarAfter” and “recalculate” may be unavailable You can turn off an indicator with the RaiseRunTimeError() keyword. That will be 'hard' disabling however; af...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Backtesting with IOG and Bar Magnifier
Replies: 6
Views: 1952

Re: Backtesting with IOG and Bar Magnifier

Why is IntraBarPersist part of a variable declaration ? I thought it was part of the signal as a declaration ? [IntraBarPersist] `IntrabarPersist` is placed before variables and arrays when declaring them to make sure that they retain the value that was assigned to them during an intra-bar tick cal...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: OHLC Yesterday Indicator
Replies: 3
Views: 1213

Re: OHLC Yesterday Indicator

I presume it is possible then to modify / create a new OHLC indicator to use session times then ?
Yes, that's possible. The start and end time of sessions can be retrieved in PowerLanguage with the Sessions keywords.
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Limit order cancelled & resent when using RecalcLastBarAfter
Replies: 8
Views: 4052

Re: Limit order cancelled & resent when using RecalcLastBarA

I'm curious to hear what happened with this issue/problem after investigation. Is there an update on it?

Go to advanced search