Search found 90 matches
- 07 Aug 2015
- Forum: MultiCharts .NET
- Topic: Changing the caption of a detached chart?
- Replies: 2
- Views: 1853
- 06 Aug 2015
- Forum: MultiCharts .NET
- Topic: Changing the caption of a detached chart?
- Replies: 2
- Views: 1853
Changing the caption of a detached chart?
I'm using multiple screens in my workstation, each screen hosts a different detached chart, I would like to change the chart's caption to my own by code from the signal running on that chart...
Any thoughts on how to get this done?
Thank you all in advance,
Best,
R.
Any thoughts on how to get this done?
Thank you all in advance,
Best,
R.
- 05 Aug 2015
- Forum: MultiCharts .NET
- Topic: set chart to show only the last 3600 seconds
- Replies: 2
- Views: 1708
Re: set chart to show only the last 3600 seconds
Thank you Josh.
- 04 Aug 2015
- Forum: MultiCharts .NET
- Topic: set chart to show only the last 3600 seconds
- Replies: 2
- Views: 1708
set chart to show only the last 3600 seconds
Hi, My goal is to have a chart that shows only the last hour based on 1 second bar, when setting the data range for 60 minutes Bars Back it works as it should: https://www.dropbox.com/s/edxneju9saddvwb/60_minutes.png?dl=1 However when setting the data range for 3600 Bars Back for 1 second resolution...
- 23 Jul 2015
- Forum: MultiCharts .NET
- Topic: how to optimize two interlink strategies
- Replies: 2
- Views: 2041
Re: how to optimize two interlink strategies
Thank you.
- 22 Jul 2015
- Forum: MultiCharts .NET
- Topic: how to optimize two interlink strategies
- Replies: 2
- Views: 2041
how to optimize two interlink strategies
Dear All, I have two strategies that are running simultaneously on two different charts, each chart has a different strategy and both strategies share data passed back and forth by both strategies via a public module and each strategy logic acts based on the data stored in the public module: https:/...
- 07 Jul 2015
- Forum: MultiCharts .NET
- Topic: keep chart in horizontal & vertical [SOLVED]
- Replies: 2
- Views: 2615
Re: keep chart in horizontal & vertical [SOLVED]
Hello Ram,
That is possible to enable the option "Center last price" in Format->Instrument->Scaling tab when scaling is set to Screen or Entire Series.
Awesome! thx much!
- 07 Jul 2015
- Forum: MultiCharts .NET
- Topic: keep chart in horizontal & vertical [SOLVED]
- Replies: 2
- Views: 2615
keep chart in horizontal & vertical [SOLVED]
Hi All, when time goes by the chart is moving with the time line, I want to achieve the same behavior with the price axis as well, meaning, the last price marker will be visible in the middle of the axis at all time, when the price goes up/down the market stays in the middle and the chart will adjus...
- 03 May 2015
- Forum: MultiCharts .NET
- Topic: Study based on same instrument/different data series problem
- Replies: 1
- Views: 1847
Study based on same instrument/different data series problem
I have a chart with 3 instrument of the same symbol (Trade, Ask & Bid): https://www.dropbox.com/s/2eimbi3tiw5v5ru/Trade_Ask_Bid.png?dl=1 My study (supposed) to calculate ATR for each data instrument in the same study: ' Methods Public Sub New(ByVal ctx As Object) MyBase.New(ctx) Me.AtrLength = 5 End...
- 02 May 2015
- Forum: MultiCharts .NET
- Topic: How to call predefined trade panel enter/exit by code?
- Replies: 5
- Views: 3682
Re: How to call predefined trade panel enter/exit by code?
Ram, There is nothing that can be done to instantiate such an object and this is not something that we are going to add in the future. Please specify the particular difficulty you have with programming this type of strategy. I'm sorry to learn that just because the enter/exit strategies from the tr...
- 30 Apr 2015
- Forum: MultiCharts .NET
- Topic: How to call predefined trade panel enter/exit by code?
- Replies: 5
- Views: 3682
Re: How to call predefined trade panel enter/exit by code?
Hello Ram, These are manual trading tools and they cannot be accessed from code directly. You can create similar code logic yourself. I’m still struggling to believe there is nothing that can be done to call this from code… I searched and found the object ATCenterProxy.interop.dll mentioned (throug...
- 30 Apr 2015
- Forum: MultiCharts .NET
- Topic: How to call predefined trade panel enter/exit by code?
- Replies: 5
- Views: 3682
Re: How to call predefined trade panel enter/exit by code?
no.... ((((((Hello Ram,
These are manual trading tools and they cannot be accessed from code directly. You can create similar code logic yourself.
- 30 Apr 2015
- Forum: MultiCharts .NET
- Topic: How to call predefined trade panel enter/exit by code?
- Replies: 5
- Views: 3682
How to call predefined trade panel enter/exit by code?
Hi, I've set a few predefined entries/exits strategies using the trade panel (DOM and Chart), for example, in the following image I have a a breakout strategy named "Breakout Set 1" who is followed by the "Master Exit Strategy": https://www.dropbox.com/s/qx6v8cgpsw7j09k/trade%20panel.png?dl=1 Can so...
- 19 Mar 2015
- Forum: MultiCharts .NET
- Topic: Change broker by code from signal? [SOLVED]
- Replies: 2
- Views: 1900
Re: Change broker by code from signal? [SOLVED]
Got it, Thx.Hello Ram,
Please go to Format->Strategy Properties->Auto trading tab->Select broker plugin->select the profile you need->go to Settings->configure the connection the way you need.
There is no way to do that from the code.
- 17 Mar 2015
- Forum: MultiCharts .NET
- Topic: Change broker by code from signal? [SOLVED]
- Replies: 2
- Views: 1900
Change broker by code from signal? [SOLVED]
Hi,
I have two different accounts connected to my MC, the chart has one active signal:
Assuming the example above (connected to Acc#1), how to set the signal to change its connection to Acc#2 by code?
Thx much in advance!
Best,
R.
I have two different accounts connected to my MC, the chart has one active signal:
Assuming the example above (connected to Acc#1), how to set the signal to change its connection to Acc#2 by code?
Thx much in advance!
Best,
R.
- 10 Mar 2015
- Forum: MultiCharts .NET
- Topic: "MA Crossover Signal indicator" For .NET?
- Replies: 0
- Views: 1672
Re: "MA Crossover Signal indicator" For .NET?
Hi, At MC Wiki page Pre-Scanning and Watchlist there's an example for what I'm guessing is a workaround to fire signal events from an indicator to be used from a watch list, the problem is that the indicator is a PLA type.. does anyone have an idea how that indicator is working? or better yet to po...
- 03 Mar 2015
- Forum: MultiCharts .NET
- Topic: limit order problem if not based on main series
- Replies: 1
- Views: 1693
limit order problem if not based on main series
Hi, EDIT: My data series' are based on IQFeed and my broker is IB I have a problem when sending limit orders based on any series price that is not the main series just doesnt work.. For example, a workspace has two data series: https://www.dropbox.com/s/jvlmqr0genyfz7o/limit_problem.png?dl=1 Code ex...
- 02 Mar 2015
- Forum: MultiCharts .NET
- Topic: Active workspace name from Signal?
- Replies: 2
- Views: 1647
Re: Active workspace name from Signal?
My question is how to get the name of the active workspace from the signal code? If you're auto-trading, you could use the TradeManager to retrieve the `Workspace` property from the `Order` class. Alternatively, `Environment.ChartWindowHWND` returns the window handle of the chart to which the study...
- 01 Mar 2015
- Forum: MultiCharts .NET
- Topic: Active workspace name from Signal?
- Replies: 2
- Views: 1647
Active workspace name from Signal?
Hi, I'm using the same signal in two different workspaces at the same time for some testing, that signal is updating an un depended floating window with real time status for some conditions, for visual example: https://www.dropbox.com/s/ukgdw3upj0fv60j/floating_window.png?dl=1 when switching between...
- 25 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is AutoTrading is ON [SOLVED]
- Replies: 6
- Views: 3584
Re: Is AutoTrading is ON [SOLVED]
Thanks.Ram,
"IApplicationInfo.IsAutoTradingMode" will not work in an indicator. It will work in a signal only.
- 19 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is AutoTrading is ON [SOLVED]
- Replies: 6
- Views: 3584
Re: Is AutoTrading is ON [SOLVED]
When trying to use "IApplicationInfo.IsAutoTradingMode" I get an error: I think you need to use `Environment.IsAutoTradingMode` for your goal. That is similar as you did earlier, except without the `Environment.IsRealTimeCalc` property. http://www.multicharts.com/discussion/download/file.php?id=871...
- 18 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is AutoTrading is ON [SOLVED]
- Replies: 6
- Views: 3584
Re: Is AutoTrading is ON [SOLVED]
Hello Ram, IApplicationInfo.IsAutoTradingMode Property - Indicates if auto-trading is on. IsRealTimeCalc can be true in forward testing, with auto trading off. When trying to use "IApplicationInfo.IsAutoTradingMode" I get an error: Reference to a non-shared member requires an object reference. when...
- 18 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is AutoTrading is ON [SOLVED]
- Replies: 6
- Views: 3584
Is AutoTrading is ON [SOLVED]
Hi All, I'm looking for the correct way for my code to know if the strategy is ON for AutoTrading: https://www.dropbox.com/s/j43sqt0f4590t8c/StrategyIsOn.png?dl=1 I've tried this without success: If Environment.IsRealTimeCalc AndAlso Environment.IsAutoTradingMode Then Thx much in advance! Best, R.
- 15 Feb 2015
- Forum: MultiCharts .NET
- Topic: Tradeline problem, need help..
- Replies: 1
- Views: 1435
Tradeline problem, need help..
Hi, I'm using trade lines to draw lines in the future (in this case 26 bars ahead of last bar): https://www.dropbox.com/s/it1yh1jjqugzilm/BarsAhead.png?dl=1 When in Playback mode, once I get to end of session the drawing skips few bars: https://www.dropbox.com/s/v4nuv79glazmuqi/BarsAhead2.png?dl=1 I...
- 13 Feb 2015
- Forum: MultiCharts .NET
- Topic: Using date value with ChartPoint? [SOLVED]
- Replies: 2
- Views: 1904
Re: Using date value with ChartPoint? [SOLVED]
Cant beleive it was that easy... Thx much!
Code: Select all
Dim TimeRangeChart As TimeSpan = Environment.RightScreenTime - Environment.LeftScreenTime
Dim MidPointTime As DateTime = Environment.LeftScreenTime.AddSeconds(timeRangeChart.TotalSeconds / 2)
New ChartPoint(MidPointTime, Bars.Close(0))
- 13 Feb 2015
- Forum: MultiCharts .NET
- Topic: Using date value with ChartPoint? [SOLVED]
- Replies: 2
- Views: 1904
Using date value with ChartPoint? [SOLVED]
Hi, The following code return the mid visible time axis: Dim TimeRangeChart As TimeSpan = Environment.RightScreenTime - Environment.LeftScreenTime Dim MidPointTime As DateTime = Environment.LeftScreenTime.AddSeconds(timeRangeChart.TotalSeconds / 2) My goal is to use MidPointTime value with ChartPoin...
- 12 Feb 2015
- Forum: MultiCharts .NET
- Topic: How to set "Chart Shift" by code? [SOLVED]
- Replies: 4
- Views: 2112
Re: How to set "Chart Shift" by code? [SOLVED]
"Use as Default" is for newly created charts. In order to save the current chart - you need to save the workspace.
Thank you.
- 12 Feb 2015
- Forum: MultiCharts .NET
- Topic: How to set "Chart Shift" by code? [SOLVED]
- Replies: 4
- Views: 2112
Re: How to set "Chart Shift" by code? [SOLVED]
Okay; on the issue different thing:Hello Ram,
There is no such option.
When I check the "Use as Default" checkbox at the bottom of that window it doesnt seem to remember this settings when it reloads.. any thoughts?
Thx again.
R.
- 12 Feb 2015
- Forum: MultiCharts .NET
- Topic: How to set "Chart Shift" by code? [SOLVED]
- Replies: 4
- Views: 2112
How to set "Chart Shift" by code? [SOLVED]
Hi,
Can anyone point me on how to set "Chart Shift" by code?
Thx much in advance,
Cheers,
R.
Can anyone point me on how to set "Chart Shift" by code?
Thx much in advance,
Cheers,
R.
- 12 Feb 2015
- Forum: MultiCharts .NET
- Topic: Trendline to future bars (not using ExtRight) [SOLVED]
- Replies: 1
- Views: 1585
Re: Trendline to future bars (not using ExtRight) [SOLVED]
My solution/workaround is instead of using:
I use:
Best,
R.
Code: Select all
X = -26
ChartPoint(Bars.Time.Item(X), 0)
Code: Select all
X = -26
ChartPoint(Bars.CurrentBar + Math.ABS(X), 0)
R.
- 12 Feb 2015
- Forum: MultiCharts .NET
- Topic: Trendline to future bars (not using ExtRight) [SOLVED]
- Replies: 1
- Views: 1585
Trendline to future bars (not using ExtRight) [SOLVED]
Hi, I'm trying to draw a trend-line to bar -26, I've set the time scale to 27 but get an error: https://www.dropbox.com/s/ja67bdbteiv9e4k/x_offset.png?dl=1 when using plot instead of trend line as the above there's no error.. does trend-line supports only ExtRight for future bars? Thanks much, Best,...
- 10 Feb 2015
- Forum: MultiCharts .NET
- Topic: missing bar stops calculation
- Replies: 1
- Views: 1249
missing bar stops calculation
Hi, I have two series of data on the same chart with different resolutions, In some cases when series 2 (higher res) is missing a bar it interferes with my strategy calculation, for ex. in the image below i have a rule to add blue arrows as long as the bar is lower than the red line: http://go-ram.s...
- 04 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is this a bug or bad coding?
- Replies: 2
- Views: 1560
Re: Is this a bug or bad coding?
Hello Ram, Create method is called once after the study is created. When input is modified - Create method has been called already. You need to move the code that fills the array from Create to StartCalc. You also need to redefine the StopCalc method - remove the drawings and clear the array there....
- 03 Feb 2015
- Forum: MultiCharts .NET
- Topic: Fibonacci Retracement Tool as an object [SOLVED]
- Replies: 2
- Views: 2105
- 02 Feb 2015
- Forum: MultiCharts .NET
- Topic: Is this a bug or bad coding?
- Replies: 2
- Views: 1560
Is this a bug or bad coding?
I have an array of trend lines, i use it for setting dynamic patterns with multiple legs, I set the number of legs via the indicator input, the problem seems to be that if i load the indicator with a default value of 4 for ex. and then change it to a bigger number using the user interface I get an e...
- 30 Jan 2015
- Forum: MultiCharts .NET
- Topic: .ELA to .Net? [SOLVED]
- Replies: 3
- Views: 2150
Re: .ELA to .Net? [SOLVED]
Got it, Thx.
- 29 Jan 2015
- Forum: MultiCharts .NET
- Topic: How to fill area?
- Replies: 1
- Views: 1437
How to fill area?
Hi, I have a study that uses trend lines to do the following: http://go-ram.s3.amazonaws.com/MultiCharts_Support/M_PATTERN.png and i want to add code to fill the area to get something like this: http://go-ram.s3.amazonaws.com/MultiCharts_Support/M_PATTERN%20-%20Copy.png Thank you all! Cheers, R.
- 29 Jan 2015
- Forum: MultiCharts .NET
- Topic: Fibonacci Retracement Tool as an object [SOLVED]
- Replies: 2
- Views: 2105
Fibonacci Retracement Tool as an object [SOLVED]
Hi,
How can one create the "Fibonacci Retracement Price Line" as an object for cross over and such..
Thanks much in advance!
Best,
R.
How can one create the "Fibonacci Retracement Price Line" as an object for cross over and such..
Thanks much in advance!
Best,
R.
- 27 Jan 2015
- Forum: MultiCharts .NET
- Topic: .ELA to .Net? [SOLVED]
- Replies: 3
- Views: 2150
.ELA to .Net? [SOLVED]
Hi,
I wanted to use ElliottWaveOsc in my study and I was looking at: http://www.multicharts.com/support/base ... ottWaveOsc, Is there any way to convert this into the .Net code?
Cheers,
R.
I wanted to use ElliottWaveOsc in my study and I was looking at: http://www.multicharts.com/support/base ... ottWaveOsc, Is there any way to convert this into the .Net code?
Cheers,
R.
- 26 Jan 2015
- Forum: MultiCharts .NET
- Topic: Get the BarNumber of Bars.High.Highest [SOLVED]
- Replies: 4
- Views: 4682
Re: Get the BarNumber of Bars.High.Highest [SOLVED]
Works Perfectly!!!
and for all you VB.Net out there:
Best,
R.
and for all you VB.Net out there:
Code: Select all
Dim BarBack As Integer = 0
Bars.High.Highest(100, BarBack , 0)
Best,
R.
- 24 Jan 2015
- Forum: MultiCharts .NET
- Topic: Get the BarNumber of Bars.High.Highest [SOLVED]
- Replies: 4
- Views: 4682
Re: Get the BarNumber of Bars.High.Highest [SOLVED]
Hi Josh, Thank you very much for your reply. I did that kind of loop in my tests earlier just to realize that it slows down the study calculation with the input sizes i use.. i hoped there's some build in function that does it more efficiently than my loop but from your reply i get that this is prob...
- 23 Jan 2015
- Forum: MultiCharts .NET
- Topic: Get the BarNumber of Bars.High.Highest [SOLVED]
- Replies: 4
- Views: 4682
Get the BarNumber of Bars.High.Highest [SOLVED]
Hi,
My goal is to return the BarNumber of Bars.High.Highest(100) for ex.
Is there anything like:
Thx much in advance!
Cheers,
R.
My goal is to return the BarNumber of Bars.High.Highest(100) for ex.
Is there anything like:
Code: Select all
MyBarNumber = Bars.High.Highest(100).BarNumber
Cheers,
R.
- 13 Jan 2015
- Forum: MultiCharts .NET
- Topic: How to know if an indicator is running as an object?
- Replies: 2
- Views: 1352
- 12 Jan 2015
- Forum: MultiCharts .NET
- Topic: How to know if an indicator is running as an object?
- Replies: 2
- Views: 1352
How to know if an indicator is running as an object?
Hi,
Is there any way to know from within the code if an indicator is running in "normal" mode or it was loaded as an object by other indicator/signal?
TIA,
R.
Is there any way to know from within the code if an indicator is running in "normal" mode or it was loaded as an object by other indicator/signal?
TIA,
R.
- 12 Jan 2015
- Forum: MultiCharts .NET
- Topic: Last Trade Time? [SOLVED]
- Replies: 3
- Views: 1853
Re: Last Trade Time? [SOLVED]
Thanks much.
Best,R.
Best,R.
- 12 Jan 2015
- Forum: MultiCharts .NET
- Topic: show indicator's plots and data when it loads as an object? [SOLVED]
- Replies: 4
- Views: 1978
- 06 Jan 2015
- Forum: MultiCharts .NET
- Topic: Last Trade Time? [SOLVED]
- Replies: 3
- Views: 1853
Last Trade Time? [SOLVED]
Hi, when trying to get time for entry trade I successfully use: PositionEntryTime= CurrentPosition.OpenTrades.Item(0).EntryOrder.Time however, when trying to get the time for the exit from the last trade by using the following code I get nothing in return: PositionEndTime = CurrentPosition.ClosedTra...
- 06 Jan 2015
- Forum: MultiCharts .NET
- Topic: show indicator's plots and data when it loads as an object? [SOLVED]
- Replies: 4
- Views: 1978
Re: show indicator's plots and data when it loads as an obje [SOLVED]
Got it, one more question then, when creating an object this way: x_Ind = AddIndicator("Some_Indicator") The parent can read/set data of the child object, is it possible for the child object to read/set data of the parent? something like this: If Me.ChildState = True Then X = Me.Parent.Plots(0).Valu...
- 05 Jan 2015
- Forum: MultiCharts .NET
- Topic: passing Inputs between strategy and indicators fail
- Replies: 2
- Views: 1342
Re: passing Inputs between strategy and indicators fail
I'll make an example that replicates it, thx much!
- 04 Jan 2015
- Forum: MultiCharts .NET
- Topic: show indicator's plots and data when it loads as an object? [SOLVED]
- Replies: 4
- Views: 1978
show indicator's plots and data when it loads as an object? [SOLVED]
Hi, when a strategy loads an indicator that implements and calculate some plots as an object: x_Ind = AddIndicator("Some_Indicator") however when it loads as an object I cant see the plots data nor the plots drawings.. is there any way to tell MC to make that object visible? the only way I can do th...
- 04 Jan 2015
- Forum: MultiCharts .NET
- Topic: passing Inputs between strategy and indicators fail
- Replies: 2
- Views: 1342
passing Inputs between strategy and indicators fail
Hi All, I have a strategy based on an indicator which is based on a different indicator, all the three (1 strategy and 2 indicators) have the same input interface: <Input()> Public Property Big_Length As Integer <Input()> Public Property Small_Length As Integer Public Sub New(ByVal _ctx As Object) M...
- 24 Dec 2014
- Forum: MultiCharts .NET
- Topic: External Dll error msg [SOLVED]
- Replies: 3
- Views: 2058
Re: External Dll error msg [SOLVED]
silly me, had to add another reference for it to work.
anyways, if anyone interested there's a working example on how to send SMS from your study using VB.Net http://www.multicharts.com/discussion/v ... 19&t=47808
anyways, if anyone interested there's a working example on how to send SMS from your study using VB.Net http://www.multicharts.com/discussion/v ... 19&t=47808
- 24 Dec 2014
- Forum: User Contributed Studies
- Topic: VB.Net Working Example - SMS from study (Using Twilio)
- Replies: 0
- Views: 3562
VB.Net Working Example - SMS from study (Using Twilio)
get your API credentials from Twilio account https://www.twilio.com/ copy your Account Sid and Auth Token download the attached Twilio's Dll's and add both to your study To add a reference to your study just right click on the body of the study and select "reference..." http://go-ram.s3.amazonaws.co...
- 23 Dec 2014
- Forum: MultiCharts .NET
- Topic: External Dll error msg [SOLVED]
- Replies: 3
- Views: 2058
Re: External Dll error msg [SOLVED]
Thanks Henry for your reply, the Dll is 64b and I'm using the MC 64b version as well, any other thoughts?
Thx again,
Best,
R.
Thx again,
Best,
R.
- 22 Dec 2014
- Forum: MultiCharts .NET
- Topic: External Dll error msg [SOLVED]
- Replies: 3
- Views: 2058
External Dll error msg [SOLVED]
Hi All,
When trying to execute a successfully compiled study with a reference to an external Dll (Twilio) I got the following error message:
Any thoughts on how to fix this?
Thank you all in advanced!
Cheers,
R.
When trying to execute a successfully compiled study with a reference to an external Dll (Twilio) I got the following error message:
Any thoughts on how to fix this?
Thank you all in advanced!
Cheers,
R.
- 16 Dec 2014
- Forum: MultiCharts .NET
- Topic: getting PnL for open trade
- Replies: 1
- Views: 1304
getting PnL for open trade
Hi all, Using VB.Net I'm trying without any success :( to read the PnL (-377.75 in the image below) of an open trade: http://go-ram.s3.amazonaws.com/MultiCharts_Support/PnL.png pls advice as i tried anything with Profit related and got lots of numbers but not the desired one.. Thank you all in advan...
- 16 Dec 2014
- Forum: MultiCharts .NET
- Topic: Need help: Use of Globals in VB.Net [SOLVED]
- Replies: 2
- Views: 1734
Re: Need help: Use of Globals in VB.Net [SOLVED]
the Reference to the DLL fixed the problem!
Thx much!
Best,
R.
Thx much!
Best,
R.
- 13 Dec 2014
- Forum: MultiCharts .NET
- Topic: Need help: Use of Globals in VB.Net [SOLVED]
- Replies: 2
- Views: 1734
Need help: Use of Globals in VB.Net [SOLVED]
following L Lewis' post http://www.multicharts.com/discussion/viewtopic.php?f=19&t=45280#p97909 on how to use: "A Native C# Solution for Global Storage" I'm hitting a brick wall from the get go.. 1. I imported Globals.pln into PLEditor (i get a red icon) http://go-ram.s3.amazonaws.com/MultiCharts_Su...
- 12 Dec 2014
- Forum: MultiCharts .NET
- Topic: Some system error with missing reg key - need help [SOLVED]
- Replies: 3
- Views: 1788
Re: Some system error with missing reg key - need help [SOLVED]
got it, thx much.
- 12 Dec 2014
- Forum: MultiCharts .NET
- Topic: Some system error with missing reg key - need help [SOLVED]
- Replies: 3
- Views: 1788
Re: Some system error with missing reg key - need help [SOLVED]
UPDATE: the error is no longer appear, I guess it was me trying to output.writeline some value without .ToString... my bad.
however the second part of the question still stands, how can i see the full error message or system log?
TIA!
however the second part of the question still stands, how can i see the full error message or system log?
TIA!
- 12 Dec 2014
- Forum: MultiCharts .NET
- Topic: Some system error with missing reg key - need help [SOLVED]
- Replies: 3
- Views: 1788
Some system error with missing reg key - need help [SOLVED]
Hi, I have an indicator that is reading information from other indicators (I'm using VB.Net) it all worked well until this morning, when i add my indicator to the chart i get this error msg: http://go-ram.s3.amazonaws.com/MultiCharts_Support/error_msg.png I only can relate to the latest part of the ...
- 08 Dec 2014
- Forum: MultiCharts .NET
- Topic: Best practice for different resolution chart and indicator? [SOLVED]
- Replies: 2
- Views: 1676
Re: Best practice for different resolution chart and indicat [SOLVED]
Great! thx much Henry!
- 08 Dec 2014
- Forum: MultiCharts .NET
- Topic: Range Bar (Point) MC.NET64 [SOLVED]
- Replies: 2
- Views: 1517
Re: Range Bar (Point) MC.NET64 [SOLVED]
i just did , thx.
- 08 Dec 2014
- Forum: MultiCharts .NET
- Topic: Range Bar (Point) MC.NET64 [SOLVED]
- Replies: 2
- Views: 1517
Range Bar (Point) MC.NET64 [SOLVED]
when trying to set my chart using point instead of time i get the following:
any estimation on when this major feature will be available?
any estimation on when this major feature will be available?
- 07 Dec 2014
- Forum: MultiCharts .NET
- Topic: Best practice for different resolution chart and indicator? [SOLVED]
- Replies: 2
- Views: 1676
Best practice for different resolution chart and indicator? [SOLVED]
Hi,
Can anyone pls point me on how to work with different resolutions between chart and indicator?
for example, if I have a 1 minute chart and i want my sub chart indicator, lets say MACD, in 1 hour resolution.. is it possible?
Thank much in advance,
Best,
R.
Can anyone pls point me on how to work with different resolutions between chart and indicator?
for example, if I have a 1 minute chart and i want my sub chart indicator, lets say MACD, in 1 hour resolution.. is it possible?
Thank much in advance,
Best,
R.
- 07 Dec 2014
- Forum: MultiCharts .NET
- Topic: read value from one indicator into another? [SOLVED]
- Replies: 4
- Views: 4683
Re: read value from one indicator into another? [SOLVED]
For anyone how may be interested on how to do it using VB.Net: add an Import Imports PowerLanguage.Indicator add a variable Private MyBollinger as PowerLanguage.Indicator.vb_Bollinger_Bands in Sub Create() add MyBollinger = AddIndicator("vb_Bollinger_Bands") and to get the high band value in Sub Cal...
- 07 Dec 2014
- Forum: MultiCharts .NET
- Topic: read value from one indicator into another? [SOLVED]
- Replies: 4
- Views: 4683
Re: read value from one indicator into another? [SOLVED]
Thx JoshM, I missed that post in my search, I'll look into it!
Cheers,
R.
Cheers,
R.
- 07 Dec 2014
- Forum: MultiCharts .NET
- Topic: read value from one indicator into another? [SOLVED]
- Replies: 4
- Views: 4683
read value from one indicator into another? [SOLVED]
Hi all, Using VB.Net I'm trying to read a value from one indicator into my own indicator, for example, in the image below my indicator is the one in the on bottom and the Bollinger addon is the Sub One chart: http://www.multicharts.com/discussion/download/file.php?mode=view&id=8480&sid=47caa889cf363...
- 04 Dec 2014
- Forum: MultiCharts .NET
- Topic: how to use CountIF? [SOLVED]
- Replies: 2
- Views: 1829
Re: how to use CountIF? [SOLVED]
for anyone interested in a working example: Imports System Imports System.Drawing Imports PowerLanguage Imports PowerLanguage.Indicator Imports PowerLanguage.Function Imports System.Linq Namespace PowerLanguage.Indicator Public Class countIF Inherits IndicatorObject Public Sub New(ByVal _ctx As Obje...
- 02 Dec 2014
- Forum: MultiCharts .NET
- Topic: I'm losing it :( need some basic explanation pls.. [SOLVED]
- Replies: 4
- Views: 1782
Re: I'm losing it :( need some basic explanation pls.. [SOLVED]
Thanks much!!!
You can use Bars.FullSymbolData.Count for that.
- 02 Dec 2014
- Forum: MultiCharts .NET
- Topic: I'm losing it :( need some basic explanation pls.. [SOLVED]
- Replies: 4
- Views: 1782
Re: I'm losing it :( need some basic explanation pls.. [SOLVED]
@Henry,
Thank you for your explanation, if so how can i know the total bars count before CalcBar event?
Thanks again.
Best,
R.
Thank you for your explanation, if so how can i know the total bars count before CalcBar event?
Thanks again.
Best,
R.
- 01 Dec 2014
- Forum: MultiCharts .NET
- Topic: I'm losing it :( need some basic explanation pls.. [SOLVED]
- Replies: 4
- Views: 1782
I'm losing it :( need some basic explanation pls.. [SOLVED]
Hi, can someone pls explain me why do i get this: when running this i get the correct value (240 in this case): Protected Overrides Sub CalcBar() If Bars.LastBarOnChart Then dim BarsCount as Integer BarsCount = Bars.CurrentBar Output.WriteLine("BarsCount: " & BarsCount.ToString) End if End Sub now, ...
- 01 Dec 2014
- Forum: MultiCharts .NET
- Topic: how to use CountIF? [SOLVED]
- Replies: 2
- Views: 1829
how to use CountIF? [SOLVED]
Dear All, I'm looking for a way of getting the number of times a certain price was crossed over from last bar, I know how to get this done using loops but as I need to scan many prices I prefer to use CountIF instead of loops inside loops.. Can anyone pls point me on how to do this? Thanks much in a...
- 30 Nov 2014
- Forum: MultiCharts .NET
- Topic: is it possible to plot backwards? [SOLVED]
- Replies: 3
- Views: 1851
Re: is it possible to plot backwards? [SOLVED]
got it!
MANY THANKS!!!!
Code: Select all
BarsCount = BarsCount + 1
if BarsCount = 15 Then
BarsCount = 0
' Get the highest high for the last 15 bars
highestHigh = Bars.High.Highest(15)
For i As Integer = 0 To 15
myPlot.Set(i, highestHigh)
Next
End If
- 30 Nov 2014
- Forum: MultiCharts .NET
- Topic: is it possible to plot backwards? [SOLVED]
- Replies: 3
- Views: 1851
Re: is it possible to plot backwards? [SOLVED]
@JoshM many thanks for your reply! by using "Bars.LastBarOnChart" i get to plot only last calculation: http://go-ram.s3.amazonaws.com/MultiCharts_Support/JoshM_1.png what I'm trying to achieve is for every n bars I do some calculation and then to plot back, should look something like this: http://go...
- 30 Nov 2014
- Forum: MultiCharts .NET
- Topic: Newbie - Highest vb.net [SOLVED]
- Replies: 1
- Views: 1296
Re: Newbie - Highest vb.net [SOLVED]
pls ignore this question and re highest high, this works for me:
Cheers,
R.
Code: Select all
' Get the highest high for the last 15
HighestHigh = Bars.High.Highest(15)
Output.WriteLine(HighestHigh.ToString)
R.
- 30 Nov 2014
- Forum: MultiCharts .NET
- Topic: is it possible to plot backwards? [SOLVED]
- Replies: 3
- Views: 1851
is it possible to plot backwards? [SOLVED]
Hi All, my goal is to have some calculation every 10 bars and based on the result to plot on those last 10 bars.. for example (if only it was that easy :)) x = MyFunction() for i = 0 to 9 me.plot1.set(MyBase.Bars.CurrentBar - i, x) next i is there any way to achieve something like that? Thanks much ...
- 28 Nov 2014
- Forum: MultiCharts .NET
- Topic: Newbie - Highest vb.net [SOLVED]
- Replies: 1
- Views: 1296
Newbie - Highest vb.net [SOLVED]
Hi All, I'm using VB.Net and I'm trying to get the highest price in the last 30 days (the chart itself goes one year back for ex.), I want to get the Highest price at the Protected Overrides Sub StartCalc() and not at the Protected Overrides Sub CalcBar() my current miserable code is: Output.WriteLi...
- 28 Nov 2014
- Forum: MultiCharts
- Topic: sellshort getting Market instead of Limit
- Replies: 2
- Views: 1363
Re: sellshort getting Market instead of Limit
sellshort "at close" limit
if best bid on the open of the next bar > "at close" then your order will execute as an aggressor sell. Aka a market order, worse price = "at close".
Else it will join the book as a limit order.
that makes seance
Thx!
- 26 Nov 2014
- Forum: MultiCharts
- Topic: sellshort getting Market instead of Limit
- Replies: 2
- Views: 1363
sellshort getting Market instead of Limit
Hi All,
as part of many POC's, I've tried the following command in my signal:
although i get to see the order executed in IB's TWS, the sell to open executed as Market instead of Limit, what am I doing wrong here?
Thx much in advance,
Cheers,
R.
as part of many POC's, I've tried the following command in my signal:
Code: Select all
sellshort Next Bar At close Limit;
Thx much in advance,
Cheers,
R.
- 26 Nov 2014
- Forum: MultiCharts
- Topic: same tick - sevral (unexpected) event results [SOLVED]
- Replies: 9
- Views: 2192
Re: same tick - sevral (unexpected) event results [SOLVED]
@TJ
Awesome! added High > Low and that indeed fixed this! you rock!
many thanks!!
Awesome! added High > Low and that indeed fixed this! you rock!
many thanks!!
- 26 Nov 2014
- Forum: MultiCharts
- Topic: same tick - sevral (unexpected) event results [SOLVED]
- Replies: 9
- Views: 2192
Re: same tick - sevral (unexpected) event results [SOLVED]
is this good?Please post a larger screenshot... with more bars on the left of the text objects.Hi TJ,
I'm using Candlestick and 1 second resolution.
http://go-ram.s3.amazonaws.com/MultiCha ... Screen.png
- 26 Nov 2014
- Forum: MultiCharts
- Topic: same tick - sevral (unexpected) event results [SOLVED]
- Replies: 9
- Views: 2192
Re: same tick - sevral (unexpected) event results [SOLVED]
Hi TJ, I'm using Candlestick and 1 second resolution. Hi all, :: Can anyone explain the logic behind this? I was under the impression that each candle fires the script only once.. Thank you all in advance, Best, R. What type of bar are those? What is the resolution? If you have bars with H=L, the te...
- 26 Nov 2014
- Forum: MultiCharts
- Topic: same tick - sevral (unexpected) event results [SOLVED]
- Replies: 9
- Views: 2192
Re: same tick - sevral (unexpected) event results [SOLVED]
if you make this comment line don't forget var5D will be always at zero !
var5D > OverBought never go
var5D < OverSold always true
just in first read ....
got it. thx much for that tip!
- 26 Nov 2014
- Forum: MultiCharts
- Topic: same tick - sevral (unexpected) event results [SOLVED]
- Replies: 9
- Views: 2192
same tick - sevral (unexpected) event results [SOLVED]
Hi all, Newbie need your help with some basic understanding which I don't have :) I have the following study script: inputs: Price( Close ), Length_2D( 2 ), Length_3D( 3 ), Length_5D( 5 ), OverSold( 20 ), OverBought( 80 ), OverSColor( Cyan ), OverBColor( Red ) ; variables: var2D( 0 ), var3D( 0 ) , v...
- 25 Nov 2014
- Forum: MultiCharts
- Topic: problem with Connection [SOLVED]
- Replies: 2
- Views: 1245
Re: problem with Connection [SOLVED]
Thank you very much for quick and useful reply!!
Appreciate it much,
Cheers,
R.
Appreciate it much,
Cheers,
R.
- 25 Nov 2014
- Forum: MultiCharts
- Topic: problem with Connection [SOLVED]
- Replies: 2
- Views: 1245
problem with Connection [SOLVED]
Hi All, I'm having problems with getting real time quotes and adding new instruments while I'm connected to the data feed through IB's TWS: Connection settings: as you can see MC is connected http://go-ram.s3.amazonaws.com/MultiCharts_Support/IB_API.png Instrument Format: http://go-ram.s3.amazonaws....
- 25 Nov 2014
- Forum: MultiCharts
- Topic: Sharing variables between studies? [SOLVED]
- Replies: 6
- Views: 1626
Re: Sharing variables between studies? [SOLVED]
@JoshM your point is well taken, thanks much! In the screenshot below I have 4 different studies: 1. Ram_Three_Step 2. RSI 2 Days 3. RSI 3 Days 4. RSI 5 Days My goal is to read the data from the RSI's studies (marked in red) in the Ram_Three_Step script using historical data: http://go-ram.s3.amazon...
- 25 Nov 2014
- Forum: MultiCharts
- Topic: Sharing variables between studies? [SOLVED]
- Replies: 6
- Views: 1626
Re: Sharing variables between studies? [SOLVED]
@Smoky
many thanks for your quick reply!
I've added the Data sources as hidden to my main chart but how do i read it from my study?
TIA!!!
many thanks for your quick reply!
I've added the Data sources as hidden to my main chart but how do i read it from my study?
TIA!!!
- 25 Nov 2014
- Forum: MultiCharts
- Topic: Sharing variables between studies? [SOLVED]
- Replies: 6
- Views: 1626
Sharing variables between studies? [SOLVED]
Dear All, I'm new to MC and still have some difficulties with some basic stuff so please bare with me :) I'm using MC64b and Power Language Editor V3. In the screenshot below I have 4 different studies: 1. Ram_Three_Step 2. RSI 2 Days 3. RSI 3 Days 4. RSI 5 Days My goal is to read the data from the ...