Search found 113 matches
- 06 Apr 2020
- Forum: MultiCharts .NET
- Topic: How to Make "double[]" Global
- Replies: 5
- Views: 1955
Re: How to Make "double[]" Global
For those who was wondering what I'm using it for. :) I use it for applying the last wave sum value ( including zigzag waves ) to the whole wave (length), and since the waves are weighted ( decreases a bit by the length ), this solution is necessary: private double[] m_Wave = new double[56]; for ( i...
- 06 Apr 2020
- Forum: MultiCharts .NET
- Topic: How to Make "double[]" Global
- Replies: 5
- Views: 1955
Re: How to Make "double[]" Global
Thank your very much.
- 05 Apr 2020
- Forum: MultiCharts .NET
- Topic: How to Make "double[]" Global
- Replies: 5
- Views: 1955
Re: How to Make "double[]" Global
Hi.
Thanks for your reply.
Best regards,
Johannes Hillestad Baumann
Thanks for your reply.
Yes.Do you mean with 'global' that the double array should be accessible anywhere in the same script?
Best regards,
Johannes Hillestad Baumann
- 03 Apr 2020
- Forum: MultiCharts .NET
- Topic: How to Make "double[]" Global
- Replies: 5
- Views: 1955
How to Make "double[]" Global
Hi.
I'm struggling find this solution.
This works...
...but it isn't global.
Any suggestions?
I'm struggling find this solution.
This works...
Code: Select all
double[] m_Array = new double[34];
for ( int I = 0; I < 34; I++ )
m_Array[I] = [ SOME CODE ];
Any suggestions?
- 10 Mar 2020
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2507
Re: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
It's "m_From1stBarCounter" that is causing the bug. :) public double Method( double Value ) { // Initialie: I = "0" · Done = "False" I = 0; Done = false; while ( !Done && I < m_From1stBarCounter ) { if ( [ SOME CODE ] ) Done = true; // Finalize: I ++ I++; } } protected override void StartCalc() { m_...
- 03 Mar 2020
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2507
Re: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
I solved it by switching some code from "while" to "for". :) The "while" even had a limit to it. This is probably a bug with the initial calculation. Example - "while": // Core Functions private int m_From1stBarCounter; // Begins counting 144 + 55 bars back // Initialize I = 0; Done = false; // Calc...
- 02 Mar 2020
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2507
Re: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
Hi. I've seen through my code, and it should work with 233 bars. The indicator needs 144 + 55 bars, but even with 1000 bars back, the indicator can turn red some times, and sometimes not ( indication of not enough bars ). Recalculation of the indicator can make it work. I have automatic recalculatio...
- 01 Mar 2020
- Forum: MultiCharts .NET
- Topic: Feature Request: Apply for All Charts Option ( in " Format Instrument " )
- Replies: 1
- Views: 1089
Re: Feature Request: Apply for All Charts Option ( in " Format Instrument " )
Of course, only the preferences that are changed change across all the charts. Or an additional subcheckbox; " Change all Preferences ".
- 29 Feb 2020
- Forum: MultiCharts .NET
- Topic: Feature Request: Apply for All Charts Option ( in " Format Instrument " )
- Replies: 1
- Views: 1089
Feature Request: Apply for All Charts Option ( in " Format Instrument " )
Hi. I was wondering if this could be implemented for the next version of MultiCharts. If you have 18 charts in a workspace, and want to change for example the pair you use, and have 20 workspaces, this option would apply the changes to all charts in the workspace that the chart is in. :) It would be...
- 10 Nov 2019
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2507
Re: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
If a moving average is, for example, "34" in length, it would calculate the moving average of bar "1", and the rest is calculated as "0" ( or the same as value of the 1st bar ). The solution would be to add virtual bars (values), as "0", from actual 1st bar to where the calculation starts, as bars b...
- 09 Nov 2019
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2507
Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
Hi. I've discovered that doing different things in "CalcBar()" affects what is treated as 1st bar on a chart, or where the calculation of an indicator starts. I have done some work on discovering what was the cause. For example, doing this... // Core Functions: m_CF_curHigh = Bars.High[0]; m_CF_curL...
- 14 Sep 2019
- Forum: MultiCharts .NET
- Topic: Playback 1 Week Back with Charts Greater than 1 Week
- Replies: 1
- Views: 939
Playback 1 Week Back with Charts Greater than 1 Week
Hi. I've noticed that when you have charts from for example 1 minute to 2 weeks ( based on 14 days ), playback can not be started with " Global Mode ". If you initiate playback with only the 2 week chart with playback 1 week back, the play button is green. :P Can this be fixed? :) Best regards, Joha...
- 25 Aug 2019
- Forum: MultiCharts .NET
- Topic: ToolBar Customisation is not Remembered ( MC 14 Beta 1 )
- Replies: 1
- Views: 1048
ToolBar Customisation is not Remembered ( MC 14 Beta 1 )
Hi.
Now the customisation for the toolbars is not remembered for all commands.
To reproduce the issue, just uncheck all the commands and restart MultiCharts.
Best regards,
Johannes Hillestad Baumann
Now the customisation for the toolbars is not remembered for all commands.
To reproduce the issue, just uncheck all the commands and restart MultiCharts.
Best regards,
Johannes Hillestad Baumann
- 10 Mar 2019
- Forum: MultiCharts .NET
- Topic: Is there a way to Disable the Trade Button?
- Replies: 1
- Views: 1171
Is there a way to Disable the Trade Button?
Hi.
I don't use the right price scale, and the trade button ( which I don't use ) is in the way, of a text object.
Is there a way to disable the trade button?
Best regards,
Johannes Hillestad Baumann
I don't use the right price scale, and the trade button ( which I don't use ) is in the way, of a text object.
Is there a way to disable the trade button?
Best regards,
Johannes Hillestad Baumann
- 04 Mar 2019
- Forum: MultiCharts .NET
- Topic: Color.FromArgb() Alpha parameter useless ? [SOLVED]
- Replies: 6
- Views: 5301
Re: Color.FromArgb() Alpha parameter useless ? [SOLVED]
It's actually important with alpha. Especially with compact indicators with plots, trendlines, grids, levels and other stuff, all in one place. :) Indicators on top of each other is also something that makes alpha useful. I hope this is at least implemented in MultiCharts 13. To blend colors with th...
- 28 Feb 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: Playback - No Bars for a Symbol with " Global Mode " - Jump to Next Bar
- Replies: 2
- Views: 1447
Re: Feature Request: Playback - No Bars for a Symbol with " Global Mode " - Jump to Next Bar
Hi. Another idea is that there could be some indication for symbols making the jump with data there, and where the jump was. Symbols without data making the jump, there could just be a timeline. A dropdown menu besides " Global Mode " to enable this would be nice. I have several symbols in " Global ...
- 26 Feb 2019
- Forum: MultiCharts .NET
- Topic: Amount of Decimals Changing in the Background? [SOLVED]
- Replies: 2
- Views: 1598
Re: Amount of Decimals Changing in the Background? [SOLVED]
Thank you very much!
- 25 Feb 2019
- Forum: User Contributed Studies
- Topic: Jobauma BuySell ( Works well with Playback )
- Replies: 2
- Views: 2381
Re: Jobauma BuySell ( Works well with Playback )
Made the automatic tick unit detector to be more stable. The position can sometimes be 10 times more than what it should be ( or more? ). Going to solve the problem after a while.
Best regards,
Johannes Hillestad Baumann
Best regards,
Johannes Hillestad Baumann
- 24 Feb 2019
- Forum: MultiCharts .NET
- Topic: Amount of Decimals Changing in the Background? [SOLVED]
- Replies: 2
- Views: 1598
Amount of Decimals Changing in the Background? [SOLVED]
Hi. I've achieved to automatically make ticks to pips ( or what a tick is ), but there seems to be something wrong. It doesn't work all the time. The concept is to count the decimals to decide what 1 tick (pip) is. I've made an average of the counting of decimals ( of the value of "close" ). This ma...
- 24 Feb 2019
- Forum: MultiCharts .NET
- Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
- Replies: 6
- Views: 2438
Re: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Hi, darob. I tried to do something in "StartCalc", but I couldn't make it work. The part of the zigzag code works like this: public void ZigzagCountExtremeBarsBack( out int ExtremeBarsBack, double Extreme ) { int I = 0; bool Done = false; ExtremeBarsBack = 0; while (!Done) { if ( m_Zigzag_Price[I] !...
- 23 Feb 2019
- Forum: MultiCharts .NET
- Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
- Replies: 6
- Views: 2438
Re: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Hi. I'm sincerely sorry! It was something in the code that prevented (locked) the indicator to plot other things ( at a certain point ). This should be fixed. I can tell you that it was a grid ( with trendlines ) that did something when one of the values was equal to zero ( based on extremes of zigz...
- 23 Feb 2019
- Forum: MultiCharts .NET
- Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
- Replies: 6
- Views: 2438
Re: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Hi. It isn't something wrong with the code. :) Changing the code to this ( with a zero instead )... if ( Bars.FullSymbolData.Current > 0 ) { // CODE } ...makes it work. I can still have only 34 plots back by reseting, but it's a heavy indicator, so it takes some time to load. I'm using it to decide ...
- 18 Feb 2019
- Forum: MultiCharts .NET
- Topic: Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
- Replies: 6
- Views: 2438
Inconsistency with "Bars.FullSymbolData.Count" and/or "Bars.FullSymbolData.Current" [SOLVED]
Hi. I use "Bars.FullSymbolData.Count" and "Bars.FullSymbolData.Current" to make a set amount of bars ( regardless of " Bars Back" ), like this. int NumberOfBars = 144; if ( Bars.FullSymbolData.Current > Bars.FullSymbolData.Count - NumberOfBars ) { // [CODE] } Opening charts for the 1st time works fi...
- 16 Feb 2019
- Forum: User Contributed Studies
- Topic: Jobauma BuySell ( Works well with Playback )
- Replies: 2
- Views: 2381
Re: Jobauma BuySell ( Works well with Playback )
Hi. I've made the trigger ( of levels ) to be "close" on 1st bar, and "high/low" on coming bars ( no matter what ). The position opens at "high/low" too ( because of the low resolution of playback - it's practice after all ). Since your lowest timeframe on playback probably is 1M, the indicator does...
- 14 Feb 2019
- Forum: MultiCharts .NET
- Topic: IQFeed - Huge Gaps Right Before Last Bar
- Replies: 5
- Views: 2023
Re: IQFeed - Huge Gaps Right Before Last Bar
Thanks, Henry.
I still have to to reload (ctrl+R), but it doesn't work all the time. I'll leave the setting on.
IQFeed Client 6.0.1.1 Beta didn't solve the issue.
I can live with the problem.
Best regards,
Johannes Hillestad Baumann
I still have to to reload (ctrl+R), but it doesn't work all the time. I'll leave the setting on.
IQFeed Client 6.0.1.1 Beta didn't solve the issue.
I can live with the problem.
Best regards,
Johannes Hillestad Baumann
- 08 Feb 2019
- Forum: MultiCharts .NET
- Topic: IQFeed - Huge Gaps Right Before Last Bar
- Replies: 5
- Views: 2023
Re: IQFeed - Huge Gaps Right Before Last Bar
Hi.
Reloading the chart ("Ctrl+R") was the solution, after all. But it doesn't work all the time. Suddenly it can work.
The gaps can be up to 2 weeks.
I'm going to try IQFeed Client 6.0.1.1 Beta, to see if the issue is completely gone.
Best regards,
Johannes Hillestad Baumann
Reloading the chart ("Ctrl+R") was the solution, after all. But it doesn't work all the time. Suddenly it can work.
The gaps can be up to 2 weeks.
I'm going to try IQFeed Client 6.0.1.1 Beta, to see if the issue is completely gone.
Best regards,
Johannes Hillestad Baumann
- 06 Feb 2019
- Forum: MultiCharts .NET
- Topic: IQFeed - Huge Gaps Right Before Last Bar
- Replies: 5
- Views: 2023
Re: IQFeed - Huge Gaps Right Before Last Bar
I think I've found the problem. :) I had 8000 bars back for 12 charts ( 1 symbol ). Steps to reproduce the solution: 1 Reduce "8000" ( " Format Instruments... > Settings > Bars Back " ) on all charts to something like "377". 2 Save the workspace. 3 Go to " QuoteManager > Symbol > Right-click > Delet...
- 06 Feb 2019
- Forum: MultiCharts .NET
- Topic: IQFeed - Huge Gaps Right Before Last Bar
- Replies: 5
- Views: 2023
IQFeed - Huge Gaps Right Before Last Bar
Hi. This is something that is occurring almost all the time. Why isn't MultiCharts loading a number of bars right before the last bar? :) Is it IQFeed or is it MultiCharts that is the cause? When reloading the chart there is always just one bar before the gap. Is there a setting to solve the issue? ...
- 22 Jan 2019
- Forum: MultiCharts .NET
- Topic: Color.FromArgb() Alpha parameter useless ? [SOLVED]
- Replies: 6
- Views: 5301
Re: Color.FromArgb() Alpha parameter useless ? [SOLVED]
Hi, WildWex. You have to blend the color with the background color of your chart. :) // Method public static Color BlendColor( Color MainColor, Color BGColor, double Opacity ) { Opacity = Opacity * 2.55; byte R = (byte)( ( MainColor.R * Opacity / 255 ) + BGColor.R * ( 255 - Opacity ) / 255 ); byte G...
- 20 Jan 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: Playback - No Bars for a Symbol with " Global Mode " - Jump to Next Bar
- Replies: 2
- Views: 1447
Feature Request: Playback - No Bars for a Symbol with " Global Mode " - Jump to Next Bar
Hi. " Global Mode " makes some symbols to stop, when there is no bars of data ( and bars for other symbols ): 1 It would be nice with a button to jump to next bar, of 1 current symbol ( all symbols make the jump ). :) 2 Time shown for next bar would also be nice ( to consider if you want to jump to ...
- 20 Jan 2019
- Forum: MultiCharts .NET
- Topic: How to Link Inputs of the Same Indicator on a Workspace?
- Replies: 3
- Views: 1717
Re: How to Link Inputs of the Same Indicator on a Workspace?
Thank you.
It's somewhat above my programming skills, but I will look further into it, when the time comes.
Some examples would be really appreciated, but I will probably have to find out for myself.
Thanks.
Best regards,
Johannes Hillestad Baumann
It's somewhat above my programming skills, but I will look further into it, when the time comes.
Some examples would be really appreciated, but I will probably have to find out for myself.
Thanks.
Best regards,
Johannes Hillestad Baumann
- 15 Jan 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: Playback Jump Time Treated as Last Bar and " Bars Back " = Constant
- Replies: 2
- Views: 1256
Re: Feature Request: Playback Jump Time Treated as Last Bar and " Bars Back " = Constant
Hi. I've set my indicators to calculate for the last 117 bars ( and reset/delete plots/objects exceeding this limit ). I use my own bars indicator for bars, so I've turned on " Format Instruments... > Style > Invisible bars ". Since the original bars are invisible, does it mean they are still there ...
- 14 Jan 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: A Set Amount of Visible Bars ( Regardless of Chart Size )
- Replies: 3
- Views: 1430
Re: Feature Request: A Set Amount of Visible Bars ( Regardless of Chart Size )
I wasn't able to find the "Create an account" button.
How do you create an account?
Best regards,
Johannes Hillestad Baumann
How do you create an account?
Best regards,
Johannes Hillestad Baumann
- 14 Jan 2019
- Forum: MultiCharts .NET
- Topic: How to delete previously drawn object and not last one? [SOLVED]
- Replies: 10
- Views: 7016
Re: How to delete previously drawn object and not last one? [SOLVED]
Hi. I have a code that sometimes creates the same trendline object on the same bar ( the code has to be like that ). It's a code where several trendlines are created with calculation from left to right ( more than 1 in one go ) in different ways. Counters to keep track of which number the trendlines...
- 13 Jan 2019
- Forum: MultiCharts .NET
- Topic: How to delete previously drawn object and not last one? [SOLVED]
- Replies: 10
- Views: 7016
Re: How to delete previously drawn object and not last one? [SOLVED]
Hi. if (!object.Equals( tl_TrendLine[10], null )) { if (tl_TrendLine[10].Exist) tl_TrendLine[10].Delete(); } First I though this code kept a precise number of trendlines within 10. :) But I figured out that it deletes trendlines a set amount of bars back. I like this solution better: if (!object.Equ...
- 13 Jan 2019
- Forum: MultiCharts .NET
- Topic: Every Tick in Sequence in Difference Indexes of an Array on Same Bar [SOLVED]
- Replies: 1
- Views: 841
Re: Every Tick in Sequence in Difference Indexes of an Array on Same Bar
Hi. I solved it with storing the previous tick change ( only interested in the previous tick value ) :) // If High has Changed ( not Low ) if ( Bars.High[0] != m_PreviousTick_High && Bars.Low[0] == m_PreviousTick_Low ) m_HighLow = Bars.High[0]; // If Low has Changed ( not High ) else if ( Bars.Low[0...
- 13 Jan 2019
- Forum: MultiCharts .NET
- Topic: Every Tick in Sequence in Difference Indexes of an Array on Same Bar [SOLVED]
- Replies: 1
- Views: 841
Every Tick in Sequence in Difference Indexes of an Array on Same Bar [SOLVED]
Hi. This is something I'm wondering if is possible. Is it possible to get the sequence of every tick in different indexes of an array on the same bar? :) Example: if (Bars.Time[0]) { Array.Value = Bars.Close[0]; // Array[0] = 0.5500 // Tick 1 // Array[1] = 0.5501 // Tick 2 // Array[2] = 0.5499 // Ti...
- 12 Jan 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
- Replies: 6
- Views: 2627
Re: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
Hi.
I've posted the indicator in " User Contributed Studies " now ( considered done ). The feature request still remains.
Link: viewtopic.php?f=20&t=51834
Best regards,
Johannes Hillestad Baumann
I've posted the indicator in " User Contributed Studies " now ( considered done ). The feature request still remains.
Link: viewtopic.php?f=20&t=51834
Best regards,
Johannes Hillestad Baumann
- 12 Jan 2019
- Forum: User Contributed Studies
- Topic: Jobauma BuySell ( Works well with Playback )
- Replies: 2
- Views: 2381
Jobauma BuySell ( Works well with Playback )
Hi. I've made an indicator I consider done. It only works on "close". You can remove " && Bars.Status == EBarState.Close " from line "1110", but then you will run into trouble. The code should in theory work with live movement, but it's like the indicator just stops to work, if you open a position o...
- 06 Jan 2019
- Forum: MultiCharts .NET
- Topic: Resetting a plot [SOLVED]
- Replies: 3
- Views: 1915
Re: Resetting a plot [SOLVED]
Hi, Tartalognion. To avoid the line you have to set the last color to the background color to make it "invisible". :) Make a counter for the last time the custom color is applied ( if necessary ). p_PlotObject.Set( m_Counter, Bars.Close[m_Counter], Environment.BGColor, 0 ); The color of the line is ...
- 06 Jan 2019
- Forum: MultiCharts .NET
- Topic: Feature Request: Playback Jump Time Treated as Last Bar and " Bars Back " = Constant
- Replies: 2
- Views: 1256
Feature Request: Playback Jump Time Treated as Last Bar and " Bars Back " = Constant
Hi. Issue: I have decided to use 20 workspaces ( * 12 charts ). 8000 bars per chart is something my iMac doesn't handle ( 2 MultiCharts processes ). Reason for 8000 bars is to use playback for 1 week back, including M1. 377 bars per chart is sufficient for my indicators, and is something my iMac han...
- 27 Dec 2018
- Forum: MultiCharts .NET
- Topic: ToolBar to the Right of the Menu Bar
- Replies: 1
- Views: 996
ToolBar to the Right of the Menu Bar
Hi. I have set the ToolBar to the right of the menu bar ( to save space ). The issue is that when I open a chart in fullscreen, "Close", "Maximize" and "Minimize" doesn't appear at the right. :) It isn't a big issue though... An alternative is to move the ToolBar to the left of the menu bar. Thanks....
- 23 Dec 2018
- Forum: MultiCharts .NET
- Topic: Plot Objects - “Compile Study with a New Order of Plot Objects” - Strange Things Occur
- Replies: 3
- Views: 1564
Re: Plot Objects - “Compile the Changed Study” - Strange Things Occur
Sorry for the late reply. :) I wasn't clear enough in the first post ( Edited the "Subject" ). 1 Just make an amount of plot objects, with different shapes. 2 Load the indicator. 3 Reorder the plot object ( in "Create()" ) 4 Compile the study. It seems that MultiCharts remembers the shapes in a chro...
- 23 Dec 2018
- Forum: MultiCharts .NET
- Topic: Indicators not Loading after a Rally Long Time
- Replies: 7
- Views: 2456
Re: Indicators not Loading after a Rally Long Time
Thanks darob.
- 22 Dec 2018
- Forum: MultiCharts .NET
- Topic: Indicators not Loading after a Rally Long Time
- Replies: 7
- Views: 2456
Re: Indicators not Loading after a Rally Long Time
Hi.
Thanks for your reply.
I get this error when applying " File > Preferences... > Data Server Mode > Offline: Use only the locally stored data ".
Can these conditions be changed automatic?
Best regards,
Johannes Hillestad Baumann
Thanks for your reply.
I get this error when applying " File > Preferences... > Data Server Mode > Offline: Use only the locally stored data ".
Can these conditions be changed automatic?
Best regards,
Johannes Hillestad Baumann
- 22 Dec 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
- Replies: 6
- Views: 2627
Re: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
Code: Select all
[EDIT]: Sorry! I left out "m_CalculatePosition_Finished = true;" with "//" (experimented) on " Take Profit " and " Stop Loss ". The position does not stop with this version. :) The code is stable. See next post.
Best regards,
Johannes Hillestad Baumann
- 21 Dec 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: A Set Amount of Visible Bars ( Regardless of Chart Size )
- Replies: 3
- Views: 1430
Feature Request: A Set Amount of Visible Bars ( Regardless of Chart Size )
Hi. I'm wondering if this can be implemented. I'm only interested in 34 bars per chart. I also synchronise a virtual machine of Windows 10 Home between 2 Mac's. It's a iMac 27" and a MacBook Pro 15". I want to use the same workspaces for both of them, since I'm upgrading the workspaces all the time,...
- 17 Dec 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
- Replies: 6
- Views: 2627
Re: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
Hi. I have cleaned up the code a bit, so it's easier to see what I've been thinking. In theory the code should work with live data, but it doesn't work, for some reason. My theory is that "m_CalculatePosition_Finished" is automatically set to "true" on live data ( when there is no line in the code t...
- 15 Dec 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
Yes! I finally found that it is all together just one issue. It seems to be a RAM issue ( with 14 charts * 10 workspaces ). It doesn't matter; all 10 workspaces for one MultiCharts process, or two MultiCharts processes ( with half and half ). I've set up 24 GB of RAM ( 2400 MHz DDR4 · Originally 32 ...
- 15 Dec 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
I think I've found the problem. If one loads for example 14 charts * 10 workspaces ( just to be sure ), then the error occurs. :) Why the buttons doesn't trigger all the time, I'm not sure. "TSB_Delete" does, but "TSB_Buy" and "TSB_Sell" doesn't. The code works on "close", but the buttons doesn't se...
- 15 Dec 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
Hi. By the way, I don't think it is VMware Fusion that is the cause, because if it doesn't work with a timeframe, it can work with another one. The behaviour is always the same with a chart that fails to load the ToolBar, and not with one that succeeds to load it. The reason why the buttons not work...
- 14 Dec 2018
- Forum: MultiCharts .NET
- Topic: How to Link Inputs of the Same Indicator on a Workspace?
- Replies: 3
- Views: 1717
How to Link Inputs of the Same Indicator on a Workspace?
Hi. I am wondering how this can be achieved. If an input is changed from one indicator, how to trigger a recalculation ("ExecControl.Recalculate();") for all other indicators of the same ID on the same workspace. I want the link to be automatic ( regardless of how many charts there are on the worksp...
- 09 Dec 2018
- Forum: MultiCharts .NET
- Topic: " Skip Ticks with Identical Price " Preference not Remebered
- Replies: 1
- Views: 950
[SOLVED]
Hi.
I'm sorry. I didn't check with the latest version. The issue has been solved.
Best regards,
Johannes Hillestad Baumann
I'm sorry. I didn't check with the latest version. The issue has been solved.
Best regards,
Johannes Hillestad Baumann
- 07 Dec 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
- Replies: 6
- Views: 2627
Re: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
I have come to the conclusion that the loading issues with the ToolBar are perhaps because I use VMware Fusion 11 to run Windows 10 Home. So for most of you there are probably no issues there. :) Maybe this is linked to the cause of the buttons not executing orders all the time either. I hope that s...
- 07 Dec 2018
- Forum: MultiCharts .NET
- Topic: " Skip Ticks with Identical Price " Preference not Remebered
- Replies: 1
- Views: 950
" Skip Ticks with Identical Price " Preference not Remebered
Hi.
I not noticed that this is something that does occur. Can it be fixed?
Best regards,
Johannes Hillestad Baumann
I not noticed that this is something that does occur. Can it be fixed?
Best regards,
Johannes Hillestad Baumann
- 07 Dec 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
Hi. I use VMware Fusion 11, because I use Apple products. Everything is fine with this emulator. How could you see if this is the issue? Can this be fixed via MultiCharts, or has it to be fixed via VMware Fusion? By the way, I have installed Windows 10 Home on this emulator. :) I have no problems wi...
- 06 Dec 2018
- Forum: MultiCharts .NET
- Topic: Cumulative Delta inconsistencies
- Replies: 11
- Views: 4833
Re: Cumulative Delta inconsistencies
Hi.
My brother mentioned AMP Futures with the offer of MC .NET included. I completely forgot it. I'm going to look into this. I hope that your issue resolved soon.
Best regards,
Johannes Hillestad Baumann
My brother mentioned AMP Futures with the offer of MC .NET included. I completely forgot it. I'm going to look into this. I hope that your issue resolved soon.
Best regards,
Johannes Hillestad Baumann
- 30 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
- Replies: 6
- Views: 2627
Feature Request: A More User-friendly Buy/Sell Solution Integration for MultiCharts ( Indicator Included )
Hi. I've made an indicator that works well with simulated trading. It has some bugs to it, and unfortunately I couldn't make it to work with live data. I only works on close ( " Bars.Status == EBarState.Close " ). The indicator has regional descriptions everywhere, so it's easy to understand what I'...
- 30 Nov 2018
- Forum: MultiCharts .NET
- Topic: I Keep Getting This Message - How to Turn it Off?
- Replies: 1
- Views: 1537
I Keep Getting This Message - How to Turn it Off?
Hi. I get this message because I have 14 charts * 10 workspaces. It pops up all the time, and covers the last chart I have in the workspaces. How to turn it off? Source: Memory Monitor Message: Warning! MultiCharts64.exe process ( PID = 1204 ) is nearing the GDI objects limit. Current value = 6708, ...
- 28 Nov 2018
- Forum: MultiCharts .NET
- Topic: "out" Issue with Several Methods Linked Together
- Replies: 1
- Views: 908
[SOLVED]
I solved the problem. I just doubled up the "double" methods, executed from the first method "void": I use "out" on "Tension" and "ColorPivot". Code: // 4 Create Gann Percent (Tension) public static double CreateGannPercent( double Ratio, double L0, double L1 ) { double Percent = ( Ratio - L0 ) / ( ...
- 27 Nov 2018
- Forum: MultiCharts .NET
- Topic: "out" Issue with Several Methods Linked Together
- Replies: 1
- Views: 908
"out" Issue with Several Methods Linked Together
Hi. I'm working with a code, but having some problems. "out" for "Tension" works fine, and is in the 1st method ("void"), but "Pivot" is passed on from the 1st method to the 3rd. The 2nd, 3rd and 4th methods are "double" ( and has to be for "Tension" to assign it's calculation in the 1st method ("vo...
- 26 Nov 2018
- Forum: MultiCharts .NET
- Topic: Possible "Method" Bug
- Replies: 2
- Views: 1449
Re: Possible "Method" Bug
Thanks!
It worked.
Best regards,
Johannes Hillestad Baumann
It worked.
Best regards,
Johannes Hillestad Baumann
- 26 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Make the “+/-“ Sign Bigger in PowerLanguage .Net Editor
- Replies: 0
- Views: 902
Feature Request: Make the “+/-“ Sign Bigger in PowerLanguage .Net Editor
Hi.
I was wondering if the “+/-“ sign for “ {/} - #region/#endregion ” to be bigger in the editor ( for retina displays, however ). It's difficult to hit the button.
Best regards,
Johannes Hillestad Baumann
I was wondering if the “+/-“ sign for “ {/} - #region/#endregion ” to be bigger in the editor ( for retina displays, however ). It's difficult to hit the button.
Best regards,
Johannes Hillestad Baumann
- 24 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
By the way, I have to completely remove and insert the indicator if this error occurs. Pressing " Format Indicators... > Status " doesn't work.
- 24 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
I also get this error ( I attached an image ).
The line of the error (615) is the same as " ChartToolBar.AccessToolBar( TB => ", in the previous ToolBar code i sent.
Best regards,
Johannes Hillestad Baumann
The line of the error (615) is the same as " ChartToolBar.AccessToolBar( TB => ", in the previous ToolBar code i sent.
Best regards,
Johannes Hillestad Baumann
- 24 Nov 2018
- Forum: MultiCharts .NET
- Topic: Indicators not Loading after a Rally Long Time
- Replies: 7
- Views: 2456
Re: Indicators not Loading after a Rally Long Time
After all, why does MultiCharts need a connection on Saturdays and Sundays. This is annoying.
Best regards,
Johannes Hillestad Baumann
Best regards,
Johannes Hillestad Baumann
- 22 Nov 2018
- Forum: MultiCharts .NET
- Topic: ToolBar Customisation not Remembered on All Buttons
- Replies: 2
- Views: 1046
Re: ToolBar Customisation not Remembered on All Buttons
Yes indeed.
The best way to reproduce the issues perhaps is to disable all buttons in "Customize > Commands", and not "Customize > Toolbars".
Best reagards,
Johannes Hillestad Baumann
The best way to reproduce the issues perhaps is to disable all buttons in "Customize > Commands", and not "Customize > Toolbars".
Best reagards,
Johannes Hillestad Baumann
- 22 Nov 2018
- Forum: MultiCharts .NET
- Topic: Indicators not Loading after a Rally Long Time
- Replies: 7
- Views: 2456
Re: Indicators not Loading after a Rally Long Time
Hi. It's after the connection is established. :P The charts are just black, and the indicators comes one by one chart from window 1, 2, 3, etc. It's usually for 5 charts, then it suddenly pops up on the rest 5. This happens simultaneously on 5 workspaces with 10 charts. :) Best regards, Johannes Hil...
- 22 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Re: Bug: Toolbar not Launching on Startup [SOLVED]
Hi. Thanks for your reply. Here is the ToolBar Code: using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace PowerLanguage.Indicator { [SameAsSymbol(true)] [RecoverDrawings(false)] public class _Jobauma_BuySell_ToolBar_Illustration : IndicatorObjec...
- 22 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Arrange Windows Vertically with 2 Rows
- Replies: 3
- Views: 1502
Re: Feature Request: Arrange Windows Vertically with 2 Rows
Hi.
I have attached two files illustration the difference.
Best regards,
Johannes Hillestad Baumann
I have attached two files illustration the difference.
Best regards,
Johannes Hillestad Baumann
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: Indicators not Loading after a Rally Long Time
- Replies: 7
- Views: 2456
Indicators not Loading after a Rally Long Time
Hi. Indicators are not loading after a really long time with 10 charts * 5 workspaces ( 50 charts ). This is not the case every time. I’m using Interactive Brokers ( if that matters ). Something else is that the charts are waiting for a connection ( even if it’s Saturday or Sunday ). This is isn’t n...
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: ToolBar Customisation not Remembered on All Buttons
- Replies: 2
- Views: 1046
ToolBar Customisation not Remembered on All Buttons
Hi.
I just discovered that this is an issue.
Hope it gets resolved after a while.
Best regards,
Johannes Hillestad Baumann
I just discovered that this is an issue.
Hope it gets resolved after a while.
Best regards,
Johannes Hillestad Baumann
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: Plot Objects - “Compile Study with a New Order of Plot Objects” - Strange Things Occur
- Replies: 3
- Views: 1564
Plot Objects - “Compile Study with a New Order of Plot Objects” - Strange Things Occur
Hi. When plot objects are rearranged ( in PowerLanguage.NET Editor ), or you change order on plot objects, and you compile the changed study; shapes change in opened charts with the indicator that is compiled. This is annoying when you have 50 charts with the indicator that is changed, especially wh...
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Open None Workspaces [SOLVED]
- Replies: 2
- Views: 1354
Re: Feature Request: Open None Workspaces [SOLVED]
Thanks.
I overlooked that.
Sorry!
Best regards,
Johannes Hillestad Baumann
I overlooked that.
Sorry!
Best regards,
Johannes Hillestad Baumann
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Open None Workspaces [SOLVED]
- Replies: 2
- Views: 1354
Feature Request: Open None Workspaces [SOLVED]
Hi.
I was wondering if you can add "None" to “File > Preferences > Workspaces > Specify the workspaces you would like to open”.
I like to open different workspaces on startup at all times.
Best regards,
Johannes Hillestad Baumann
I was wondering if you can add "None" to “File > Preferences > Workspaces > Specify the workspaces you would like to open”.
I like to open different workspaces on startup at all times.
Best regards,
Johannes Hillestad Baumann
- 19 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar not Launching on Startup [SOLVED]
- Replies: 9
- Views: 3099
Toolbar not Launching on Startup [SOLVED]
Hi. I have an indicator (with a toolbar) that does not launch on startup, but I can manually change the status in "Format indicators..." to "on", after startup. Then it works. :D Error message: Messsage: Error in study “[Indicator Name] (EUR.USD-3 Minute)” : Custom ToolBar can not be created. Unable...
- 18 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Arrange Windows Vertically with 2 Rows
- Replies: 3
- Views: 1502
Feature Request: Arrange Windows Vertically with 2 Rows
Hi.
I was wondering if this can be implemented. I use windows vertically with 2 rows all the time.
Best regards,
Johannes Hillestad Baumann
I was wondering if this can be implemented. I use windows vertically with 2 rows all the time.
Best regards,
Johannes Hillestad Baumann
- 18 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar Buttons not Working
- Replies: 2
- Views: 1086
Re: Toolbar Buttons not Working
Ahh! I solved it now... I discovered that code inside "Bars.LastBarOnChart" forced me to use "ExecControl.Recalculate();", to activate the code. It seems that there is something strange with "Bars.LastBarOnChart". But I don't know what else I could do. :) Full Code: private bool m_Buy, m_Sell; priva...
- 16 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar Buttons not Working
- Replies: 2
- Views: 1086
Re: Toolbar Buttons not Working
To add "ExecControl.Recalculate()" did it, but it removes all previous positions the buttons make. Is there a work around? :) private void TSB1_Buy( object Sender, EventArgs E ) { m_Buy = true; m_Sell = false; ExecControl.Recalculate(); } TSB2_Buy( object Sender, EventArgs E ) { m_Sell = true; m_Buy...
- 16 Nov 2018
- Forum: MultiCharts .NET
- Topic: Toolbar Buttons not Working
- Replies: 2
- Views: 1086
Toolbar Buttons not Working
Hi. I'm having some problems with buttons to work. With several clicks before the button fires works with "[RecoverDrawings(false)]", and does not work at all without it. :) private void TSB1_Buy( object Sender, EventArgs E ) { m_Buy = true; m_Sell = false; } var TSB1 = new ToolStripButton { Text = ...
- 18 Jul 2018
- Forum: MultiCharts .NET
- Topic: Bars.FullSymbolData.Count
- Replies: 6
- Views: 3014
Re: Bars.FullSymbolData.Count
Hello ABC,
Thanks a bunch!
Thanks a bunch!
- 18 Jul 2018
- Forum: MultiCharts .NET
- Topic: Bars.FullSymbolData.Count
- Replies: 6
- Views: 3014
Re: Bars.FullSymbolData.Count
Cool! Didn't know about the reset function.
What I'm trying to achieve is this:
Wish I only knew what to replace NumberOfBars with. This would do something on the last 34 bars.
Anyone?
What I'm trying to achieve is this:
Code: Select all
if ( Bars.CurrentBar > NumberOfBars - 34 )
{
"Some calculation and plotting"
}
Anyone?
- 13 Jul 2018
- Forum: MultiCharts .NET
- Topic: Bars.FullSymbolData.Count
- Replies: 6
- Views: 3014
Re: Bars.FullSymbolData.Count
The indicator I've made unfortunately takes some time to load, and it's not necessary to plot on all the bars. So the reason why I have several thousand bars on each chart is because I use playback in the weekends, but I do not analyse all of them. I know that "Bars.CurrentBar >= 987" would reduce s...
- 09 Jul 2018
- Forum: MultiCharts .NET
- Topic: A Little Issue with Playback
- Replies: 4
- Views: 1670
Re: A Little Issue with Playback
I couldn't make it work. I'll check it out later.
- 09 Jul 2018
- Forum: MultiCharts .NET
- Topic: Bars.FullSymbolData.Count
- Replies: 6
- Views: 3014
Bars.FullSymbolData.Count
Hi. I’m trying to make an indicator to plot on some last bars. The code is like this: if ( Bars.CurrentBar >= Bars.FullSymbolData.Count - 34 ) This should plot on the last 34 bars. I have to increase 34 to 377 or something like that to make something happen. (So the count of Bars.FullSymbolData.Coun...
- 03 Jun 2018
- Forum: MultiCharts .NET
- Topic: A Little Issue with Playback
- Replies: 4
- Views: 1670
Re: A Little Issue with Playback
Sorry!
Drop the "if ( Bars.Status == EBarState.Close )" part, and the code gets right.
Drop the "if ( Bars.Status == EBarState.Close )" part, and the code gets right.
- 03 Jun 2018
- Forum: MultiCharts .NET
- Topic: A Little Issue with Playback
- Replies: 4
- Views: 1670
Re: A Little Issue with Playback
I solved it with this code: public void CreateSum( VariableSeries<ITextObject> TextObject, double Number, ETextStyleV StyleV, double Level, int Size, Color Color ) { TextObject.Value = DrwText.Create( new ChartPoint( Bars.Time[0], Level ), Number.ToString("0.#"), true ); TextObject.Value.Size = Size...
- 02 Jun 2018
- Forum: MultiCharts .NET
- Topic: A Little Issue with Playback
- Replies: 4
- Views: 1670
A Little Issue with Playback
Hi. I have found a little issue with the playback function together with an indicator I've made. There's a text object at the last bar on the chart, and the indicator creates this text object on live data ( Bars.Status != EBarState.Close ). The problem is when a bar closes, the text object disappear...
- 08 Feb 2018
- Forum: MultiCharts .NET
- Topic: Possible "Method" Bug
- Replies: 2
- Views: 1449
Possible "Method" Bug
Hi. I'm just going to give an example here. :) public void Method( bool HH ) { if ( Bars.High[0] > Bars.High[1] ) HH = true; else HH = false; } This doesn't make any change to HH, but this however works: public void Method( VariableSeries<bool> HH ) { if ( Bars.High[0] > Bars.High[1] ) HH.Value = tr...
- 29 Jan 2018
- Forum: MultiCharts .NET
- Topic: TrendLines disappear on Live Data (Indicator) [SOLVED]
- Replies: 4
- Views: 2235
Re: TrendLines disappear on Live Data (Indicator) [SOLVED]
Thanks, man! It worked!
- 28 Jan 2018
- Forum: MultiCharts .NET
- Topic: TrendLines disappear on Live Data (Indicator) [SOLVED]
- Replies: 4
- Views: 2235
Re: TrendLines disappear on Live Data (Indicator) [SOLVED]
By the way: I tried to make the buttons trigger a method directly to create the lines, but this caused an error unfortunately. Is it possible to do this without live data to create the lines?
- 28 Jan 2018
- Forum: MultiCharts .NET
- Topic: TrendLines disappear on Live Data (Indicator) [SOLVED]
- Replies: 4
- Views: 2235
Re: TrendLines disappear on Live Data (Indicator) [SOLVED]
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace PowerLanguage.Indicator { [SameAsSymbol(true)] public class _Jobauma_BuySell : IndicatorObject { private bool m_Plot_Buy; private bool m_Plot_Sell; private Color m_BGColor; private Color m_Co...
- 28 Jan 2018
- Forum: MultiCharts .NET
- Topic: TrendLines disappear on Live Data (Indicator) [SOLVED]
- Replies: 4
- Views: 2235
TrendLines disappear on Live Data (Indicator) [SOLVED]
Hi. I have no clue to why this happens.. The trendlines are created on live data, but they disappear right after they are created. If they are created right before a new bar appears, they do not disappear. I created the indicator for simulated trading, so the lines are representing the position, sto...
- 22 Dec 2017
- Forum: MultiCharts .NET
- Topic: Close Differs from 1M on Higher Timeframes
- Replies: 1
- Views: 1036
Re: Close Differs from 1M on Higher Timeframes
Realised that turning off "Skip Ticks with Identical Price" was the solution for playback.
- 22 Dec 2017
- Forum: MultiCharts .NET
- Topic: Close Differs from 1M on Higher Timeframes
- Replies: 1
- Views: 1036
Close Differs from 1M on Higher Timeframes
Hi. It seems that I've found a bug here.. I'm running version 11.0.15391.400 · x64 · R4. The timeframes I'm using are 1M, 2M, 3M, 5M, 8M, 13M, 21M, 34M. :) This seems to be happening when I'm using playback (with and without homemade indicators), but recently I discovered that current price with liv...
- 30 Aug 2017
- Forum: MultiCharts .NET
- Topic: Searching for something else than VariableSeries
- Replies: 1
- Views: 1226
Searching for something else than VariableSeries
Hi. This has bothered me for some time. :) How do you store values for only new values when they are applied in a sequence, unlike VariableSeries which do repeat the previous value when nothing new is applied to the variable. I would like to keep some values in a variable without repeats like in thi...
- 26 Jun 2014
- Forum: MultiCharts .NET
- Topic: StatusLine of multiple instruments [SOLVED]
- Replies: 8
- Views: 7167
Re: StatusLine of multiple instruments [SOLVED]
This is what I'm trying to achieve.
Let's say the timeframe you apply the script to is 15M, while the resolution is 1M, "X" defines which candle on 1M.
Example: rt.High[X]
rt.High[0] = Current high on 1M
rt.High[1] = Previous high on 1M
Does anybody know how to solve this?
Let's say the timeframe you apply the script to is 15M, while the resolution is 1M, "X" defines which candle on 1M.
Example: rt.High[X]
rt.High[0] = Current high on 1M
rt.High[1] = Previous high on 1M
Does anybody know how to solve this?
- 21 May 2014
- Forum: MultiCharts .NET
- Topic: StatusLine of multiple instruments [SOLVED]
- Replies: 8
- Views: 7167
Re: StatusLine of multiple instruments [SOLVED]
Basically what I've tried is to store the values on each close and want this to happen independently from the main timeframe you're on. The current values are great, but I want to use the values prior to those too.
- 20 May 2014
- Forum: MultiCharts .NET
- Topic: StatusLine of multiple instruments [SOLVED]
- Replies: 8
- Views: 7167
Re: StatusLine of multiple instruments [SOLVED]
I'm trying to access the previous values of open, high, low and close, but how do you assign the values to a series?
- 30 Sep 2013
- Forum: MultiCharts .NET
- Topic: Loop Issue [SOLVED]
- Replies: 2
- Views: 1761
Re: Loop Issue [SOLVED]
:) m_TL_1stRun = true; for ( int i = 0; i < 20; i++ ) { if ( m_TL_2ndRun && m_TL_Value[m_TL_1stHH_curBar] < m_TL_Value[i] ) { m_TL_2ndHH_curBar = i; m_TL_addTL = true; m_TL_2ndRun = false; } else if ( m_TL_1stRun && m_TL_Value[0] < m_TL_Value[i] ) { m_TL_1stHH_curBar = i; m_TL_2ndRun = true; m_TL_1s...
- 29 Sep 2013
- Forum: MultiCharts .NET
- Topic: Loop Issue [SOLVED]
- Replies: 2
- Views: 1761
Loop Issue [SOLVED]
The problem begins when the second loop and "m_TL_1stHH_curBar" are in the picture. I wonder why this doesn't work.. Hope it's not a bug! Or at least there's some other way around it. :) for ( int i = 0; i < 10; i++ ) { m_TL_Counter++; if ( m_TL_Value[0] < m_TL_Value[m_TL_Counter] ) m_TL_CheckBack =...
- 26 Aug 2013
- Forum: User Contributed Studies
- Topic: Wyckoff Wave Volume
- Replies: 5
- Views: 5515
Re: Wyckoff Wave Volume
I have been trying to tap the last bar value in a swing from your coding, but I find it difficult. My desire is to have the volume for each swing as text. So far the text appears in the right places, but it is not the swing volume. This code shortens the volume number. string volNum = default(string...
- 07 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
else if ( curTOD == endTime1 ) { m_LstBar.Value = Bars.CurrentBar; m_Length.Value = m_LstBar[0] - m_1stBar[0]; m_Average.length = m_Length[0]; Output.WriteLine( "{0}", m_Average[0] ); } The first and second value assigned to m_Average.length is kind of mixed this way. Both "10" and m_Length.Value h...
- 06 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
At this point m_Length[0] shows the desired output, but m_Average.length is not, and it doesn't make any sense! :) I've really tried to make this work, but m_Length seems to have no impact on m_Average.. :/ else if ( curTOD == endTime1 ) { m_LstBar.Value = Bars.CurrentBar; m_Length.Value = m_LstBar[...
- 05 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
Hmm.. This setup ensures m_Average.length to always be 10 I think. As far as I noticed "m_Length.Value = m_LstBar[0] - m_1stBar[0]" did not end up in "m_Average.length".
- 04 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
This is basically what I'm trying to achieve. :) The length is calculated by endTime and begTime, and the average value is plotted at endTime. Later on I want to be able to adjust the time with inputs. The main issue is "m_Average.length = m_Length[0]".. private AverageFC m_Average; public VariableS...
- 03 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
Here's an example.. private TimeSpan begTime = new TimeSpan(12,0,0); private TimeSpan endTime = new TimeSpan(13,0,0); protected override void CalcBar() { TimeSpan curTOD = Bars.Time[0].TimeOfDay; if ( curTOD == begTime ) { m_1stBar.Value = Bars.CurrentBar; } if ( curTOD == endTime ) { m_LstBar.Value...
- 03 Jun 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Re: Number of Bars and Sum of Close Prices within a Time Ran
I realized that I had to use Bars.CurrentBar, combine that with TimeSpan and some subtraction to get the number of bars within a set time frame. But what about the average? On last bar use the number of bars and carry it on to AverageFC.length, or so I though.. I would love it if the time frame deci...
- 31 May 2013
- Forum: MultiCharts .NET
- Topic: Number of Bars and Sum of Close Prices within a Time Range
- Replies: 10
- Views: 3159
Number of Bars and Sum of Close Prices within a Time Range
I have been trying to figure out how you get the number of bars and sum of close prices within a time range, but I'm pretty much clueless about where to start.
I stumbled up on the "TimeSpan" key word, so I'm sure it has to be part of the code I guess.
Where's a good place to start?
I stumbled up on the "TimeSpan" key word, so I'm sure it has to be part of the code I guess.
Where's a good place to start?
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: C# - Remove Drawing from previous bar [SOLVED]
- Replies: 11
- Views: 10818
Re: C# - Remove Drawing from previous bar [SOLVED]
One more question though. How can I make something happen only if an arrow gets deleted?
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: C# - Remove Drawing from previous bar [SOLVED]
- Replies: 11
- Views: 10818
Re: C# - Remove Drawing from previous bar [SOLVED]
Many thanks.
- 20 May 2013
- Forum: MultiCharts .NET
- Topic: C# - Remove Drawing from previous bar [SOLVED]
- Replies: 11
- Views: 10818
C# - Remove Drawing from previous bar [SOLVED]
I have read that the "Delete()" method should be used, but how do you make it work?
Any help is appreciated. Thanks.
Code: Select all
if ( curClose > prevOpen) [Remove down arrow at top from previous bar.]
- 14 May 2013
- Forum: MultiCharts .NET
- Topic: MultiCharts .NET Programming Guide
- Replies: 13
- Views: 8727
Re: MultiCharts .NET Programming Guide
Thanks. I've learned so much already. This is great!