Search found 178 matches

by darob
11 Sep 2019
Forum: MultiCharts .NET
Topic: Help a newbie - What is this error popup trying to tell me? [SOLVED]
Replies: 2
Views: 59

Re: Help a newbie - What is this error popup trying to tell me? [SOLVED]

Hi John I'm no expert but with VP indicators I've found adding recalculate after TimeSpan gets the indicator going without having to toggle it.
Screen Shot 2019-09-11 at 7.27.57 AM.png
Screen Shot 2019-09-11 at 7.27.57 AM.png (20.37 KiB) Viewed 32 times
by darob
26 Jul 2019
Forum: MultiCharts .NET
Topic: Offset bar opens and closes [SOLVED]
Replies: 3
Views: 124

Re: Offset bar opens and closes [SOLVED]

Hi Henry, it seems to be working ok for my purposes at 10 min res.
The "thanks" button is missing in my forum browser for some reason, so... Thanks!
by darob
25 Jul 2019
Forum: MultiCharts .NET
Topic: Offset bar opens and closes [SOLVED]
Replies: 3
Views: 124

Re: Offset bar opens and closes [SOLVED]

I've set up a custom session, but the minimum increment available seems to be a minute. Can it be adjusted somehow to use seconds? I've also looked at the custom resolution manager but that's over my head.

Thanks for any input
by darob
25 Jul 2019
Forum: MultiCharts .NET
Topic: Offset bar opens and closes [SOLVED]
Replies: 3
Views: 124

Offset bar opens and closes [SOLVED]

Hi, I’d like to offset charts by a selectable number of seconds, ie use a standard bar resolution like 5 or 10 min, but cheat the open and close ahead of the clock time. (They would still be full 5 or 10 min bars.)

Is this doable?

Many thanks
by darob
14 Jun 2019
Forum: MultiCharts .NET
Topic: auto-attached exit strategy issue when manual trading
Replies: 2
Views: 194

Re: auto-attached exit strategy issue when manual trading

Hi Anna, I'm using MC.NET64 V. 12 Bld 18187 and TWS 972.1t I should have added there’s often an error mssge “your order was repriced so as not to cross a related resting order”. The result is the position is partly stopped out and the balance is unprotected. I don’t have screenshots bc I’m scramblin...
by darob
10 Jun 2019
Forum: MultiCharts
Topic: Creating strategies without code [SOLVED]
Replies: 1
Views: 234

Re: Creating strategies without code [SOLVED]

Hi orad, in your example you'd load the prebuilt MovAvg2Line_Cross_LE (SE), Stop_Loss and Percent_Trailing signals. Then enter the MA, stoploss, percent trailing and trigger (FloorAmt) inputs. The MA crossover triggers entry and the fill activates the stoploss and if/when the trade advances by the f...
by darob
27 May 2019
Forum: MultiCharts .NET
Topic: realtime history matching improvement idea [SOLVED]
Replies: 2
Views: 185

Re: realtime history matching improvement idea [SOLVED]

I love what Portfolio Trader has done for my trading. It really has taken it to the next level, but every time you edit and recompile a signal or add a new one to a strategy, realtime history matching gets enabled again.
by darob
27 May 2019
Forum: MultiCharts .NET
Topic: realtime history matching improvement idea [SOLVED]
Replies: 2
Views: 185

realtime history matching improvement idea [SOLVED]

When you turn off realtime history matching it should remain off until you turn it on again
by darob
16 May 2019
Forum: MultiCharts .NET
Topic: auto-attached exit strategy issue when manual trading
Replies: 2
Views: 194

auto-attached exit strategy issue when manual trading

Hi, Has anyone else experienced bizarre fills/cancellations at IB when using auto-attached OCO brackets when manual trading? Waiting for the position to fill before applying the exit strategy seems to eliminate the problem but I don’t consider that an ideal solution. I see optimize orderflow control...
by darob
15 May 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

Hi Henry, I've sent you the code etc. I've also managed to get this to work for my purposes by offsetting the calculation 1 bar so that when the once per bar alert fires I in fact have the close I'm waiting for. Obviously it would be good to understand why this is necessary.

Thanks
by darob
29 Apr 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

Hi Abhi and Henry. Was this ever solved? When volume profile is enabled I’ve found that alerts involving vp levels don’t always fire when set to bar close, but when set to once per bar they do. Is this by design? (I’m referring only to setups that are valid at bar close.)
by darob
25 Apr 2019
Forum: MultiCharts
Topic: Power Language-Chart Trading Panel extension
Replies: 13
Views: 433

Re: Power Language-Chart Trading Panel extension

yes it's quiet over there.. seriously though if none of the indicators are helping you stay in your trades an accessible button probably won't work either. Have you considered automating your exits?
by darob
23 Apr 2019
Forum: MultiCharts
Topic: Power Language-Chart Trading Panel extension
Replies: 13
Views: 433

Re: Power Language-Chart Trading Panel extension

Hi syswizard, sounds like you want .net with its access to toolbar controls.
by darob
09 Apr 2019
Forum: MultiCharts .NET
Topic: bars not closing [SOLVED]
Replies: 5
Views: 372

Re: bars not closing [SOLVED]

Hi Henry, I’m a bit gun-shy after that experience. I usually monitor feedback before installing upgrades but I was interested in some of the improvements in the change log so I jumped in. I’ll wait a bit, but thanks for addressing this so quickly.
by darob
04 Apr 2019
Forum: MultiCharts .NET
Topic: bars not closing [SOLVED]
Replies: 5
Views: 372

Re: bars not closing [SOLVED]

Hi Henry, I use IB. It was obvious when the first 5 min bar was still active 10 min after the open. I also have plots in the scanner that are supposed to reset after the first bar close and none of them reset. I've trashed the VM with the update and have been using the previous one and am having no ...
by darob
04 Apr 2019
Forum: MultiCharts .NET
Topic: bars not closing [SOLVED]
Replies: 5
Views: 372

bars not closing [SOLVED]

Haven't got time to dig into this, but I'm rolling back MC 12 to v5 bc bars aren't closing in live markets. 10 min in and none of the first 5 min bars on the chart or scanner had yet closed.

edit: this is why I do a full backup before every upgrade!!
by darob
25 Mar 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

Hi Abhi, I thought I’d suggest it because as a novice and for the practice I built the VA_Min_Max indicator that Multicharts has provided and found it works when first applied to a chart, but when I change instruments on the chart it doesn’t reload unless the status button in the format indicators d...
by darob
22 Mar 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

Hi Abhi, I've got one more suggestion (and that's it, promise :wink: ) The indicator recalculates after a profile change, but maybe this isn't frequent enough to fire the alert. You could try adding a time-based recalculation in CalcBar():
Screen Shot 2019-03-22 at 10.29.24 AM.png
Screen Shot 2019-03-22 at 10.29.24 AM.png (11.04 KiB) Viewed 845 times
by darob
15 Mar 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

The other thing I'm wondering is if Bars.Close should be first in the expression ie this.CrossesOver(Bars.Close, VPOCDoubleSeries).
by darob
15 Mar 2019
Forum: MultiCharts .NET
Topic: Indicator does not generate alert when price crosses VPOC
Replies: 18
Views: 921

Re: Indicator does not generate alert when price crosses VPOC

if ( this.CrossesOver(VPOCDoubleSeries,Bars.Close) || this.CrossesUnder(VPOCDoubleSeries,Bars.Close))
{

Hi, I may be all wet, but is Bars.Close just the last traded price when UpdateEveryTick is set to true, and therefore never crossed?
by darob
11 Mar 2019
Forum: User Contributed Studies
Topic: Improved Position Size Calculator
Replies: 0
Views: 143

Improved Position Size Calculator

This updated calculator runs in the multicharts.net scanner/watchlist and provides on-the-fly position sizes for trading securities based on user funding inputs and the last traded price.

This version does away with the decimals and has options to round to the nearest 100 shares or show oddlots.
by darob
25 Feb 2019
Forum: MultiCharts .NET
Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Replies: 6
Views: 471

Re: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]

