Search found 2089 matches

by JoshM
10 Nov 2017
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

Zheka wrote: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: 27416

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: 27416

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: 141

Re: format time

arnie wrote: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: 5
Views: 185

Re: Cryptocurrency data feed

maxima wrote: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: 95

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: 107

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: 125

Re: Alert message

ppc wrote: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: 125

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: 788

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: 8
Views: 285

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: 788

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: 160

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: 800

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...
by JoshM
19 Aug 2017
Forum: MultiCharts
Topic: counting of hourly bars for current daily session in the code.... help
Replies: 4
Views: 191

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: 144

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: 13
Views: 834

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 som...
by JoshM
11 Aug 2017
Forum: MultiCharts .NET
Topic: Trend lines drawn by Indicator on Price chart. [SOLVED]
Replies: 4
Views: 230

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: 230

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: 171

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: 130

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: 187

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: 187

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: 161

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: 161

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: 414

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: 414

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: 120

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 c...
by JoshM
11 Jul 2017
Forum: MultiCharts
Topic: Issue with sorting in Scanner windwow [SOLVED]
Replies: 4
Views: 241

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: 323

Re: RTD Server. SymbolData Indicator not compiled.

Louis88 wrote: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: 323

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: 484

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[...
by JoshM
08 Jul 2017
Forum: MultiCharts
Topic: Oanda Trade history
Replies: 1
Views: 163

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: 27416

Re: The Economic Events Collection for MultiCharts

Al3cs wrote: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: 2605

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 exi...
by JoshM
29 Jun 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 2605

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: 192

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: 169

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: 168

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: 484

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 ...
by JoshM
28 Jun 2017
Forum: MultiCharts
Topic: Calculating Swing based on a specific event
Replies: 5
Views: 315

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: 273

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: 131

Re: Opening Expert commentary window

arjfca wrote: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: 297

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: 2
Views: 195

Re: Bollinger Bands %B

ascales wrote: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: 444

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: 444

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: 204

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: 444

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: 253

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: 252

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: 4954

Re: PowerLanguage source with Diamond Lock

general wrote: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: 209

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: 321

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: 304

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

arjfca wrote: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: 353

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: 597

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 i...
by JoshM
24 Apr 2017
Forum: MultiCharts
Topic: Reloading charts: Is there a way to do it from code? [SOLVED]
Replies: 5
Views: 256

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 doub...
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: 1166

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: 527

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: 529

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: 443

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: 361

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: 243

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: 347

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: 443

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: 361

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: 269

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: 485

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: 253

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: 27416

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: 299

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: 462

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") (CurrentContra...
by JoshM
30 Dec 2016
Forum: MultiCharts
Topic: Automatic Backup of Multicharts Studies/Files
Replies: 9
Views: 856

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: 462

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 t...
by JoshM
29 Dec 2016
Forum: MultiCharts
Topic: Need slippage settings in Tick for futures backtesting
Replies: 6
Views: 421

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: 314

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: 211

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: 199

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: 243

Re: Pre-Scanning doesn't work

tradingest wrote: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: 211

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: 694

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: 282

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: 27416

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: 27416

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: 1526

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: 1526

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: 1526

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 smal...
by JoshM
27 Nov 2016
Forum: MultiCharts
Topic: Run 3 same strategies in a chart
Replies: 3
Views: 470

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: 1526

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: 543

Re: Portfolio Trader command line options

Henry MultiСharts wrote: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: 431

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: 543

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: 607

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: 438

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: 431

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: 431

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: 467

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: 438

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: 282

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

tradingest wrote: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: 436

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: 324

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: 331

Re: Display print lika a list [SOLVED]

tradingest wrote: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: 467

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: 679

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: 679

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: 544

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: 544

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: 342

Re: Noob Questions

MontyDamji wrote: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: 315

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 sub...
by JoshM
03 Nov 2016
Forum: MultiCharts .NET
Topic: MultiCharts .NET tutorials
Replies: 13
Views: 8211

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: 342

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: 449

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: 509

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: 509

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: 509

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: 509

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: 518

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?
Replies: 19
Views: 828

Re: MultiCharts privacy, security and broker relationtionshi

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?
Replies: 19
Views: 828

Re: MultiCharts privacy, security and broker relationtionshi

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: 856

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: 856

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

tradingest wrote: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: 1171

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: 856

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

tradingest wrote: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: 446

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 declar...
by JoshM
25 Oct 2016
Forum: MultiCharts
Topic: To avoid the trade at the same previous price [SOLVED]
Replies: 14
Views: 856

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 nex...
by JoshM
10 Oct 2016
Forum: MultiCharts
Topic: Currency convertion server(s) ? [SOLVED]
Replies: 3
Views: 478

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: 329

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 ...
by JoshM
04 Oct 2016
Forum: MultiCharts .NET
Topic: Schedule Automated Order Execution? [SOLVED]
Replies: 3
Views: 565

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 ...
by JoshM
04 Oct 2016
Forum: MultiCharts
Topic: manually installed Verticale line: Is there a way to detect [SOLVED]
Replies: 1
Views: 308

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: 800

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: 1035

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: 353

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()`...
by JoshM
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 929

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: 467

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: 598

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: 489

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: 429

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: 408

Re: cqg connection

senders wrote: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: 713

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....
by JoshM
09 Sep 2016
Forum: MultiCharts
Topic: tl_new, text_new return values owned by others
Replies: 3
Views: 528

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: 792

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: 670

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: 843

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: 843

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: 935

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: 778

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: 721

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: 965

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: 1004

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 ? Monitor...
by JoshM
20 Jul 2016
Forum: MultiCharts
Topic: Running Multicharts from the "cloud"
Replies: 11
Views: 1196

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...
by JoshM
11 Jul 2016
Forum: MultiCharts
Topic: Pacing Violations - Portfolio Trader [SOLVED]
Replies: 4
Views: 963

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: 803

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: 672

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: 672

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: 595

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: 2022

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: 1122

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: 1261

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: 1521

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: 2951

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: 1069

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: 2343

Re: Easylanguage to email screen shot [SOLVED]

bomberone1 wrote: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: 957

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: 1020

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 ...
by JoshM
06 Jun 2016
Forum: MultiCharts
Topic: Problem with quotemanager database
Replies: 8
Views: 876

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: 662

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: 697

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...
by JoshM
04 Jun 2016
Forum: MultiCharts
Topic: Sell function
Replies: 2
Views: 757

Re: Sell function

tradingest wrote: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: 662

Re: Broker simulated forex

tradingest wrote: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: 2022

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: 735

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; (Disclai...
by JoshM
02 Jun 2016
Forum: MultiCharts
Topic: Identify 5 pips from entryprice
Replies: 1
Views: 506

Re: Identify 5 pips from entryprice

tradingest wrote: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: 643

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: 532

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: 795

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: 2985

Re: Documentation PowerLanguage [SOLVED]

tradingest wrote: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-soft ... Manual.pdf
by JoshM
01 Jun 2016
Forum: MultiCharts
Topic: Read your Stop Loss Levels
Replies: 1
Views: 450

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: 2707

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: 2745

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: 2745

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: 1699

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: 871

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: 8
Views: 1780

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: 1014

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 h...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: Backtesting with IOG and Bar Magnifier [SOLVED]
Replies: 6
Views: 1419

Re: Backtesting with IOG and Bar Magnifier [SOLVED]

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: 742

Re: OHLC Yesterday Indicator

ukcurrencier wrote: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: 2163

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?
by JoshM
28 May 2016
Forum: MultiCharts
Topic: questions about sellshort/buy [SOLVED]
Replies: 4
Views: 1147

Re: questions about sellshort/buy [SOLVED]

If so, why sellshort can not just send two orders, one is an exit order to close long position, and the other one is an entry order to open a short position ? If you want to do so, you can use the Sell keyword to close the position and then use SellShort to initiate the short position. Note that, I...
by JoshM
28 May 2016
Forum: MultiCharts
Topic: IQFEED AND FEED Times - Help Needed please [SOLVED]
Replies: 2
Views: 514

Re: IQFEED AND FEED Times - Help Needed please [SOLVED]

Default the feed comes through with a New York Times, I am based in the UK which is currently running British Summertime (GMT +1) hows can this be changed, so that the times in the charts display my local time. You can set the chart's time zone to 'Local' time zone. See the wiki page for more. (Cha...
by JoshM
27 May 2016
Forum: MultiCharts
Topic: My Recommendations for MC10
Replies: 32
Views: 2745

Re: My Recommendations for MC10

I am all for this. Does anyone know how many votes are required for a feature request to be implemented? Is it 5, 10, 20 or based on complexity or MC resources? If we are going to make a pact, we must know all the rules. Votes are not that important when implementing new features; what seems to be ...
by JoshM
27 May 2016
Forum: MultiCharts
Topic: Cancelling and Closing all trades at 1507 on 1M chart [SOLVED]
Replies: 21
Views: 2951

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

Below is the new code. But what about cancelling all other pending orders. Pending orders are cancelled when you don't resubmit them in the code (see for instance the buy wiki page ). This means you'll need to implement programming logic in your script that ensures that the limit orders aren't subm...
by JoshM
26 May 2016
Forum: MultiCharts
Topic: USD/CNH currency conversion
Replies: 3
Views: 449

Re: USD/CNH currency conversion

I have no understanding of the MultiCharts' "Currency Conversion server" terminology or what this implies. Is there some documentation available that explains more details? There's some information about the currency conversion feature here: currency conversion wiki . You can still trade ...
by JoshM
25 May 2016
Forum: MultiCharts
Topic: possible to replace/refresh the limit order after submit? [SOLVED]
Replies: 9
Views: 1407

Re: possible to replace/refresh the limit order after submit [SOLVED]

One way to do it is to use a multi-data approach: use a 1 min chart as data1, and your range chart as data2. apply your logic to data2, but execute your trades on data1. This is indeed one way to do it, but it might be a little overkill here since checking if there's a 60 second time difference onl...
by JoshM
21 May 2016
Forum: MultiCharts
Topic: Find in Dictionary
Replies: 1
Views: 816

Re: Find in Dictionary

why in PowerLanguage Editor in the Dictionary isn't possible find the word like in TS? It's possible develop it? May be that exist a method but I don't know. If you click the 'Home' button in the Help, there's an alphabetical list of keywords so that might help when you're searching for something s...
by JoshM
21 May 2016
Forum: MultiCharts
Topic: Dynamic Print
Replies: 4
Views: 1090

Re: Dynamic Print

how I make to view the dynamic print od variables changing during the execution strategy? I'm not sure what you mean here. Without the image, I would say that viewing the values of variables is done with Print() , but you're already using that keyword in your image. Do you mean: 'how can I see the ...
by JoshM
21 May 2016
Forum: MultiCharts
Topic: possible to replace/refresh the limit order after submit? [SOLVED]
Replies: 9
Views: 1407

Re: possible to replace/refresh the limit order after submit [SOLVED]

Due to my lack of coding knowledge, I would like to ask for your help for above coding possibility and any key words could be use. I just want to submit limit order in my signal Limit orders are submitted with the Buy (for enter long), Sell (to close a long position), SellShort (to open a short pos...
by JoshM
21 May 2016
Forum: MultiCharts
Topic: PowerLanguage Programmers Guide in PDF format [SOLVED]
Replies: 15
Views: 2985

Re: PowerLanguage Programmers Guide in PDF format [SOLVED]

Please try again now. I was able to successfully create a PDF file with the keywords. Could you upload that PDF? Like syswizard, I also couldn't create a PDF from the wiki. After adding each PowerLanguage keyword category separately to the book, I got an error when the wiki needed to render to PDF:...
by JoshM
14 May 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

I am able to write myself and testing strategy. I need only to know how to backtest a economic strategy by historical economic data with these tool? Is it possible test a strategy usind this data into past? if yes how? If not is there to buy a tool that ecable to load historical data economic and t...
by JoshM
12 May 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 BETA 1
Replies: 89
Views: 11004

Re: MULTICHARTS 10.0 BETA 1

The interface and controls in MultiCharts have not changed. The same set of icons is in use on any OS. The re-designed icons are high resolution and scalable now, as well as all of the other application controls. Which means one can now set a custom DPI value (screen scaling >100%) in the OS settin...
by JoshM
12 May 2016
Forum: MultiCharts
Topic: Multicharts on Window server, AWS, EC2
Replies: 35
Views: 4796

Re: AWS Server vs Workspaces

I would like to install and trade MultiCharts in the cloud. I have two options to do this. I could get Amazon's "EC2 Server" platform or their "Workspaces" platform. Workspaces is a virtual desktop. I have never worked with a server before so there is quite the learning curve. W...
by JoshM
12 May 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 BETA 1
Replies: 89
Views: 11004

Re: MULTICHARTS 10.0 BETA 1

Are there screenshots of the new design? I'm curious to see how it looks and how much it might affect my workflow when I update. Also, MultiCharts inherits Windows 10 style so all the objects and icons have been re-designed and improved. The new icons of our platform have a flat look which is remini...
by JoshM
07 May 2016
Forum: MultiCharts
Topic: PowerLanguage Programmers Guide in PDF format [SOLVED]
Replies: 15
Views: 2985

Re: PowerLanguage Programmers Guide in PDF format [SOLVED]

To create a PDF, it appears one must do a Create Book for each and every section of the manual....is that true ? That seems to be true, unfortunately. I couldn't find another way when I also looked into this recently. See first post: MultiCharts User Manual (PDF) https://www.multicharts.com/discuss...
by JoshM
03 May 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

COuld you write please an very very easy example of code strategy how backtesting this Economic past event data into mini es 500? And another one with real time data?(very simple, i am not a programmer.) I don't think that is going to happen, sorry. There are a couple of issues with tools like the ...
by JoshM
01 May 2016
Forum: MultiCharts
Topic: questions about platform
Replies: 8
Views: 719

Re: questions about platform

HOWEVER in my humble opinion Multicharts REALLY NEEDS TO ADD THE CONTENT MANIPULATION FEATURE to their charting. I constantly use that to drag bars around, size candles wider or narrower on the X axis, size the candles or bars taller or shorter on the Y axis since I am all about targets range relat...
by JoshM
01 May 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

I've simplified things a bit; here's the new URL: http://econevents.s3-website.eu-central-1.amazonaws.com/ (don't forget to update your bookmarks).
by JoshM
27 Apr 2016
Forum: MultiCharts
Topic: I am stuck and need helps on debugging
Replies: 3
Views: 641

Re: I am stuck and need helps on debugging

Then I made a comparison between strategy B with custom functions and strategy A to see if they gave the same result on the performance report. Obviously the results are the same, so I spent few days in reading the codes line by line and finding out where the bugs are and what made the discrepancy ...
by JoshM
26 Apr 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

I've started working today on my own downloader. (...) So one of my goals is that the new downloader won't be shared and only managed by me, and that the downloader uploads the files to a website so that everyone can download them from there. It's here, it's here, the beta version is here! :) It to...
by JoshM
25 Apr 2016
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 2241

Re: Draw a text box at a fixed position on a chart

I ask for new EL code : value1 = FirstBarOnScreen(data1); value1 = LastBarOnScreen(data1); because it's the only workaround to find barnumber on screen without use MouseClickBarNumber... Another workaround would be to compare the DateTime value of the left bar on the screen (`GetAppInfo(aiLeftDispD...
by JoshM
23 Apr 2016
Forum: MultiCharts
Topic: question regarding stop order not filled
Replies: 5
Views: 810

Re: question regarding stop order not filled

1. is there anyway to extend the time frame of buy order ? e.g. buy next bar plus extra 2 minutes before cancelled? Orders that are submitted by signals remain active as long as they are resubmitted in MultiCharts. So if you have your strategy resubmit the stop-loss order 2 minutes after the 3:45pm...
by JoshM
22 Apr 2016
Forum: MultiCharts
Topic: Help with strategy [SOLVED]
Replies: 7
Views: 996

Re: Help with strategy [SOLVED]

You can also reference variables from other data series if you have more than one chart on your WS. If you are trading 5 minute bars but want to reference perhaps a daily bar as part of your conditions for order entry, then create a sub chart and now declare variables for that chart such as varN ( ...
by JoshM
19 Apr 2016
Forum: MultiCharts
Topic: Scaling Out of a Position [SOLVED]
Replies: 2
Views: 671

Re: scaling out of a position [SOLVED]

ok, found it. The magic line is: [SameExitFromOneEntryOnce = false] Without this setting, any given entry cannot have more than one exit associated with it. That's true, unless you create several exit orders for the same entry like this: if (CurrentContracts = 10) then Sell ("XL 1") 2 con...
by JoshM
16 Apr 2016
Forum: MultiCharts
Topic: Sync autotrader between broker and strategy/chart
Replies: 26
Views: 3469

Re: Sync autotrader between broker and strategy/chart

Is there an automatic workaround for this issue yet if I am using multiple strategies and trading one security? I do not see a thread that leads me to believe this issue has been resolved. Thanks. is the solution to this issue to combine all the different strategies into a single strategy? Obviousl...
by JoshM
13 Apr 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

I hope that's all anyway, I would pay to have this tool up and running again its absolutely essential. I don't know since I haven't made this part of the tool; the Java-based downloader is made by Nicolas. I'm glad to see that this 4+ year old tool is still being used, and that also makes it an eff...
by JoshM
12 Apr 2016
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 2241

Re: Draw a text box at a fixed position on a chart

Ok JosH, I try this code : var: intrabarpersist TimeLastBar(0), intrabarpersist Counter(0); counter=counter+1; TimeLastBar=GetAppInfo(aiRightDispDateTime); messagelog(numtostr(Counter,0)," Time ",TimeLastBar); RecalcLastBarAfter(1); you will see that time resolution is lower than Time_s a...
by JoshM
12 Apr 2016
Forum: MultiCharts
Topic: Help with strategy [SOLVED]
Replies: 7
Views: 996

Re: Help with strategy [SOLVED]

That global variable you talking about. What is it and is it difficult to build? It's quite easy actually. There are several functions in the PowerLanguage Editor by default that start with GV. You can one of those functions to send data to another script: // Send data to another script GVSetNamedD...
by JoshM
12 Apr 2016
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 2241

Re: Draw a text box at a fixed position on a chart

But when you scroll back you chart you lose your text. You can use `GetAppInfo(aiLeftDispDateTime)` (or `GetAppInfo(aiRightDispDateTime)`) to get the lime from the outmost left (right) bar on the chart as the location for the text box. Then, with `RecalcLastBarAfter()`, the script can be updated ev...
by JoshM
12 Apr 2016
Forum: MultiCharts
Topic: Help with strategy [SOLVED]
Replies: 7
Views: 996

Re: Help with strategy [SOLVED]

What I am trying to do is to have the strategy check with signals from other charts ( 30 minutes, Daily etc) before firing up a signal. Does anyone know know how to do that without opening multiple charts for each market? The way I understand you, this isn't possible. You'll need to open multiple c...
by JoshM
11 Apr 2016
Forum: User Contributed Studies and Indicator Library
Topic: The Economic Events Collection for MultiCharts
Replies: 131
Views: 27416

Re: The Economic Events Collection for MultiCharts

OZ Trade wrote:Any idea when the Downloader.exe will updated to fix this?

Problem for identification of hour in: <td class="calendar__cell calendar__time time">1:30am</td>

I don't know since I haven't made this part of the tool; the Java-based downloader is made by Nicolas.
by JoshM
05 Apr 2016
Forum: MultiCharts
Topic: In Easylanguage, how do I get the session timing that is in [SOLVED]
Replies: 3
Views: 437

Re: In Easylanguage, how do I get the session timing that is [SOLVED]

For example in here, the session timing is set from 0800-2200 I wanted to place a signal in this instrument and find out the session time of the instrument. I tried using print(NumToStr(sessionstarttime(1,1),0)) and it will give me 0005-2355 which is the session time in quotemanager. It's not possi...
by JoshM
01 Apr 2016
Forum: MultiCharts .NET
Topic: Set/Get PlotValue across two indicators? [SOLVED]
Replies: 8
Views: 1883

Re: Set/Get PlotValue across two indicators? [SOLVED]

I must be doing something wrong, or not understanding something because the value I get back is always 0. (...) Both indicators are on the same chart. It also doesn't work on my end in MultiCharts .NET64 Version 9.1 Release (Build 12064). I'm not sure why it doesn't work; if I recall correctly, it ...
by JoshM
31 Mar 2016
Forum: MultiCharts .NET
Topic: Set/Get PlotValue across two indicators? [SOLVED]
Replies: 8
Views: 1883

Re: Set/Get PlotValue across two indicators? [SOLVED]

Can Set/Get PlotValue be used to access a variable (double) between two indicators? Yes, it's no problem to use `StrategyInfo.GetPlotValue()` and `StrategyInfo.SetPlotValue()` between indicators, despite having to access it through `StrategyInfo`. You can also use those methods to communicate data ...
by JoshM
30 Mar 2016
Forum: MultiCharts
Topic: keine Ausführung
Replies: 1
Views: 405

Re: keine Ausführung

Can you post your questions in English? Sometimes it's hard enough already for forum members to understand and hear each other; if we start communicating in our native languages it becomes much harder. Don't worry about writing good English though; as long as it's clear we'll understand it. Google t...
by JoshM
28 Mar 2016
Forum: MultiCharts
Topic: stop bar by bar
Replies: 10
Views: 891

Re: stop bar by bar

You can try the "Channel Trailing LX / SX" Built-in Strategies Set the "Length" to 1 wo finde ich "Channel Rollier LX / SX Not sure if we're on the same page, but the built-in strategies suggested by iso are shown in your screenshot (see rectangle). http://www.multicharts.c...
by JoshM
25 Mar 2016
Forum: MultiCharts
Topic: Portfolio Manager Does Not Support Bar Magnification
Replies: 2
Views: 718

Re: Portfolio Manager Does Not Support Bar Magnification

Does anyone know more details about MC portfolio manager does not support bar magnification? Let's start with the good news about this feature: - There's a popular feature request for it here , and it's probably one of the most wished-for features. There's also some bad news, however: - The feature...
by JoshM
21 Mar 2016
Forum: MultiCharts
Topic: Scanner [SOLVED]
Replies: 4
Views: 723

Re: Scanner [SOLVED]

I want to follow with this indicator on 25 forex pairs Daily time frame, so obviously with different support and resistance levels. I thought the scanner was the best solution but if I am right I cannot set the same indicator with different inputs on different instruments, so I would have to create...
by JoshM
21 Mar 2016
Forum: MultiCharts
Topic: Custom Fitness Function over a Specific Optimization Period [SOLVED]
Replies: 1
Views: 629

Re: Custom Fitness Function over a Specific Optimization Per [SOLVED]

How do I modify the code below so that I can specify the custom fitness function from June 1, 2008 to April 23, 2009? Let's say that I want minimum profit of $1,000 from June 1, 2008 to April 23, 2009 during my optimization from 2000 to 2016. That Javascript-like code that you're trying to use here...
by JoshM
21 Mar 2016
Forum: MultiCharts .NET
Topic: Limit consecutive bars down to exact number. [SOLVED]
Replies: 2
Views: 1271

Re: Limit consecutive bars down to exact number. [SOLVED]

Can the study be modified to fire the alert on the set number then stop until reset by an equal or higher close? You can use a variable that's toggled when the alert has been generated already, and that's then turned off so that subsequent alerts cannot be triggered (unless this variable is reset a...
by JoshM
19 Mar 2016
Forum: MultiCharts
Topic: search Skript For Gap
Replies: 4
Views: 597

Re: search Skript For Gap

Jimmyrakete wrote:I can not these function create

Please read TJ's how to get help topic. It might be the topic that helps you the most, now and in the future.
by JoshM
19 Mar 2016
Forum: MultiCharts
Topic: search Skript For Gap
Replies: 4
Views: 597

Re: search Skript For Gap

Jimmyrakete wrote:search Skript For Gap

Gap > 4%
Entry +1 Tick about High 5 Minutes Bar

What is your question or what is it that you need help with?
by JoshM
18 Mar 2016
Forum: MultiCharts
Topic: Trading Performance Report (TPR)
Replies: 5
Views: 908

Re: Trading Performance Report (TPR)

And is often not exactly accurate. Especially the capturing of the entryprice and exitprice is sometimes a bit off. This is because I needed a workaround to get the right entrytime and exittime and not the end of bar time which is used by the entryprice and exitprice reserved words. (this is also t...
by JoshM
18 Mar 2016
Forum: MultiCharts
Topic: Different multipliers when merging historical with RT data
Replies: 5
Views: 795

Re: Different multipliers when merging historical with RT da

I think I still have a problem when it relates to the automated stop losses or profit targets. Then again I could just code those out manually and handle them.... That's true, `SetStopLoss()` and `SetProfitTarget()` make our live most of the time easier, but they lack flexibility (like specifying a...
by JoshM
18 Mar 2016
Forum: MultiCharts
Topic: Trailing Stop and Bar Magnifier
Replies: 1
Views: 439

Re: Trailing Stop and Bar Magnifier

When I do a Long entry with a Trailing Stop, how can I get the "Trail" to adjust itself according every time the Bid price changes within the 5 minute Bid bar? Right now I am only able to get the "Trail" to adjust itself accordingly if the Bid price at the close of the 5 minute ...
by JoshM
18 Mar 2016
Forum: MultiCharts
Topic: Possible to Optimize with data that can't fit on chart? [SOLVED]
Replies: 2
Views: 632

Re: Possible to Optimize with data that can't fit on chart? [SOLVED]

See post #6 (6) [FAQ] Maximum number of Bars on Chart https://www.multicharts.com/discussion/viewtopic.php?f=16&t=6845 That's not applicable here, I think. Over 1 year of tick data is probably not 100+ million bars, unless we have a 1-tick chart of ES or something. But M747 talks about MultiCha...
by JoshM
17 Mar 2016
Forum: MultiCharts
Topic: stop bar by bar
Replies: 10
Views: 891

Re: stop bar by bar

under bar low no Trailing Stop No always Low last bar Well that can be coded in PowerLanguage of course, but you're not looking for a programming solution, right? (Since you say "how can I start it", which sounds to me that you're looking for a button or option). There's no such exit stra...
by JoshM
17 Mar 2016
Forum: MultiCharts
Topic: stop bar by bar
Replies: 10
Views: 891

Re: stop bar by bar

Jimmyrakete wrote:where can I find a stop bar by bar

and how can I start it

What is a 'stop bar by bar' feature? I cannot find it with Google.

Normally, stops in MultiCharts are already 'bar by bar' as long as they're submitted and a new price bar forms. Are you looking for that or for something else?
by JoshM
17 Mar 2016
Forum: MultiCharts
Topic: EL Programming
Replies: 2
Views: 708

Re: EL Programming

Does this version offer full EL compatibility? I'm thinking of trying again to build some autotrading systems but EL is all I know. PowerLanguage offers compatibility for a large part of EasyLanguage. Some EasyLanguage keywords that are also available in PowerLanguage (like those related to options...
by JoshM
16 Mar 2016
Forum: MultiCharts
Topic: Different multipliers when merging historical with RT data
Replies: 5
Views: 795

Re: Different multipliers when merging historical with RT da

Along the same lines is it possible to make this kind of adjustment for trading? For example if one data feed returns the price for Orange Juice futures as 122.10, but my broker uses 1.2210, how can I automate trading without ending up with orders sent as 122.10 (which will never fill)? By diving p...
by JoshM
16 Mar 2016
Forum: MultiCharts
Topic: Rejected orders at market close
Replies: 10
Views: 1016

Re: Rejected orders at market close

2. Is there any way to limit the number of resubmissions of the order to say 3? This probably is possible. But how, that depends on what you mean: - are these 'resubmissions' the number of orders that are triggered per time period (like three order attempts per day max), - or the number of trades s...
by JoshM
16 Mar 2016
Forum: MultiCharts
Topic: Trading Performance Report (TPR)
Replies: 5
Views: 908

Re: Trading Performance Report (TPR)

Is there an overview or an overall TPR of all the strategies that are in use on different charts combined. Not that I know, unfortunately. And if there is no overall overview, is it possible to get data from the TPR with Powerlanguage, so I can write my own overall TPR mechanisme with GV or somethi...
by JoshM
14 Mar 2016
Forum: MultiCharts .NET
Topic: Real usage of VariableObject
Replies: 5
Views: 1541

Re: Real usage of VariableObject

The only idea I have after considering this is that if using ordinary int in this case, the problem would come up at real-time trading, cause the int m_counter would be recalculated on every tick, while you need it to be +1 after every bar that close is higher than given MA. That's true, but I thin...
by JoshM
14 Mar 2016
Forum: MultiCharts .NET
Topic: Real usage of VariableObject
Replies: 5
Views: 1541

Re: Real usage of VariableObject

Can anyone explain why we create m_counter variable as private VariableObject, but not as simple int in this case? It would work the sme way, but why to use something that make code less readable? I am sure there is a reason here and think if I get it so I get the functionality of the VariableObjec...
by JoshM
14 Mar 2016
Forum: MultiCharts .NET
Topic: Newbie question about AverageFC [SOLVED]
Replies: 3
Views: 2091

Re: Newbie question about AverageFC [SOLVED]

So I completely do not understand where it calculates the moving Average. I see no method for this here. Where does it happen at all? I suppose you use an external IDE like Visual Studio? I also don't see that function's code in Visual Studio. But in the PowerLanguage .NET Editor, the `AverageFC` f...
by JoshM
13 Mar 2016
Forum: MultiCharts
Topic: Sharpe ratio
Replies: 2
Views: 515

Re: Sharpe ratio

Is it possible to supply a file with risk free returns for getting more accurate Sharpe ratio calculations? For example in the 80s the risk free rate was high but now it is nearly 0. If you code the Sharpe ratio yourself it's possible to use different risk-free interest rates for different periods....
by JoshM
12 Mar 2016
Forum: MultiCharts
Topic: Alert on strategy order filled
Replies: 6
Views: 821

Re: Alert on strategy order filled

andrei wrote:(..) you need to configure an indicator to generate an alert (that can be an email), but you cannot do the same from a Strategy, isn't it?

Alerts for a strategy can be configured in the same way as indicator alerts are set. There's a wiki page about that here: strategy alerts.
by JoshM
09 Mar 2016
Forum: MultiCharts
Topic: Better_Trin indicator
Replies: 6
Views: 636

Re: Better_Trin indicator

I would also modify the following lines: IssRatio = (( Advn_NY data2 + Advn_Q data4 ) / (Decl_NY data3 + Decl_Q data5 )); VolRatio = ((Upvol_NY data6 + UpVol_Q data8 ) / (DnVol_NY data7 + DnVol_Q data9 )); Since this is an unmotivated advice, I can only guess, but I don't think this is a good advic...
by JoshM
09 Mar 2016
Forum: MultiCharts
Topic: how to exit only one contract for multiple contracts setting [SOLVED]
Replies: 5
Views: 569

Re: how to exit only one contract for multiple contracts set [SOLVED]

Hi I allow multiple entry for my signal. let say i buy this bar at close 4 times at 4 different timing and now my net position is 4. If I has a code saying sell this bar at close, then it will sell all 4. How do I sell 1 by 1 instead of all 4? Thanks but it don't really work. I have your code and i...
by JoshM
08 Mar 2016
Forum: MultiCharts
Topic: Arrows and ticks crowding chart [SOLVED]
Replies: 5
Views: 663

Re: Arrows and ticks crowding chart [SOLVED]

@TJ I like to have the signal with status on, so that I can start autotrading with one mouseclick. You can also change the formatting of the arrow and ticks from the signal; the signal doesn't need to be turned off with the Status button. Right-click the chart, and choose 'Format Signals'. Then sel...
by JoshM
08 Mar 2016
Forum: MultiCharts
Topic: Trading perfomance report error
Replies: 6
Views: 837

Re: Trading perfomance report error

?? I also don't know how your MultiCharts version affects this. What you can try is to move the folders that are in the 'C:\ProgramData\TS Support\MultiCharts64\TradingCenter\' folder to another location. That might 'reset' the position history and strategy orders, triggering MultiCharts to regener...
by JoshM
04 Mar 2016
Forum: MultiCharts
Topic: 9.1 r3, incorrect Max numb bars study will ref [SOLVED]
Replies: 5
Views: 571

Re: 9.1 r3, incorrect Max numb bars study will ref [SOLVED]

Now add check arrays, have same result, indicator drawing after 120 bars if myTHB > myTLB and maxlist(myTLB,myTHB) < CurrentBar then begin SetPlotColor[myTHB](1,Red); SetPlotWidth[myTHB](1,6); end; How I see this operator change Max numb bar study will ref, this not critical but not comfortably ? I...

Go to advanced search