've set "m_Zigzag_curExtreme", "m_Zigzag_preExtreme" and "m_Zigzag_pr2Extreme" to "0" in "StartCalc". :P

That was what I was getting at, sorry I can't be of further help. Good luck.
by darob
25 Feb 2019
Forum: MultiCharts .NET
Topic: Unexpected informational data series effect in Portfolio Trader [SOLVED]
Replies: 1
Views: 284

Unexpected informational data series effect in Portfolio Trader [SOLVED]

Hi, I’ve found that introducing a 2nd data series (in this case 60 min SPY) to Portfolio Trader affects backtesting even when the data series isn’t referenced in the code. There's no MMS being used. Also toggling Realtime-History Matching on/off makes no difference. What would account for this? Many...
by darob
23 Feb 2019
Forum: MultiCharts .NET
Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Replies: 6
Views: 471

Re: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]

Hi Jobauma, this seems very cryptic to me as the details in your posts are a bit thin, but I’ve had an issue where an indicator loaded correctly initially only to fail on refresh and it was because I hadn’t declared initial values in StartCalc().
by darob
04 Feb 2019
Forum: MultiCharts .NET
Topic: finding a high/low in a double series [SOLVED]
Replies: 1
Views: 271

Re: finding a high/low in a double series [SOLVED]

Dropping Low and High did it, as that's obviously related to bar construction and nothing to do with macd :[

double macdLow = mymacd.Lowest(range, 0) seems to be working
by darob
04 Feb 2019
Forum: MultiCharts .NET
Topic: finding a high/low in a double series [SOLVED]
Replies: 1
Views: 271

finding a high/low in a double series [SOLVED]

Hi, I'd like to identify a macd high and low across a range of bars per this example, but Low.Lowest/High.Highest isn't working for this type of variable. Can anyone suggest what I should be doing? Many thanks protected override void CalcBar(){ double multiBarLow = Bars.Low.Lowest(range, 0); double ...
by darob
30 Jan 2019
Forum: MultiCharts
Topic: Historical vs Streaming Analysis
Replies: 13
Views: 461

Re: Historical vs Streaming Analysis

Hi Joebone, Bars built from ticks arriving at your computer can’t be expected to exactly match historical bars from the data provider due to the nature of the internet, routing, computer system time, etc, and the differences you’ve observed become more apparent as the resolution gets higher. I think...
by darob
28 Jan 2019
Forum: MultiCharts .NET
Topic: auto-attached exit strategies behavior improved
Replies: 1
Views: 183

Re: auto-attached exit strategies behavior improved

The first session after installing the update still had the previous session's auto-attached statuses, but now it's back to the old "un-remembered" behavior.
by darob
25 Jan 2019
Forum: MultiCharts .NET
Topic: auto-attached exit strategies behavior improved
Replies: 1
Views: 183

auto-attached exit strategies behavior improved

It’s looking like an auto-attached exit strategy is associated with the chart now with this update, or else remembered for each instrument across sessions. This is great, premarket’s much easier. Thanks MC.
by darob
22 Jan 2019
Forum: MultiCharts .NET
Topic: Color.FromArgb() Alpha parameter useless ? [SOLVED]
Replies: 6
Views: 2360

Re: Color.FromArgb() Alpha parameter useless ? [SOLVED]

A working alpha channel would enable highlighting intersections of indicators
+1 for this feature
by darob
13 Jan 2019
Forum: MultiCharts .NET
Topic: auto position sizing
Replies: 3
Views: 260

Re: auto position sizing

Hi rockaphonics, this calculator lets you define the capital you want to risk per trade and calculates the maximum number of shares you can trade at the current price. I round down if I don't want to trade odd lots. It's pretty basic and meant to be used with a manual trading preset tuned to your ri...
by darob
12 Jan 2019
Forum: MultiCharts .NET
Topic: auto position sizing
Replies: 3
Views: 260

Re: auto position sizing

Hi rockaphonics, have you looked at the position size calculator in the contributed studies? It calculates based on current price. How do you place your stop? I could add an offset option based on average true range or something.
by darob
09 Jan 2019
Forum: MultiCharts .NET
Topic: assigning left and right price scale [SOLVED]
Replies: 2
Views: 248

Re: assigning left and right price scale [SOLVED]

Actually I'm liking this as it is for the ability to view higher res candles with the low res markers and easily switching it from the status line.
by darob
09 Jan 2019
Forum: MultiCharts .NET
Topic: assigning left and right price scale [SOLVED]
Replies: 2
Views: 248

Re: assigning left and right price scale [SOLVED]

I've got the indicator and price markers on separate scales now by re-inserting the instrument as data 2, but the status line now displays everything in duplicate :[ Hope someone can advise me on the correct way to set this up. Many thanks.
by darob
09 Jan 2019
Forum: MultiCharts .NET
Topic: assigning left and right price scale [SOLVED]
Replies: 2
Views: 248

assigning left and right price scale [SOLVED]

Hi. Can someone advise how to get indicator markers only on the left scale and current price only on the right? I can't for the life of me figure it out.
Thanks.
Screen Shot 2019-01-09 at 10.35.59 AM.png
Screen Shot 2019-01-09 at 10.35.59 AM.png (115.59 KiB) Viewed 248 times
by darob
22 Dec 2018
Forum: MultiCharts .NET
Topic: Indicators not Loading after a Rally Long Time
Replies: 7
Views: 502

Re: Indicators not Loading after a Rally Long Time

A quick work-around is to save your workspace, open a new empty workspace, close your usual workspace, change the data server preference, then open your usual workspace again. I agree the process could be improved.

Cheers
by darob
04 Dec 2018
Forum: MultiCharts .NET
Topic: Environment.IsAutoTradingMode problem [SOLVED]
Replies: 1
Views: 251

Re: Environment.IsAutoTradingMode problem [SOLVED]

I initially had this on the same script that sent the orders and that appears to have been the problem. Now I have it as a separate strategy and it's working.
by darob
30 Nov 2018
Forum: MultiCharts .NET
Topic: Environment.IsAutoTradingMode problem [SOLVED]
Replies: 1
Views: 251

Environment.IsAutoTradingMode problem [SOLVED]

I have an alert in an autotrading signal that should fire only when autotrading is on, there is no open position and conditions no longer support taking a position. But when I use Environment.IsAutoTradingMode in my code the alert doesn’t fire at all, ever. When I remove it, the alert fires regardle...
by darob
24 Nov 2018
Forum: MultiCharts .NET
Topic: trendline alert question [SOLVED]
Replies: 1
Views: 210

Re: trendline alert question [SOLVED]

Unsurprisingly this exact question is answered in one of Jos’ tradingcode articles by using Alert.Alert() instead of EAlertType. Great resource, Jos, thank you.
by darob
23 Nov 2018
Forum: MultiCharts .NET
Topic: trendline alert question [SOLVED]
Replies: 1
Views: 210

trendline alert question [SOLVED]

Hi,
With trendline alerts in a script, is there a way to direct EAlertType.BreakoutIntrabar to fire only once per bar? I've tried BreakoutOnClose, but that doesn't seem to work when the bar high or low crosses but not the close.

Thanks a lot, cheers
by darob
20 Nov 2018
Forum: MultiCharts .NET
Topic: Change instrument dropdown quantity
Replies: 1
Views: 180

Change instrument dropdown quantity

Hi,
For trading efficiency I'd like to reduce the status line instrument dropdown list to 5 from the current 10. Is this possible?

Thanks

Edit: trying to avoid accidentally triggering pacing violations
by darob
27 Oct 2018
Forum: MultiCharts .NET
Topic: Position closed alert not working [SOLVED]
Replies: 1
Views: 263

Position closed alert not working [SOLVED]

Hi, I've been trying to get an alert to fire when an autotraded position is closed but I'm having no luck. Below are two efforts. Can anyone offer suggestions? Many thanks. using System; namespace PowerLanguage.Strategy { [IOGMode(IOGMode.Enabled)] public class Position_Closed_Alert : SignalObject {...
by darob
13 Oct 2018
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 12.0 RELEASE 3
Replies: 8
Views: 846

Re: MULTICHARTS .NET 12.0 RELEASE 3

Ok, thanks Anna. This isn't practical if you're scanning dozens of stocks for your setup, so I guess I'll place a feature request. Best regards.
by darob
11 Oct 2018
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 12.0 RELEASE 3
Replies: 8
Views: 846

Re: MULTICHARTS .NET 12.0 RELEASE 3

Hi Anna, sorry I'm still confused. The status is forgotten when Multicharts is closed, which is what I have observed. So how do you save the statuses permanently with the workspace? This sounds like what I'm after but I haven't been able to do it. The strategy settings are saved, no issue there, jus...
by darob
10 Oct 2018
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 12.0 RELEASE 3
Replies: 8
Views: 846

Re: MULTICHARTS .NET 12.0 RELEASE 3

Hi Henry, It’d be great to be able to permanently auto-attach an exit strategy to a chart but it seems to unattach when the instrument is changed and I don’t always remember to attach it again. In fast markets this can be a problem. I’m open to the possibility I’m using it wrong or have overlooked s...
by darob
10 Oct 2018
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 12.0 RELEASE 3
Replies: 8
Views: 846

Re: MULTICHARTS .NET 12.0 RELEASE 3

Edit: the exit strategy is remaining associated with the security now, I don't know why it seemed to behave differently earlier. Sorry. Still would like to see an option to associate the strategy with the chart and I'll eventually file a feature request. Thanks. Hi Henry, exit strategies aren't bein...
by darob
21 Sep 2018
Forum: MultiCharts .NET
Topic: Accessing text on screen
Replies: 3
Views: 439

Re: Accessing text on screen

Hi A13cs fwiw you can change plot colors under defined conditions. (This is probably obvious and I bet you're already doing it.)
by darob
20 Jul 2018
Forum: MultiCharts .NET
Topic: Charts lagging in windows 10 [SOLVED]
Replies: 6
Views: 814

Re: Charts lagging in windows 10 [SOLVED]

Hi snoop, adding the data provider's process to the exclusions had the biggest impact, if this is any help. The antimalware service will still be running as it should.
by darob
17 Jul 2018
Forum: MultiCharts .NET
Topic: Charts lagging in windows 10 [SOLVED]
Replies: 6
Views: 814

Re: Charts lagging in windows 10 [SOLVED]

Thanks Svetlana, this is a big improvement.
by darob
15 Jul 2018
Forum: MultiCharts .NET
Topic: Charts lagging in windows 10 [SOLVED]
Replies: 6
Views: 814

Re: Charts lagging in windows 10 [SOLVED]

Adding MultiCharts64.exe and tws.exe as exclusions removes the lag. Is this advisable?
Thanks.
by darob
13 Jul 2018
Forum: MultiCharts .NET
Topic: Charts lagging in windows 10 [SOLVED]
Replies: 6
Views: 814

Re: Charts lagging in windows 10 [SOLVED]

It's the Antimalware service. When I switch it off instrument switching speeds right up. I have to figure out how to exclude MC from the service.
by darob
12 Jul 2018
Forum: MultiCharts .NET
Topic: Charts lagging in windows 10 [SOLVED]
Replies: 6
Views: 814

Charts lagging in windows 10 [SOLVED]

Hi, I’m comparing MC 11.0 build 16153 in Windows 7 and Windows 10. What I’m finding is a scanner linked to 3 charts—5 min, 30 min and daily—switches instruments in the charts almost instantly in Windows 7 (the daily occasionally lagging a bit) but in Windows 10 there’s a long pause, maybe 4 seconds,...
by darob
28 Jun 2018
Forum: MultiCharts
Topic: Scanner - show more than 1 resolution on a single line?
Replies: 3
Views: 305

Re: Scanner - show more than 1 resolution on a single line?

Not a great solution but maybe choose one resolution and for the others apply the indicator a 2nd (3rd etc) time with inputs adjusted by a factor correlating to your desired resolution.
by darob
07 Jun 2018
Forum: MultiCharts .NET
Topic: Sort scanner instruments by alert time [SOLVED]
Replies: 1
Views: 379

Re: Sort scanner instruments by alert time [SOLVED]

Ha, just added "hh:mm" between the brackets to force 2-digit time, and it's also dropped the date which was superfluous.
by darob
07 Jun 2018
Forum: MultiCharts .NET
Topic: Sort scanner instruments by alert time [SOLVED]
Replies: 1
Views: 379

Sort scanner instruments by alert time [SOLVED]

Hi, I’m trying to keep my watchlist sorted according to alert time , the last fired alert on top, but as you can see the sort starts messing up when the hr goes from 1 to 2 digits. Is there a way to format this so this works consistently? Thanks.
by darob
11 May 2018
Forum: MultiCharts .NET
Topic: MC-PT naming bug [SOLVED]
Replies: 4
Views: 662

Re: MC-PT naming bug [SOLVED]

The solution is don't select any auto-complete proposals when doing Save Workspace As...
by darob
09 May 2018
Forum: MultiCharts .NET
Topic: MC-PT naming bug [SOLVED]
Replies: 4
Views: 662

Re: MC-PT naming bug [SOLVED]

Hi Henry, I'll follow this up with tech support. Something's corrupting somewhere--the PT workspace opened as I described and using file>Open Workspace in MC the workspace being opened has the PT extension although it is in fact the MC workspace.
by darob
09 May 2018
Forum: MultiCharts .NET
Topic: MC-PT naming bug [SOLVED]
Replies: 4
Views: 662

MC-PT naming bug [SOLVED]

So if you lose your mind and save an MC.NET workspace with the same name as a PT portfolio, the next time you open the portfolio it'll have no strategies or instruments.
by darob
04 May 2018
Forum: User Contributed Studies
Topic: Function to provide S&P500 index
Replies: 2
Views: 607

Re: Function to provide S&P500 index

Hi Felix, thanks so much for sharing this. I just need something like this to work in a 5 min timeframe. Are you willing to offer an opinion on that possibility? Of course I understand if not.

Alternatively, if MC added secondary data series functionality to the scanner that would be awesome.
by darob
04 Apr 2018
Forum: MultiCharts .NET
Topic: Chaos Fractal
Replies: 4
Views: 738

Re: Chaos Fractal

Hi Abhi, I’m no programming expert and Henry’s offer is obviously the better option, but I’ve noticed the .net code is using a swing H/L function and the easylanguage a pivot H/L. Don’t know how they compare but .net also has a pivot H/L function (check out the canned Pivot_High/Pivot_Low indicators...
by darob
01 Apr 2018
Forum: MultiCharts .NET
Topic: Chaos Fractal
Replies: 4
Views: 738

Re: Chaos Fractal

Hi Abhi, if you go to the Format Indicator panel and change the style property from "Point" to "Line" it looks like your second example.
by darob
26 Jan 2018
Forum: MultiCharts
Topic: Chart resolution [SOLVED]
Replies: 6
Views: 669

Re: Chart resolution [SOLVED]

Right-click on instrument in scanner and select "Create chart window".
by darob
01 Dec 2017
Forum: MultiCharts
Topic: Time and Sales non-usability with IB data
Replies: 1
Views: 302

Time and Sales non-usability with IB data

Hi, I'm casting for votes if other IB traders want to use the Time and Sales tape with multiple instruments.
Thanks.
https://www.multicharts.com/pm/public/m ... es/MC-2354
by darob
19 Oct 2017
Forum: MultiCharts .NET
Topic: Breakeven strategy problem
Replies: 1
Views: 574

Breakeven strategy problem

Hi, I'm misunderstanding something about he breakeven exit strategy. I've got the master strategy bracket set at 20 and 10 ticks and the breakeven at 10 and 2, but regardless of the breakeven settings the trigger price is being set 1 cent from the order. This doesn't change when I change the breakev...
by darob
09 Oct 2017
Forum: User Contributed Studies
Topic: Position Size Calculator
Replies: 0
Views: 793

Position Size Calculator

I made this indicator to calculate position sizes for manually traded securities. “Semi” realtime—manually input available funds, percentage to trade and leverage (eg. for 3:1, input 3). When using in a scanner, format the style property to Number and 0 decimals. Edit: just noticed you can lose the ...
by darob
06 Oct 2017
Forum: MultiCharts .NET
Topic: Constrain time and sales to realtime data only [SOLVED]
Replies: 1
Views: 591

Constrain time and sales to realtime data only [SOLVED]

Is there any way to do this? I don't need historical data in a TS window. Switching instruments always seems to trigger pacing violations when I have a TS window open. What's the solution?

Many thanks
by darob
02 Oct 2017
Forum: MultiCharts .NET
Topic: Realtime History Matching switches on by itself in PT 11
Replies: 2
Views: 607

Re: Realtime History Matching switches on by itself in PT 11

It's saved, but I think I was just careless while consolidating strategies. Sorry. Edit: correction I've isolated the problem. Sometimes when doing a "Save as" and renaming the strategy the realtime history matching attribute resets to on. But again not always. It happened again this morning but whe...
by darob
29 Sep 2017
Forum: MultiCharts .NET
Topic: Realtime History Matching switches on by itself in PT 11
Replies: 2
Views: 607

Realtime History Matching switches on by itself in PT 11

After saving the property unselected it's always on again the next time Portfolio Trader is launched.
MC.NET64 v. 11.0.1497.400

Thanks

Edit: there's a random element to this; happens a lot but not always.
by darob
25 Sep 2017
Forum: MultiCharts
Topic: Always having RSI/%R value show in right scale (2 workaround solutions exist)
Replies: 9
Views: 810

Re: Putting RSI plot ahead of over bought/sold in right scale

In MC.Net deselecting the precise marker setting in the y-scale window preference pane keeps markers visible. Does standard MC have this option?
by darob
22 Sep 2017
Forum: MultiCharts .NET
Topic: Stop behavior when autotrading [SOLVED]
Replies: 3
Views: 815

Re: Stop behavior when autotrading [SOLVED]

Hi Henry IB is the broker. Entry is MarketNextBar and the stoploss and ATR trailing stop are transmitted at that time. Breakeven stop is transmitted when the floor amount is reached and they all work as an OCO group. I’m all in on entry (unless it’s a partial fill) and all out on exit and there’s no...
by darob
22 Sep 2017
Forum: MultiCharts .NET
Topic: Stop behavior when autotrading [SOLVED]
Replies: 3
Views: 815

Stop behavior when autotrading [SOLVED]

Hi

I’m running MC’s Stop_Loss, Breakeven_Stop and ATR_Trailing LX/SX in my strategies and they’re all cancelled and resubmitted on each bar close. Is this normal? I can understand why the trailing stop would do this, but the others?

Thanks
by darob
09 Aug 2017
Forum: MultiCharts .NET
Topic: Serious issue with Multi Time-frame synchronization [SOLVED]
Replies: 7
Views: 1814

Re: Serious issue with Multi Time-frame synchronization [SOLVED]

Hi Radekj, once you have history matching sorted out I think the condition that closes at highs/lows will match at different resolutions isn’t assured unless the code explicitly excludes non-matches. Best regards Edit: I see how with history matching off the not fully formed data2 bar should correla...
by darob
28 Jul 2017
Forum: MultiCharts .NET
Topic: Creating tools for manual trading
Replies: 3
Views: 847

Re: Creating tools for manual trading

Hi Orad, maybe this is too simple and not what you’re asking, but you could code or modify an indicator and have it plot a point on the chart at a price level you’re interested in. For example some of the supplied indicators plot points at the high or low of an alerted bar but you could change that ...
by darob
27 Jul 2017
Forum: MultiCharts .NET
Topic: tsServer.exe crashes frequently [SOLVED]
Replies: 4
Views: 1142

Re: tsServer.exe crashes frequently [SOLVED]

I’ve assigned more RAM to the VM. Task Manager previously showed 50% memory usage and now it’s at 40% and there’s been no crashes. I’ll send the logs if it happens again.

Thanks a lot
by darob
25 Jul 2017
Forum: MultiCharts .NET
Topic: tsServer.exe crashes frequently [SOLVED]
Replies: 4
Views: 1142

tsServer.exe crashes frequently [SOLVED]

Hi, when running MC.NET64 v10.0 Bld 14420 tsServer.exe will crash at least once every session or two. Obviously this is a nuisance. What is the solution?
Windows 7.
Thanks
Screen Shot 2017-07-25 at 9.42.36 AM.png
Screen Shot 2017-07-25 at 9.42.36 AM.png (26.12 KiB) Viewed 1142 times
by darob
06 Jun 2017
Forum: MultiCharts .NET
Topic: Dataloader issues
Replies: 7
Views: 1053

Re: Dataloader issues

Sorry I can't help you.
by darob
06 Jun 2017
Forum: MultiCharts .NET
Topic: Dataloader issues
Replies: 7
Views: 1053

Re: Dataloader issues

I'd try unchecking it and see if you get the behavior you want.
by darob
06 Jun 2017
Forum: MultiCharts .NET
Topic: Dataloader issues
Replies: 7
Views: 1053

Re: Dataloader issues

Hi beggar, do the times 11 am or 12:30 correspond to bar close times on any data series and is realtime history matching enabled?
by darob
15 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Re: Quote Manager RT data collection question [SOLVED]

Yes I got that. Henry, if you could please answer the following question yes or no we'll be good.
if you run PT and QM concurrently, are you trading and backtesting on the same locally built bars (up to the start of data collection in QM)?
by darob
12 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Re: Quote Manager RT data collection question [SOLVED]

Thanks for your patience Henry. So if you run PT and QM concurrently, are you trading and backtesting on the same locally built bars (up to the start of data collection in QM)?
by darob
05 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Re: Quote Manager RT data collection question [SOLVED]

Hi Henry, thanks for the explanations. So if I understand correctly there’s no point in collecting data in Quote Manager for symbols you want available for use in Portfolio Trader because it’ll get replaced by IB’s historical bars when they’re available? So how is data collected in Quote Manager mea...
by darob
03 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Re: Quote Manager RT data collection question [SOLVED]

I'm using IB via TWS (not Gateway) if that makes a difference. Thanks
by darob
02 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Re: Quote Manager RT data collection question [SOLVED]

Hi Henry, I’m interested in whichever ones match how Portfolio Trader receives data and builds its candles. I have strategies running on 3 minute and 15 minute data series.
by darob
01 May 2017
Forum: MultiCharts .NET
Topic: Quote Manager RT data collection question [SOLVED]
Replies: 11
Views: 1911

Quote Manager RT data collection question [SOLVED]

Hi, could I have some clarification please on how RT candles are built? In the Quote Manager fields to collect menu I see tick, minute and day. Are the minute and day open and closes determined locally, on my computer, or do they come from the data provider? I’m wondering why anything other than tic...
by darob
16 Mar 2017
Forum: MultiCharts .NET
Topic: EMA Cross - first algo test
Replies: 1
Views: 697

Re: EMA Cross - first algo test

Hi frugalmule, have you looked at the stock MovAvg2Line_Cross entry signals? Swapping out the simple moving average functions for exponential may be a good way to get started.
by darob
13 Mar 2017
Forum: MultiCharts .NET
Topic: HighestFC & LowestFC functions
Replies: 1
Views: 708

Re: HighestFC & LowestFC functions

Hi joenetic, there's no lower band references in StartCalc(), maybe that's the problem.
by darob
08 Mar 2017
Forum: MultiCharts .NET
Topic: using IB, how to cancel orders [SOLVED]
Replies: 2
Views: 654

Re: using IB, how to cancel orders [SOLVED]

Hi joenetic, assuming the orders were generated by your script and you don't have a position, they will be canceled when the conditions that generated them or allow them to persist are no longer met.
by darob
23 Dec 2016
Forum: MultiCharts .NET
Topic: Can you turn off the PL.NET contextual menu? [SOLVED]
Replies: 2
Views: 743

Can you turn off the PL.NET contextual menu? [SOLVED]

This thing appears only after you've finished typing and just gets in the way (sorry). Could someone please advise how to turn it off? I can't find the setting. Thanks.
by darob
12 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Re: Portfolio Trader--stop generation on partial fills [SOLVED]

I was afraid you were going to say that. So in the following, how do you get m_averagefc1.length to act on BarsOfData(2)? I think I have m_averagefc1.price figured out.
Screen Shot 2016-12-11 at 6.02.04 PM.png
Screen Shot 2016-12-11 at 6.02.04 PM.png (9.87 KiB) Viewed 1358 times
Many thanks
by darob
11 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Re: Portfolio Trader--stop generation on partial fills [SOLVED]

Is this simple change enough to force a recalculation at a higher resolution (assuming the 2nd data series is 30 sec or something) and give me quicker stop placement on partial fills? The backtest results are identical but I don't see a way to test this except in live trading.
BarsOfData(2).png
BarsOfData(2).png (17.15 KiB) Viewed 1367 times
by darob
11 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Re: Portfolio Trader--stop generation on partial fills [SOLVED]

It looks like shifting the strategy references to another data series and generating the orders in a higher resolution may work. Still interested in any other simpler ideas if you've got any.

Thanks
by darob
09 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Re: Portfolio Trader--stop generation on partial fills [SOLVED]

Hi Henry, I'm liking option 1 and now I'm reviewing my code and per the attached screenshot it already should only be generating the order if StrategyInfoMarketPositionAtBroker == 0. If I understand this correctly the script is acting on this information at Bar.Close. So how do I force this to happe...
by darob
09 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Re: Portfolio Trader--stop generation on partial fills [SOLVED]

I've been looking at this thread and even though it's regular MC it seems to relate to my question. It starts with a question specifically about Portfolio Trader but am I correct in thinking the solutions discussed are not? My understanding is IOG isn't supported. Very interested in any ideas regard...
by darob
09 Dec 2016
Forum: MultiCharts .NET
Topic: Using EOD_Close with Portfolio Trader [SOLVED]
Replies: 4
Views: 944

Re: Using EOD_Close with Portfolio Trader [SOLVED]

Hi Henry, thanks for explaining this.
by darob
07 Dec 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader--stop generation on partial fills [SOLVED]
Replies: 8
Views: 1422

Portfolio Trader--stop generation on partial fills [SOLVED]

This may apply to chart trading too, but I've been running Portfolio Trader for a few months now and have noticed that if an order doesn't fill completely the stop that normally generates on the fill isn't generated until the current bar closes (these are limit orders). I'm using 15 min bars so the ...
by darob
07 Dec 2016
Forum: MultiCharts .NET
Topic: Using EOD_Close with Portfolio Trader [SOLVED]
Replies: 4
Views: 944

Re: Using EOD_Close with Portfolio Trader [SOLVED]

Hi Henry, I grabbed the script from here: https://www.multicharts.com/discussion/viewtopic.php?f=19&t=27758&p=79950 and have applied it as-is. It looks like CalcBar is checking for the correct time, and if correct, OnRecalcLastBarAfterEvent should generate the order/s. Is there something else that s...
by darob
07 Dec 2016
Forum: MultiCharts .NET
Topic: How to make Bars.Close[0] always return the realtime value though having longer resolution? [SOLVED]
Replies: 5
Views: 970

Re: How to make Bars.Close[0] always return the realtime value though having longer resolution? [SOLVED]

I see how that works now, thanks. I can see BarsOfData(3) in DEF 1 sec in addition to the 5 min as still offering a potential, obviously more complicated solution. Kristina's sounds much better.

Cheers
by darob
06 Dec 2016
Forum: MultiCharts .NET
Topic: How to make Bars.Close[0] always return the realtime value though having longer resolution? [SOLVED]
Replies: 5
Views: 970

Re: How to make Bars.Close[0] always return the realtime value though having longer resolution? [SOLVED]

Hi cwharton I'm not clear on why you're using 5 min bars in DEF if you want an immediate response on price. Perhaps BarsOfData(2) should be 1 sec resolution too and then you use a BarsOfData(3) in 5 min for whatever it is you need it for.
by darob
06 Dec 2016
Forum: MultiCharts .NET
Topic: Using EOD_Close with Portfolio Trader [SOLVED]
Replies: 4
Views: 944

Using EOD_Close with Portfolio Trader [SOLVED]

Hi, I've applied this script as a separate strategy in Portfolio Trader to close any remaining open positions ahead of the close. It doesn't work, however. Any idea why? All other signals run on 15 min bars, this one on 3 min. MC.NET64 v.10 release (Build 13630), Win 7 Many thanks using System; name...
by darob
01 Dec 2016
Forum: MultiCharts .NET
Topic: OnBrokerStategyOrderFilled [SOLVED]
Replies: 5
Views: 1017

Re: OnBrokerStategyOrderFilled [SOLVED]

Hi Felix, you could have your broker send emails on position changes as an alternative.
by darob
17 Nov 2016
Forum: User Contributed Studies
Topic: C# (C sharp) for the Beginner
Replies: 3
Views: 5275

Re: C# (C sharp) for the Beginner

I've been finding this resource helpful:

https://www.tutorialspoint.com/csharp/index.htm
by darob
15 Nov 2016
Forum: MultiCharts .NET
Topic: syntax question [SOLVED]
Replies: 4
Views: 887

Re: syntax question [SOLVED]

Thanks for the reply Josh. 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:
by darob
14 Nov 2016
Forum: MultiCharts .NET
Topic: syntax question [SOLVED]
Replies: 4
Views: 887

Re: syntax question [SOLVED]

Ok it's definitely wrong, I'm getting a null reference exception: object reference not set to an instance of an object. So any help getting m_avg.Value to reference the 2nd data series appreciated. Thanks a lot.
by darob
14 Nov 2016
Forum: MultiCharts .NET
Topic: syntax question [SOLVED]
Replies: 4
Views: 887

syntax question [SOLVED]

Hi, will MC.NET recognize that I want the m_avg.Value calculated on the 2nd data series in the following or is there something else I need to add?

if (BarsOfData(2).Close[0] < m_avg.Value) {

Many thanks
by darob
11 Nov 2016
Forum: MultiCharts .NET
Topic: Nice website
Replies: 4
Views: 870

Nice website

I like the new MC.NET website. Matrix-like. Good call dropping the guy with the blank stare.
by darob
09 Nov 2016
Forum: MultiCharts .NET
Topic: broker position info [SOLVED]
Replies: 4
Views: 821

Re: broker position info [SOLVED]

Hi RobBoss You can inform your strategy of manual trades with the broker to strategy synchronizer: https://www.multicharts.com/trading-software/index.php/Manual_Trading_and_Automated_Trading_on_the_Same_Instrument_at_a_Time Then how your signal reacts to it is up to you and your code. Maybe that's t...
by darob
09 Nov 2016
Forum: MultiCharts .NET
Topic: broker position info [SOLVED]
Replies: 4
Views: 821

Re: broker position info [SOLVED]

Hi RobBoss, I had a similar situation that was resolved by using StrategyInfo.MarketPositionAtBroker.

Best regards
by darob
06 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1194

Re: Plotting and deleting horizontal lines programatically [SOLVED]

Eureka. Found an approach that works. Dumped the MA and went back to matching a price variable to the trendline price directly. Very simple and obvious in hindsight. Thanks again Josh for the great resource you've developed.
by darob
06 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1194

Re: Plotting and deleting horizontal lines programatically [SOLVED]

Thanks, Josh. Your material is excellent and fills a real void, I was able to use it to develop the automatic placement of trendlines, but I'm having difficulty with the removals. My question about using the alerts properties I'll just drop, I'm probably just barking up the wrong tree, and I'll just...
by darob
06 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1194

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. How is price accessed in ITrendLineObject? Attached screenshot shows the kinds of errors I'm getting. There are others. Thanks for ...
by darob
05 Nov 2016
Forum: MultiCharts .NET
Topic: Plotting and deleting horizontal lines programatically [SOLVED]
Replies: 5
Views: 1194

Plotting and deleting horizontal lines programatically [SOLVED]

Hi, 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. If not, how does one achieve this with an open-ended quantity of lines (and open-ended quantity of vari...
by darob
01 Nov 2016
Forum: MultiCharts .NET
Topic: Chart Drawing Discrepancy
Replies: 14
Views: 1874

Re: Chart Drawing Discrepancy

The only other thing I can think of is to confirm the X-Time Scale settings match, although I don't know if the extra decimal places in the one chart would account for the plot differences.

Cheers
by darob
01 Nov 2016
Forum: MultiCharts .NET
Topic: Chart Drawing Discrepancy
Replies: 14
Views: 1874

Re: Chart Drawing Discrepancy

Hi datamonkey, the indicator plots are different too. Are both charts referencing the same bars back?
by darob
17 Oct 2016
Forum: MultiCharts .NET
Topic: MarketPositionAtBroker [SOLVED]
Replies: 1
Views: 724

MarketPositionAtBroker [SOLVED]

Hi, I'd just like to verify StrategyInfo.MarketPositionAtBroker is exactly that, limit orders waiting at the broker have no bearing, is this correct? Many thanks Edit: there's a lot of OHLC differences between realtime and backtest--lots of room for improvement here imo, and I'm trying to rule out o...
by darob
07 Oct 2016
Forum: MultiCharts .NET
Topic: Schedule Automated Order Execution? [SOLVED]
Replies: 3
Views: 1082

Re: Schedule Automated Order Execution? [SOLVED]

Hi JohnR, you could reference another article Josh wrote (thanks Josh!) which enables using different time settings on different signals if you want.

https://www.tradingcode.net/multicharts ... -strategy/
by darob
03 Oct 2016
Forum: MultiCharts .NET
Topic: Isolating a strategy's component signals [SOLVED]
Replies: 3
Views: 955

Re: Isolating a strategy's component signals [SOLVED]

Hi Henry, when checking the list of trades executed in a Portfolio Trader backtest, the exit signal is stated specifically in each trade but the entries are just "Buy" or "SellShort". Is it possible to have the specific entry signals stated too?

Thanks
by darob
28 Sep 2016
Forum: MultiCharts .NET
Topic: Isolating a strategy's component signals [SOLVED]
Replies: 3
Views: 955

Isolating a strategy's component signals [SOLVED]

Hi, in cases where you have multiple signals in a strategy, is there another way to isolate the individual signal responsible for a particular entry other than toggling them on/off in multiple backtests? I'm referring particularly to Portfolio Trader. Edit: raising the bar here for dumb questions--I...
by darob
26 Sep 2016
Forum: User Contributed Studies
Topic: SMA built on HL/2
Replies: 0
Views: 1557

SMA built on HL/2

Reposting this from another thread as it seems to be working and isn't available in the default .net indicator collection.
by darob
23 Sep 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader discrepancies [SOLVED]
Replies: 4
Views: 1056

Re: Portfolio Trader discrepancies [SOLVED]

Hi Al, sorry to hear that, I hope my experience is different. So far I have no problem with execution, it just frequently doesn't match backtest. I think I just have to treat backtest as theoretical. BTW I think you can de-activate the cancel autotrade after errors in properties if you want to thoug...
by darob
21 Sep 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader discrepancies [SOLVED]
Replies: 4
Views: 1056

Re: Portfolio Trader discrepancies [SOLVED]

As this phenomenon continues I'm thinking it may be that historical bars sometimes print differently than the real-time ticks, enough so that portfolio trader will show trades in backtest that didn't happen and vice versa, because it's not always several orders at once. Does this idea make any sense?
by darob
16 Sep 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader discrepancies [SOLVED]
Replies: 4
Views: 1056

Re: Portfolio Trader discrepancies [SOLVED]

I think my answer is implied in this thread so I'll call this resolved.

viewtopic.php?f=19&t=49271
by darob
14 Sep 2016
Forum: MultiCharts .NET
Topic: Portfolio Trader discrepancies [SOLVED]
Replies: 4
Views: 1056

Portfolio Trader discrepancies [SOLVED]

I’ve been running a backtest in Portfolio Trader after the session close to tune my strategy and compare with what actually occurred during the session and periodically the backtest shows an entry that wasn’t made in realtime, and I can confirm the signal conditions were met. I assume the same risk ...
by darob
14 Sep 2016
Forum: MultiCharts .NET
Topic: Moving Average Settings [SOLVED]
Replies: 8
Views: 1710

Re: Moving Average Settings [SOLVED]

You're welcome. Actually looks like displace works afterall, should have tried it first..

Cheers
by darob
13 Sep 2016
Forum: MultiCharts .NET
Topic: Moving Average Settings [SOLVED]
Replies: 8
Views: 1710

Re: Moving Average Settings [SOLVED]

Hi datamonkey, here's a non-coder's effort that you can try until someone does it properly. Note don't even think about entering a displacement value. Also the alert still references the close, I don't know how to change that. Good luck.
by darob
05 Sep 2016
Forum: MultiCharts .NET
Topic: Pivot Point, R1, R2, S1 and S2 [SOLVED]
Replies: 10
Views: 4655

Re: Pivot Point, R1, R2, S1 and S2 [SOLVED]

If you don't want the scaling you can turn it off. Right-click chart, format instrument, scaling then un-check expand scale to indicators.
by darob
02 Sep 2016
Forum: User Contributed Studies
Topic: OHLC levels
Replies: 0
Views: 1136

OHLC levels

Another modification of OHLC_Yesterday, substituting today's open instead.
by darob
31 Aug 2016
Forum: MultiCharts .NET
Topic: No Data IB
Replies: 3
Views: 896

Re: No Data IB

Most have no data, meaning some do? Sounds like it could be a pacing violation. You'd see it in the quote manager event log if it is. You may just have to give it some time if that's the problem.

Best regards
by darob
26 Aug 2016
Forum: MultiCharts .NET
Topic: Prioritize entries by ascending price [SOLVED]
Replies: 6
Views: 1517

Re: Prioritize entries by ascending price [SOLVED]

When the Rotation MM doesn't find any pmm variables it seems you can still do some useful things with it depending on how you organize the Portfolio Tree--like deny positions in your most expensive stocks on a given day if you're trading in percentages.
by darob
24 Aug 2016
Forum: MultiCharts .NET
Topic: Prioritize entries by ascending price [SOLVED]
Replies: 6
Views: 1517

Re: Prioritize entries by ascending price [SOLVED]

I've had another look at the MM scripts and while I can't see a straightforward way to roll all my entry signals into the Portfolio Rank Signal Base (there's 10 of them) I found I could improve performance on a 6 mo backtest by using the Portfolio Rotation MM with my current strategy. I don't unders...
by darob
24 Aug 2016
Forum: MultiCharts .NET
Topic: Prioritize entries by ascending price [SOLVED]
Replies: 6
Views: 1517

Re: Prioritize entries by ascending price [SOLVED]

Hi Kristina, I've looked at those but have already got a strategy and the built-in MM seems comprehensive enough for me. Dynamic prioritizing would be the icing on the cake. I can achieve a "semi dynamic" setup by rearranging symbols on the close. The ability to sort symbols by price like you can in...
by darob
23 Aug 2016
Forum: MultiCharts .NET
Topic: Prioritize entries by ascending price [SOLVED]
Replies: 6
Views: 1517

Re: Prioritize entries by ascending price [SOLVED]

Thanks Kristina. Are you able to send the file as .pln instead of .pla? MultiCharts.Net isn't seeing it.
by darob
22 Aug 2016
Forum: MultiCharts .NET
Topic: Prioritize entries by ascending price [SOLVED]
Replies: 6
Views: 1517

Prioritize entries by ascending price [SOLVED]

Hi, there's something I'm obviously not understanding about this: https://www.multicharts.com/trading-software/index.php/PortfolioEntriesPriority The example in the wiki is exactly what I want but Priority and Close aren't being recognized. Is there a sample code available that shows more context? M...
by darob
05 Aug 2016
Forum: MultiCharts .NET
Topic: sync portfolio trader backtesting with auto order execution [SOLVED]
Replies: 1
Views: 1127

Re: sync portfolio trader backtesting with auto order execut [SOLVED]

I'll take a stab at answering my own question. The backtest starts at the initial capital setting and with an effective strategy that increases over the backtest (duh). So of course the shares purchased goes up. I was still thinking in terms of a fixed share buy. Slowly getting there.. :)
by darob
04 Aug 2016
Forum: MultiCharts .NET
Topic: sync portfolio trader backtesting with auto order execution [SOLVED]
Replies: 1
Views: 1127

sync portfolio trader backtesting with auto order execution [SOLVED]

Hi, I'm trading shares as a percentage of equity and in backtesting Portfolio Trader is reporting more shares traded than actually occurs. I have the initial portfolio capital set lower than what is available (if it were higher I'd assume that was the problem). No errors are being reported ie I'm no...
by darob
01 Aug 2016
Forum: MultiCharts .NET
Topic: Setting exits using Parabolic SAR...?
Replies: 2
Views: 1468

Re: Setting exits using Parabolic SAR...?

Screen Shot 2016-08-01 at 6.11.46 PM.png
Screen Shot 2016-08-01 at 6.11.46 PM.png (21.37 KiB) Viewed 988 times
There's some supplied exit signals in MC.Net called Parabolic_m_Trail_LX/SX. I've just placed them on a 15 min chart with the Parabolic SAR and the default setting seems to match. Could these be what you're looking for?
by darob
29 Jul 2016
Forum: MultiCharts .NET
Topic: _Stops_And_Targets question [SOLVED]
Replies: 2
Views: 1299

Re: _Stops_And_Targets question [SOLVED]

Thanks Henry. I've seen both stops at the same price during pullbacks several times so thought I'd better ask.
by darob
28 Jul 2016
Forum: MultiCharts .NET
Topic: _Stops_And_Targets question [SOLVED]
Replies: 2
Views: 1299

_Stops_And_Targets question [SOLVED]

Hi,

When running a hard stop, target and trail, if a stop out occurs at the point where the trail overtakes the hard stop, do you wind up with a position in the opposite direction or does the strategy know just to cover? Is this a stupid question?

Portfolio trader is awesome, btw.

Thanks
by darob
19 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

Re: IB error 168 [SOLVED]

Been a frustrating exercise, MC found no issues on their side on the computer and IB was indicating a symbol problem. I finally went to the TWS order preset configuration and changed the discretionary setting from 0.00 to 0.01 and this solved the problem. On a further whim I later tried just deletin...
by darob
18 Jul 2016
Forum: MultiCharts .NET
Topic: send limit order [SOLVED]
Replies: 2
Views: 1490

Re: send limit order [SOLVED]

Thanks for putting me on track. I'm surprised there's no supplied MC script for such a basic trading idea, although it could be there and I'm not seeing it.

Regards
by darob
16 Jul 2016
Forum: MultiCharts .NET
Topic: send limit order [SOLVED]
Replies: 2
Views: 1490

send limit order [SOLVED]

Continuing my neverending project of automizing.. How do you get MC to send a limit order and leave it there? I don't care when in the session the price is struck, but at the moment MC ignores it if isn't the next bar. What do I need to do? I have: private IorderPriced buy_order; Create() buy_order ...
by darob
12 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

Re: IB error 168 [SOLVED]

Just me being an idiot running the stops in contract mode not position.
Now working as it should, thanks Henry.

update below
by darob
11 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

Re: IB error 168 [SOLVED]

Hi Henry, I have run through this procedure twice now. Don't know what I'm doing wrong. Also the message is the discretionary amount doesn't meet the minimum price move, but I'm not using a discretionary amount, at least not according to IB's definition of it. https://www.interactivebrokers.com/en/s...
by darob
11 Jul 2016
Forum: MultiCharts .NET
Topic: Native OCO and IOG mode
Replies: 4
Views: 1140

Re: Native OCO and IOG mode

I think I've confused order generation and order triggering. Probably didn't have to enable it on my stops, I wonder if this is why my target is being rejected.

Later
Thanks
by darob
11 Jul 2016
Forum: MultiCharts .NET
Topic: Native OCO and IOG mode
Replies: 4
Views: 1140

Re: Native OCO and IOG mode

So with it disabled your stop only triggers on bar close?
by darob
09 Jul 2016
Forum: MultiCharts .NET
Topic: Native OCO and IOG mode
Replies: 4
Views: 1140

Native OCO and IOG mode

Hi, does IOG mode enable/disable affect native OCO orders or does it only work on OCO's MC simulates?

Thanks
by darob
08 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

Re: IB error 168 [SOLVED]

I see, IOG is enabled so of course MC has to keep checking in, this makes sense.

Entries are generated by MACD_LE/SE constrained by trend and I've manually entered the _Stop_And_Target input values.

Dave
by darob
08 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

Re: IB error 168 [SOLVED]

Hi Erol The minimum appears to be .01 and I'm looking for .20+ so I'm not sure what the problem is. $10-30 securities. Again, I don't have any trouble when using TWS directly with a bracket preset. Doesn't MC place native OCO's at the broker once? Not sure why this should have to keep updating. Sorr...
by darob
08 Jul 2016
Forum: MultiCharts .NET
Topic: IB error 168 [SOLVED]
Replies: 9
Views: 1968

IB error 168 [SOLVED]

Hi, there's an OCO bracket I've been using in IB's Trader Workstation without any problem but when I apply the same bracket in a strategy in MultiCharts.net I get the error "Discretionary amount does not conform to the minimum price variation for this contract." The entry and stop order are accepted...
by darob
13 Jun 2016
Forum: User Contributed Studies
Topic: Prior_Close
Replies: 0
Views: 2017

Prior_Close

This is OHLC_Yesterday without OHL. I found when making the levels I don't want invisible in that study the candles still scale as if they're there and I found it a nuisance. I take no credit for this, I just deleted a few things. A 2 period offset has been applied.
by darob
05 May 2016
Forum: MultiCharts .NET
Topic: Keeping Strategy/Bracket Order Settings Fixed to Workspace?
Replies: 3
Views: 2594

Re: Keeping Strategy/Bracket Order Settings Fixed to Workspa

I second this request. Auto-attach should be associated with a DOM window or linked chart so you don't have to select it individually for every instrument in your watchlist at the start of every session.

Thanks
by darob
28 Apr 2016
Forum: MultiCharts .NET
Topic: Pre-scanner and Watchlist resolution question [SOLVED]
Replies: 4
Views: 2300

Re: Pre-scanner and Watchlist resolution question [SOLVED]

It's finally sunk in that the resolution of the pre-scan and the watchlist needs to be the same for this to work so I've rescripted the pre-scanner filter to take a longer view of 3 min bars. I'm unclear on the multiple resolutions the wiki page refers to. If you could point me to an example of an a...
by darob
27 Apr 2016
Forum: MultiCharts .NET
Topic: Pre-scanner and Watchlist resolution question [SOLVED]
Replies: 4
Views: 2300

Re: Pre-scanner and Watchlist resolution question [SOLVED]

Hi Henry, when you uncheck that the watchlist doesn't update at all, which defeats the purpose of the pre-scanner unless I'm fundamentally misunderstanding something (always a possibility!). I have to change the resolution manually on updated securities in the watchlist during the session too. This ...
by darob
26 Apr 2016
Forum: MultiCharts .NET
Topic: Pre-scanner and Watchlist resolution question [SOLVED]
Replies: 4
Views: 2300

Pre-scanner and Watchlist resolution question [SOLVED]

Hi, I'm pre-scanning 15 min resolution and use 3 min res on the watchlist to time entries, but when opening the workspace the watchlist loads 15 min, it doesn't save the setting between sessions. Is this normal behavior?
by darob
20 Apr 2016
Forum: MultiCharts .NET
Topic: Plot time of a study's price change in scanner [SOLVED]
Replies: 2
Views: 2441

Re: Plot time of a study's price change in scanner [SOLVED]

This is great, works perfectly. Many thanks.
by darob
19 Apr 2016
Forum: MultiCharts .NET
Topic: Plot time of a study's price change in scanner [SOLVED]
Replies: 2
Views: 2441

Plot time of a study's price change in scanner [SOLVED]

Hi, I'd like to plot the time of a change beside the price in a scanner so I tried replacing closing price with time so I could load the variation as well. Ain't working. The first is the original price study.

Much help appreciated!
by darob
18 Apr 2016
Forum: MultiCharts .NET
Topic: Plot study price levels on DOM? [SOLVED]
Replies: 2
Views: 2393

Re: Plot study price levels on DOM? [SOLVED]

That's interesting, though probably not worth pursuing in this case if the chart needs to be open and the levels are already there. Might try it though for the practice.

Thanks
by darob
15 Apr 2016
Forum: MultiCharts .NET
Topic: Plot study price levels on DOM? [SOLVED]
Replies: 2
Views: 2393

Plot study price levels on DOM? [SOLVED]

Can price levels plotted by a study somehow be applied to the DOM? I'd find this incredibly useful.

Thanks
by darob
15 Apr 2016
Forum: MultiCharts .NET
Topic: IB pacing violations [SOLVED]
Replies: 2
Views: 2401

Re: IB pacing violations [SOLVED]

They stopped once I clued in on how to use the pre-scanner. This is a great feature, really powerful and effective.
by darob
13 Apr 2016
Forum: MultiCharts .NET
Topic: IB pacing violations [SOLVED]
Replies: 2
Views: 2401

IB pacing violations [SOLVED]

I know lots has been written on the subject, but I'm just running a scanner with < 20 securities and have one chart with 2 days of data--everything 15 min res. I've had numerous pacing violations and data disconnections in IB. How much backfilling does MC need in this situation?

Thanks
by darob
08 Apr 2016
Forum: MultiCharts .NET
Topic: Plot a marker on a prior bar based on current bar calc [SOLVED]
Replies: 1
Views: 1476

Re: Plot a marker on a prior bar based on current bar calc [SOLVED]

Nevermind, changing the zeroes to other integers works--very logical!
by darob
08 Apr 2016
Forum: MultiCharts .NET
Topic: Plot a marker on a prior bar based on current bar calc [SOLVED]
Replies: 1
Views: 1476

Plot a marker on a prior bar based on current bar calc [SOLVED]

In the following, what do I replace Bars.Low[0] with to place the marker on the prior bar instead of the one that just closed? Google only gets you so far... Many thanks if (PublicFunctions.DoubleGreaterEquals(m_value1.Value, consecutivebarsdown)){ Plot1.Set(0, Bars.Low[0]);
by darob
08 Apr 2016
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

Excellent, thanks Henry.
by darob
07 Apr 2016
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

Hi, I've applied ConsolidationLength to another script and when placed on the chart it appears as expected initially, but when an input value is changed or the underlying is switched the study disappears and won't reload. I came back to this Example_Three_Bar_HLC and notice the same thing. Any idea ...
by darob
21 Mar 2016
Forum: MultiCharts .NET
Topic: Limit consecutive bars down to exact number. [SOLVED]
Replies: 2
Views: 1606

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

Thanks for another great coding tutorial. Cheers.
by darob
20 Mar 2016
Forum: MultiCharts .NET
Topic: Limit consecutive bars down to exact number. [SOLVED]
Replies: 2
Views: 1606

Limit consecutive bars down to exact number. [SOLVED]

Hi, I've attached an MC.Net supplied study that I'd like to modify so it fires an alert on an exact number of consecutive bar closes down. Currently it fires on the exact number but then continues to fire alerts on subsequent consecutive bars if they close lower (so 3,4,5 etc.) Can the study be modi...
by darob
16 Oct 2015
Forum: MultiCharts .NET
Topic: Multicharts TWS - will it be working after Sep 10th ?
Replies: 7
Views: 4159

Re: Multicharts TWS - will it be working after Sep 10th ?

Far be it for me to judge what's behind the TWS-MC discontinuation but there was no indication when it started that it was only temporary and I wouldn't have bothered spending hours tweaking custom alerts that work between MC and TWS charts if I'd known. When the discontinuation was first announced ...
by darob
16 Jan 2015
Forum: MultiCharts .NET
Topic: MC and TWS charts not matching
Replies: 9
Views: 2379

Re: MC and TWS charts not matching

This morning the MC chart loaded exactly like the TWS chart in the examples above, so it's a live chart thing in MC. I can work with this if this is just the way it is, just trying to make sure I'm not overlooking something.
by darob
15 Jan 2015
Forum: MultiCharts .NET
Topic: MC and TWS charts not matching
Replies: 9
Views: 2379

Re: MC and TWS charts not matching

Spoke too quick. Attached is a screenshot showing how candles sometimes print opposite colors. I suppose I'm being nitpicky but I have alerts on specific conditions that arise on MC and I trade on TWS charts and it would be better if they were consistent. I've checked the other variables you pointed...
by darob
14 Jan 2015
Forum: MultiCharts .NET
Topic: MC and TWS charts not matching
Replies: 9
Views: 2379

Re: MC and TWS charts not matching

"Generate new tick..." was checked, now unchecked. They seem to be moving in lock-step now. Thanks a lot.
by darob
14 Jan 2015
Forum: MultiCharts .NET
Topic: MC and TWS charts not matching
Replies: 9
Views: 2379

MC and TWS charts not matching

I've noticed MC live charts don't match MC historical charts, and neither of them exactly match TWS charts. Is there some way to set them up so they do? The MC live charts have things like candles closing the opposite color to TWS sometimes, or closes past H/L's not correlating. I don't understand t...
by darob
01 Dec 2014
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

Wow, this looks exactly like what I was looking for. I'll give it a test drive and report back. Many thanks.
by darob
30 Nov 2014
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

Hi Josh, I think I misled you with my confusing description of my goal, starting with a study title that only makes sense in my mind :) I'd like to fire an alert when price closes past fresh consolidations and not on the close of every subsequent trending candle. I've been filtering the alert visual...
by darob
26 Nov 2014
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

Got it (I think) thanks for your patience. Cheers. using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; namespace PowerLanguage.Indicator { [SameAsSymbol(true)] [UpdateOnEveryTick(false)] public class Three_Bar_HLC : IndicatorObject { public Three_Bar_HLC(object _ctx)...
by darob
25 Nov 2014
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

Re: script help [SOLVED]

I've attached the file. Do you want a screen shot? Actually I've been thinking about the question and it's almost like I'm trying to reinvent the moving average so maybe don't worry about it. Thanks for the reply.
by darob
22 Nov 2014
Forum: MultiCharts .NET
Topic: script help [SOLVED]
Replies: 11
Views: 5032

script help [SOLVED]

Hi, I don't know the first thing about programming. I have this script based on an example I found online. As it is, an alert is fired after every bar where the condition is met, but I'd like it to act only on fresh conditions--after the first bar where the condition is met I'd like the count to sta...
by darob
21 Nov 2014
Forum: MultiCharts .NET
Topic: [TWS] API client has been disconnected since verification...
Replies: 3
Views: 1014

Re: [TWS] API client has been disconnected since verificatio

The problem was on the IB servers and it's now resolved.

Go to advanced search