Search found 642 matches
- 13 Nov 2020
- Forum: MultiCharts
- Topic: Referencing previous Data2 calculated values [SOLVED]
- Replies: 2
- Views: 167
Re: Referencing previous Data2 calculated values [SOLVED]
kagein, this could be caused by a typo in your code. When you declare "mavg" the variable is initialized with "(0 data2);". This would not tie the variable to data2 as you are missing a comma between 0 and data2. "0 Data2" is just a value like Close Data2 for example. Regards, ABC On a chart with da...
- 12 Oct 2020
- Forum: MultiCharts
- Topic: What is going on with the license server?
- Replies: 21
- Views: 1311
Re: What is going on with the license server?
Same here.
Regards,
ABC
Regards,
ABC
- 10 Sep 2020
- Forum: MultiCharts
- Topic: Avoid Placing orders out of my trading session
- Replies: 12
- Views: 947
Re: Avoid Placing orders out of my trading session
Sallymeow, take a look at the "Price Order Emulation" feature as it might do what you have in mind: https://www.multicharts.com/trading-software/index.php/Auto_Trading#Price_Order_Emulation Regards, ABC It seems that I have a misunderstanding that stop orders are pending at Multicharts and will be s...
- 11 May 2020
- Forum: MultiCharts
- Topic: an incomprehensible problem
- Replies: 11
- Views: 1050
Re: an incomprehensible problem
turbofib, this is expected behavior for functions of the type series. Multicharts will call them with every code calculation, even if your code seemingly calls them conditionally only. You might have the function type set to auto detect and when you remove the following line the function becomes sim...
- 24 Apr 2020
- Forum: MultiCharts
- Topic: Daten Feed Aktien
- Replies: 5
- Views: 577
Re: Daten Feed Aktien
Jimmyrakete,
https://www.TS.com/pricing/service-fees/
https://www.TS.com/pricing/ma ... a-pricing/
Regards,
ABC
https://www.TS.com/pricing/service-fees/
https://www.TS.com/pricing/ma ... a-pricing/
Regards,
ABC
- 24 Apr 2020
- Forum: MultiCharts
- Topic: Daten Feed Aktien
- Replies: 5
- Views: 577
Re: Daten Feed Aktien
Jimmyrakete,
TS data will work in Multicharts, it is just not supported as a broker.
Regards,
ABC
TS data will work in Multicharts, it is just not supported as a broker.
Regards,
ABC
- 13 Nov 2019
- Forum: MultiCharts
- Topic: Maxbarsback and trailing stop
- Replies: 6
- Views: 816
Re: Maxbarsback and trailing stop
champski,
the problem is likely not coming from the code snippet you posted and there might be other parts causing the issue.
Regards,
ABC
the problem is likely not coming from the code snippet you posted and there might be other parts causing the issue.
Regards,
ABC
- 13 Nov 2019
- Forum: MultiCharts
- Topic: Maxbarsback and trailing stop
- Replies: 6
- Views: 816
Re: Maxbarsback and trailing stop
champski,
by "yourself" I meant write code to do that. You can for example reset a tracking variable when you are flat or directly after the entry and every time a high is higher than the value stored in the variable you update this variable's value to that high.
Regards,
ABC
by "yourself" I meant write code to do that. You can for example reset a tracking variable when you are flat or directly after the entry and every time a high is higher than the value stored in the variable you update this variable's value to that high.
Regards,
ABC
- 12 Nov 2019
- Forum: MultiCharts
- Topic: Maxbarsback and trailing stop
- Replies: 6
- Views: 816
Re: Maxbarsback and trailing stop
champski, you introduced a variable length with BarsSinceEntry. This can become quite large depending on how many bars ago this happened and in turn this will affect the required max bars back. It might make sense to avoid that and to track the highest high during your position yourself. Regards, ABC
- 30 Oct 2019
- Forum: MultiCharts
- Topic: GetAppInfo in correct parameter [SOLVED]
- Replies: 2
- Views: 527
Re: GetAppInfo in correct parameter [SOLVED]
Pipscalper, the code below returns the first bar on the visible portion of the chart for me and not the first bar of the data series in MC 12.0 Release (Build 18184). Print( DateTimeToString( GetAppInfo( aiLeftDispDateTime ) ) ) ; The value changes when I scroll the chart and have a different bar as...
- 23 Oct 2019
- Forum: MultiCharts
- Topic: MaxBarsBack - Help needed [SOLVED]
- Replies: 17
- Views: 1648
Re: MaxBarsBack - Help needed [SOLVED]
Mydesign, from glancing at your code the problem is likely coming from the variable lookback you introduce here: if HSwing then begin LastSwingHighBN = BarNumber[Strength] ; TLRef = TL_New_BN( LastSwingLowBN, Close[CurrentBar-LastSwingLowBN], LastSwingHighBN, Close[CurrentBar-LastSwingHighBN] ) ; en...
- 14 Oct 2019
- Forum: MultiCharts
- Topic: Backetest is working only from the past 5 days and misteriously dosn't before that date [SOLVED]
- Replies: 7
- Views: 883
Re: Backetest is working only from the past 5 days and misteriously dosn't before that date [SOLVED]
David, can you elaborate why Max Bars back is not the problem here? How many bars do you have on the chart in total and was is the bar number of the first signal? In fact with 10 minute bars for the Dax and starting on the 6th of September it's not unlikely that the high Max bars setting you are usi...
- 25 Sep 2019
- Forum: MultiCharts
- Topic: Floor Povit Point not inline with the exchange open time [SOLVED]
- Replies: 5
- Views: 727
Re: Floor Povit Point not inline with the exchange open time [SOLVED]
Aaron,
the code is designed to track from date change to date change and would have to be re-written to allow the tracking from session start to session end.
Regards,
ABC
the code is designed to track from date change to date change and would have to be re-written to allow the tracking from session start to session end.
Regards,
ABC
- 06 Sep 2019
- Forum: MultiCharts
- Topic: Adding equity to increase capital in portfolio backtest
- Replies: 2
- Views: 458
Re: Adding equity to increase capital in portfolio backtest
Hi smhuggins, you might be able to walk around this by having your Money Management size the trades based on the equity which you could compute using the starting equity (you might want to use an input here instead of the reserved word) plus the net profit and another variable that you increment by ...
- 05 Aug 2019
- Forum: MultiCharts
- Topic: ELCollections compile error [SOLVED]
- Replies: 5
- Views: 749
Re: ELCollections compile error [SOLVED]
Hi masber2000,
you are welcome. This error message is likely not related to the code or EasyLanguage Collections, but could for example come up again after a windows update.
Regards,
ABC
you are welcome. This error message is likely not related to the code or EasyLanguage Collections, but could for example come up again after a windows update.
Regards,
ABC
- 05 Aug 2019
- Forum: MultiCharts
- Topic: ELCollections compile error [SOLVED]
- Replies: 5
- Views: 749
Re: ELCollections compile error [SOLVED]
Hi masber2000, you can find several similar cases in the forum, like here for example: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=52079 Check if the error still comes up after a reboot. If it does it might make sense to contact the helpdesk so they can fix it for you via remote suppo...
- 16 Jul 2019
- Forum: MultiCharts
- Topic: Global Variables - How to make them work on hystoric chart and not only in real time [SOLVED]
- Replies: 4
- Views: 1137
Re: Global Variables - How to make them work on hystoric chart and not only in real time [SOLVED]
David, the design of Global Variables makes them suited for real time use. While what you have in mind might be doable with Global Variables, it would require storing each bar with a value using a differently named Global Variable. This could become hard to manage and depending on the amount of bars...
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 1144
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~,
you are welcome. I am glad to hear that you have got it working.
Regards,
ABC
you are welcome. I am glad to hear that you have got it working.
Regards,
ABC
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 1144
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~, when you declare an array in C# the number within brackets is the number of elements. The first element however is at index 0. That's why int[,] array2Da = new int[4, 2 ] creates a two dimensional array with four rows and two columns, but int[,] Score = new int[24001, 1 ] is not really two d...
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 1144
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~,Thanks for your reply.
I declared "private int[,] Score = new int[24001,1];", anything I still missing?
check out the link I posted.
Regards,
ABC
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 1144
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~, your code declares a 2-D array with one row only and consequently you receive an error when you try to access the second row. Take a look at the link below for examples on how to create multi dimensional arrays in C#: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/mu...
- 11 Jul 2019
- Forum: MultiCharts
- Topic: Swing levels [SOLVED]
- Replies: 5
- Views: 629
Re: Swing levels [SOLVED]
Samuel187, the built-in Pivot function does pretty much what you describe and you can take a look at the code for ideas. However it might be more efficient to go bar by bar as the chart progresses and check if your conditions are fulfilled (i.e. count bars with lower lows etc. in variables). You mig...
- 10 Jul 2019
- Forum: MultiCharts
- Topic: Swing levels [SOLVED]
- Replies: 5
- Views: 629
Re: Swing levels [SOLVED]
Samuel187,
an indicator might make sense to visualize the levels and see if your code detects the levels you have in mind, but to keep the strategy simple I would put the logic inside the strategy code, too.
Regards,
ABC
an indicator might make sense to visualize the levels and see if your code detects the levels you have in mind, but to keep the strategy simple I would put the logic inside the strategy code, too.
Regards,
ABC
- 10 Jul 2019
- Forum: MultiCharts
- Topic: how to get volatility of last bar
- Replies: 5
- Views: 756
Re: how to get volatility of last bar
martingale, vVolatility is a variable and you can back reference previous bar's values for variables using a number in square brackets. vVolatility[0] is the value on the current bar (although [0] is usually omitted), vVolatility[1] is the value one bar to the left of the current bar etc.. Regards, ...
- 05 Jul 2019
- Forum: MultiCharts
- Topic: StrToBool question
- Replies: 1
- Views: 353
Re: StrToBool question
Ben,
you could write your own StrToBool function, pass a string to it, evaluate it and return a Boolean.
Regards,
ABC
you could write your own StrToBool function, pass a string to it, evaluate it and return a Boolean.
Regards,
ABC
- 03 Jul 2019
- Forum: MultiCharts
- Topic: how to get volatility of last bar
- Replies: 5
- Views: 756
Re: how to get volatility of last bar
martingale,
you can store the function's return value in a variable and use this variable within your code.
Regards,
ABC
you can store the function's return value in a variable and use this variable within your code.
Code: Select all
Input:
Length( 14 ) ;
Variable:
vVolatility( 0 );
vVolatility = Volatility( Length ) ;
Plot1( vVolatility, "Volatility" ) ;
ABC
- 26 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino, it might make sense to take one step back to familiarize yourself with the basics of arrays a bit more as this should make it a lot easier later. The free EasyLanguage Essentials PDF contains a brief section about arrays that provides a good first start. In general your code will have to k...
- 25 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino,
where do you store the values from the prior months?
Regards,
ABC
where do you store the values from the prior months?
Regards,
ABC
- 25 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino,
what are the results of your checks using the print reserved word?
Regards,
ABC
what are the results of your checks using the print reserved word?
Regards,
ABC
- 24 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino, I wouldn't suggest using the average function with the array, but to compute the average yourself over the desired length within your array. The print reserved word is a good way to find out what values are currently stored within your array, if you correctly update them etc.. Regards, ABC
- 24 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino, a list would work, too if you want your code to be able to be flexible and allow varying average length settings. You could probably even use variables, but this would require a lot more coding and be a lot less flexible. Your idea sounds like a perfect opportunity to become more familiar ...
- 21 Jun 2019
- Forum: MultiCharts
- Topic: NetProfit montly average;
- Replies: 12
- Views: 1174
Re: NetProfit montly average;
gioakino, when you apply the study to anything but monthly bars, the average will be computed using the value of montlyprofit over the last avglen number of bars and not the last avglen monthly values. One approach to get the average over the last X month would be by using an array where you store o...
- 21 Jun 2019
- Forum: MultiCharts
- Topic: can i specify lastbar date on weekly chart?
- Replies: 1
- Views: 337
Re: can i specify lastbar date on weekly chart?
rokanten,
one way to accomplish this could be a simple paint bar script that has update on every tick disabled or only gets updated at the end of a bar.
Regards,
ABC
one way to accomplish this could be a simple paint bar script that has update on every tick disabled or only gets updated at the end of a bar.
Regards,
ABC
- 18 Jun 2019
- Forum: MultiCharts
- Topic: PortfolioEntriesPriority [SOLVED]
- Replies: 2
- Views: 552
Re: PortfolioEntriesPriority [SOLVED]
Riccardo, your setup doesn't utilize a Portfolio Money Management Signal (PMMS) that would be required to effectively control the number of entries. In your setup all symbols are allowed to enter (according to your code) and while the one with the highest priority might receive the largest amounts o...
- 05 Jun 2019
- Forum: MultiCharts
- Topic: Help with Global Variables [SOLVED]
- Replies: 3
- Views: 611
Re: Help with Global Variables [SOLVED]
kagein, if GVSetDouble returns the element location the value was stored. Otherwise it would return -1. To retrieve a value at an specific location you can use the corresponding GVGet... functions. You might find the Global Variable documentation and examples helpful (it should be available here in ...
- 05 Jun 2019
- Forum: MultiCharts
- Topic: Help with Global Variables [SOLVED]
- Replies: 3
- Views: 611
Re: Help with Global Variables [SOLVED]
kagein,
the return value of GVSetDouble is the element location and not the value you stored.
Regards,
ABC
the return value of GVSetDouble is the element location and not the value you stored.
Regards,
ABC
- 27 May 2019
- Forum: MultiCharts
- Topic: How to get Scanner windows row number
- Replies: 1
- Views: 349
Re: How to get Scanner windows row number
Hi maison6579,
yes, this should be possible via GetAppInfo and aiRow.
Regards,
ABC
yes, this should be possible via GetAppInfo and aiRow.
Regards,
ABC
- 22 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 1531
Re: Using the reserved word “TL_New” [SOLVED]
~Zola~, the code is designed to create the drawings only once when the study gets executed i.e. it will apply them on the first bar after your max bars back settings. Having said that you should be able to find the drawings close to the start of your chart. Regards, ABC Scaling should be "Same as In...
- 21 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 1531
Re: Using the reserved word “TL_New” [SOLVED]
Hi ~Zola~, can you post a screenshot of the chart with the study applied, as this might help us in understanding the cause. Regards, ABC What is your chart resolution? ie the chart type and interval? I have tried the "Bar Chart" and "Hollow Candlestick Chart" with 1 minute or 1 day resolution.
- 26 Apr 2019
- Forum: MultiCharts .NET
- Topic: Volume Delta charts colours shading
- Replies: 6
- Views: 1384
Re: Volume Delta charts colours shading
Al3cs, again I agree and that's why I wrote that it would be great to have it built in. My post was merely pointing out that MC.NET gives you the control and flexibility to implement it yourself in case your suggestions is not picked up. In terms of getting more feedback you might want to post the l...
- 25 Apr 2019
- Forum: MultiCharts .NET
- Topic: Volume Delta charts colours shading
- Replies: 6
- Views: 1384
Re: Volume Delta charts colours shading
Hi Al3cs, while I agree that it would be great to have more control over the coloring options that Multicharts offers for the Delta, with MC.NET you have access to the volume profile values and can display your own Delta values for each bar (preferable using GDI+ due to the performance advantage) an...
- 08 Apr 2019
- Forum: MultiCharts .NET
- Topic: Quotes database folder [SOLVED]
- Replies: 2
- Views: 792
Re: Quotes database folder [SOLVED]
Hi Patrick, yes, this is the correct folder and you can find more information about moving the folder and have MC access it under a different location here: https://www.multicharts.com/trading-software/index.php/How_to_Move_MultiCharts_Database,_Studies_and_Logs_from_C_Drive_(Starting_from_8.7_Versi...
- 08 Apr 2019
- Forum: MultiCharts
- Topic: scoring a basket of stock pick [SOLVED]
- Replies: 1
- Views: 511
Re: scoring a basket of stock pick [SOLVED]
Hi my2108, this sounds like something that is best implemented within the Portfolio Trader. https://www.multicharts.com/trading-software/index.php/Portfolio_Trader The Rank Strategy should give you an idea about how to implement your idea: https://www.multicharts.com/trading-software/index.php/Portf...
- 05 Apr 2019
- Forum: MultiCharts
- Topic: Dynamic MaxBarsBack ? [SOLVED]
- Replies: 6
- Views: 889
Re: Dynamic MaxBarsBack ? [SOLVED]
hbscreener,
you have to avoid looking back at previous bars values, like you do within the highest function. One way to deal with that could be to keep an array of the last 250 bar values and find your highest value within the array.
Regards,
ABC
you have to avoid looking back at previous bars values, like you do within the highest function. One way to deal with that could be to keep an array of the last 250 bar values and find your highest value within the array.
Regards,
ABC
- 02 Apr 2019
- Forum: MultiCharts
- Topic: Publish Hotfixes
- Replies: 1
- Views: 390
Publish Hotfixes
Hi Multicharts Team, would it be possible to publish any current hotfixes that you created for a known problem and MC release within one sticky thread? This could spare your users from running into already fixed problems and in turn could even save you some time as it could reduce the support requir...
- 12 Mar 2019
- Forum: MultiCharts
- Topic: Ehlers Deviation-Scaled Moving Average (TASC July 2018) [SOLVED]
- Replies: 2
- Views: 727
Re: Ehlers Deviation-Scaled Moving Average (TASC July 2018) [SOLVED]
Hi LRP, you should be able to get this code working in Multicharts by changing the conflicting (i.e. not recognized) reserved words/functionalty within the function. Indicator and strategy should work fine already. 1. Remove the using declaration near the top of the function code 2. Change throw Exc...
- 06 Mar 2019
- Forum: MultiCharts
- Topic: Entry at exact time different with tick or minute bar
- Replies: 28
- Views: 5758
Re: Entry at exact time different with tick or minute bar
Hello Anna, if possible these keywords should also be available in real time i.e. we need the ability to access the current time of a tick within a real time bar (regardless of the bar type). Regards, ABC Hello, McGeorge! Our developers have considered this feature request and new keywords for retur...
- 20 Feb 2019
- Forum: MultiCharts
- Topic: side of the last trade [SOLVED]
- Replies: 3
- Views: 730
Re: side of the last trade [SOLVED]
Hi mav3r1c55,
you could utilize an additional 1 tick cumulative delta data stream and monitor advances/declines in the cumulative delta.
Regards,
ABC
you could utilize an additional 1 tick cumulative delta data stream and monitor advances/declines in the cumulative delta.
Regards,
ABC
- 18 Feb 2019
- Forum: MultiCharts
- Topic: disappear the new signal in language editor [SOLVED]
- Replies: 2
- Views: 543
Re: disappear the new signal in language editor [SOLVED]
matthewting,
this can happen if for example Multicharts is run as administrator, but PL Editor is not (or vice versa). I would suggest making sure that you run both PL Editor and Multicharts with administrator privileges.
Regards,
ABC
this can happen if for example Multicharts is run as administrator, but PL Editor is not (or vice versa). I would suggest making sure that you run both PL Editor and Multicharts with administrator privileges.
Regards,
ABC
- 15 Feb 2019
- Forum: MultiCharts
- Topic: mail alert with stocks information
- Replies: 4
- Views: 702
Re: mail alert with stocks information
no erocla, you should be able to do that for the stocks that are within your portfolio by having either the money management or the entry signal on one symbol collect all the information and send the email. You will likely require a timer though as the markets might be closed by the time you execute...
- 04 Feb 2019
- Forum: MultiCharts .NET
- Topic: Draw a rectangle within an indicator [SOLVED]
- Replies: 7
- Views: 1648
Re: Draw a rectangle within an indicator [SOLVED]
Hi pdemontferrier,
check your usage of DrwRectangle.Create. The onSameSubchart flag is still set to false:
BK_L1 = DrwRectangle.Create(new ChartPoint(BK_START,0), new ChartPoint(BK_FINISH,20), false);
Regards,
ABC
check your usage of DrwRectangle.Create. The onSameSubchart flag is still set to false:
BK_L1 = DrwRectangle.Create(new ChartPoint(BK_START,0), new ChartPoint(BK_FINISH,20), false);
Regards,
ABC
- 04 Feb 2019
- Forum: MultiCharts .NET
- Topic: Draw a rectangle within an indicator [SOLVED]
- Replies: 7
- Views: 1648
Re: Draw a rectangle within an indicator [SOLVED]
Hi pdemontferrier, you would have to post your code, as the SameAsSymbol attribute is not related to your problem. The onSameSubchart flag is part of DrwRectangle.Create and in the snippet you posted you have set it to false. Regards, ABC Hi ABC, Thank you very much for your contribution but it didn...
- 04 Feb 2019
- Forum: MultiCharts .NET
- Topic: Draw a rectangle within an indicator [SOLVED]
- Replies: 7
- Views: 1648
Re: Draw a rectangle within an indicator [SOLVED]
Hi pdemontferrier,
your code sets the onSameSubchart flag to false i.e. the rectangle will be placed on the price chart. Setting it to true should display it on the indicator subchart.
Regards,
ABC
your code sets the onSameSubchart flag to false i.e. the rectangle will be placed on the price chart. Setting it to true should display it on the indicator subchart.
Regards,
ABC
- 02 Jan 2019
- Forum: MultiCharts
- Topic: Up Down Volume Indicator
- Replies: 1
- Views: 743
Re: Up Down Volume Indicator
Deenius,
take a look at the built-in "Volume Avg" indicator, you can adjust the inputs of it to accomplish what you have in mind.
Regards,
ABC
take a look at the built-in "Volume Avg" indicator, you can adjust the inputs of it to accomplish what you have in mind.
Regards,
ABC
- 19 Dec 2018
- Forum: MultiCharts
- Topic: Why in 2018 still so difficult to access values from other DataN/indicators
- Replies: 10
- Views: 1832
Re: Why in 2018 still so difficult to access values from other DataN/indicators
dvdkite, according to Note 1 in the wiki (https://www.multicharts.com/trading-software/index.php/I_setplotvalue) " i_setplotvalue can be used in signals, functions and indicators if any signal is applied to the main chart ." Check if it works if you apply any of the default signals to your chart. Fo...
- 13 Dec 2018
- Forum: MultiCharts
- Topic: CLOSE WHEN PROFIT OR LOSS IS REACH.
- Replies: 11
- Views: 1946
Re: CLOSE WHEN PROFIT OR LOSS IS REACH.
Hi RedBerlin,
you will have to track down why the exit isn't triggering when you think it should and the print reserved word can be useful here to evaluate your variable values on every bar.
Regards,
ABC
you will have to track down why the exit isn't triggering when you think it should and the print reserved word can be useful here to evaluate your variable values on every bar.
Regards,
ABC
- 13 Dec 2018
- Forum: MultiCharts
- Topic: CLOSE WHEN PROFIT OR LOSS IS REACH.
- Replies: 11
- Views: 1946
Re: CLOSE WHEN PROFIT OR LOSS IS REACH.
Hi RedBerlin, it might make sense for you to use the Print reserved word to check the values of todaynet and see why an order was or wasn't closed. Your strategy is evaluated end of bar, so this should be kept in mind as it will not issue orders when the conditions are met intrabar. The code snippet...
- 12 Dec 2018
- Forum: MultiCharts
- Topic: CLOSE WHEN PROFIT OR LOSS IS REACH.
- Replies: 11
- Views: 1946
Re: CLOSE WHEN PROFIT OR LOSS IS REACH.
Hi RedBerlin,
the code you posted already tracks the profit you could use this within your exit conditions, too. For example modifying your exit checks from
to
might work for you.
Regards,
ABC
the code you posted already tracks the profit you could use this within your exit conditions, too. For example modifying your exit checks from
Code: Select all
...and time >endtrade then...
Code: Select all
...and ( time >endtrade or todaynet >= dailyprofit ) then...
Regards,
ABC
- 28 Nov 2018
- Forum: MultiCharts .NET
- Topic: Custom Column in Market Scanner
- Replies: 2
- Views: 726
Re: Custom Column in Market Scanner
Hi orad, you can create an indicator and have it plot the Price Vol according to your formula. This would then appear a column in the Scanner just like other indicators would do - for example add one of the built-in indicators to the Scanner (like one of the moving averages) to see what I mean. Rega...
- 22 Nov 2018
- Forum: MultiCharts
- Topic: Need help on Power Editor Appearance [SOLVED]
- Replies: 4
- Views: 809
- 20 Nov 2018
- Forum: MultiCharts .NET
- Topic: Feature Request: Open None Workspaces [SOLVED]
- Replies: 2
- Views: 665
Re: Feature Request: Open None Workspaces [SOLVED]
Hi Johannes,
wouldn't unchecking the "Open Workspaces On Start" accomplish that i.e. the result would be no workspaces would be opened on startup.
Regards,
ABC
wouldn't unchecking the "Open Workspaces On Start" accomplish that i.e. the result would be no workspaces would be opened on startup.
Regards,
ABC
- 22 Oct 2018
- Forum: MultiCharts
- Topic: H=L in the last 10 bars [SOLVED]
- Replies: 11
- Views: 1821
Re: H=L in the last 10 bars [SOLVED]
Hi Split, your code appears to miss an ending statement for the for loop. Apart from that you might be able to accomplish what you have by simply storing the value for CurrentBar in a variable when ever High = Low. Then you can check if the difference between CurrentBar (on the current bar) and the ...
- 11 Oct 2018
- Forum: MultiCharts .NET
- Topic: Creating a Flag with the bar number
- Replies: 1
- Views: 617
Re: Creating a Flag with the bar number
Tartalognion, both are fine. You need an additional variable and whenever Bars.CurrentBar is different than what you have stored in your variable, you update the value stored in your variable. However when you operate on 1 tick charts and only compute your code with incoming ticks, you might not eve...
- 04 Oct 2018
- Forum: MultiCharts
- Topic: Duplication of Stoploss in Easy Language Automated Trading [SOLVED]
- Replies: 8
- Views: 1478
Re: Duplication of Stoploss in Easy Language Automated Trading [SOLVED]
sternbergleonel, then this is likely the explanation, as both strategies issue a stop. In general these build in exit reserved words are best used unconditionally and you could have them once within a separate exit strategy. You might also wan to explore the "Optimize Order Flow" feature, as this wi...
- 04 Oct 2018
- Forum: MultiCharts
- Topic: Duplication of Stoploss in Easy Language Automated Trading [SOLVED]
- Replies: 8
- Views: 1478
Re: Duplication of Stoploss in Easy Language Automated Trading [SOLVED]
sternbergleonel,
is it possible that you have more than one strategy applied to the same chart that uses the setstoploss reserved word?
Regards,
ABC
is it possible that you have more than one strategy applied to the same chart that uses the setstoploss reserved word?
Regards,
ABC
- 04 Oct 2018
- Forum: MultiCharts
- Topic: Assignment is allowed only for variables or array elements
- Replies: 8
- Views: 1524
Re: Assignment is allowed only for variables or array elements
Splint,
is Maxtradeclose a function on your end? Where does the code starting with "//-----Functions Used in the Code---------" reside, is it in a system or in a separate function?
Regards,
ABC
is Maxtradeclose a function on your end? Where does the code starting with "//-----Functions Used in the Code---------" reside, is it in a system or in a separate function?
Regards,
ABC
- 01 Oct 2018
- Forum: MultiCharts
- Topic: How access to DOM bid and ask data from easylanguage and DTN IQFEED
- Replies: 1
- Views: 472
Re: How access to DOM bid and ask data from easylanguage and DTN IQFEED
David,
unfortunately DOM data is only available for broker feeds and therefore you can't access the values using IQFeed.
Regards,
ABC
unfortunately DOM data is only available for broker feeds and therefore you can't access the values using IQFeed.
Regards,
ABC
- 26 Sep 2018
- Forum: MultiCharts
- Topic: New functions, please advise. [SOLVED]
- Replies: 9
- Views: 1229
Re: New functions, please advise. [SOLVED]
wilkinsw, they are likely functions for a 3rd party add-on indicator or strategy and are closed code. If that is the case they are automatically installed with Multicharts. The vendor has likely created separate functions of existing ones (you would have to contact the vendor to find out what they d...
- 12 Sep 2018
- Forum: MultiCharts
- Topic: TL_NEW ID is always 1? [SOLVED]
- Replies: 13
- Views: 2634
Re: TL_NEW ID is always 1? [SOLVED]
gianluca71, the value of your plot changes when a new trend line is drawn. The line is not created on the bar of the low/high (although it uses this point as the line's starting point for the drawing), but usually a few bars later when a new swing in the opposite direction is detected. That's what T...
- 11 Sep 2018
- Forum: MultiCharts .NET
- Topic: Managing text + getting Cumulative Delta value [SOLVED]
- Replies: 3
- Views: 1153
Re: Managing text + getting Cumulative Delta value [SOLVED]
Al3cs,
you could update the text location of your text with every new bar.
Regards,
ABC
you could update the text location of your text with every new bar.
Regards,
ABC
- 10 Sep 2018
- Forum: MultiCharts
- Topic: Max Bars Back & 2 Instruments [SOLVED]
- Replies: 1
- Views: 6735
Re: Max Bars Back & 2 Instruments [SOLVED]
TrendFirst, it applies to both data streams. In other words you should see no trades until the max bars back are sufficient for the highest time frame you are using in your code and you will run into the error message when any of the length inputs in your code that require a look back (even if it's ...
- 07 Sep 2018
- Forum: MultiCharts
- Topic: Managing codes with multiple resolution (time frame)
- Replies: 2
- Views: 689
Re: Managing codes with multiple resolution (time frame)
Hi gianluca71, Multicharts doesn't allow loading of other timeframes within the code. Therefore your best option will likely be using additional data streams on the chart. Alternatively you could look into computing the additional time frames out of the underlying chart time frame, but this might no...
- 05 Sep 2018
- Forum: MultiCharts .NET
- Topic: How to access Imbalance Delta Bars value?
- Replies: 2
- Views: 1068
Re: How to access Imbalance Delta Bars value?
Hi Al3cs,
you can access the data via the volume profile collection and you can find an example in the WIKI here:
https://www.multicharts.com/trading-sof ... me_Profile
Regards,
ABC
you can access the data via the volume profile collection and you can find an example in the WIKI here:
https://www.multicharts.com/trading-sof ... me_Profile
Regards,
ABC
- 28 Aug 2018
- Forum: MultiCharts
- Topic: Using print for signals
- Replies: 6
- Views: 1102
Re: Using print for signals
Hi odrk, when prints appear depends on when the conditions for the prints are valid and when your code gets executed. If your strategy only computes end of bar, the prints could only appear at the end of the bar. You can take a look at the IntrabarOrderGeneration attribute for a way of executing str...
- 22 Aug 2018
- Forum: MultiCharts
- Topic: Maybe I miss something....
- Replies: 1
- Views: 401
Re: Maybe I miss something....
Hi BBurnout,
you might find the Study on Study feature useful:
https://www.multicharts.com/trading-sof ... y_on_study
Regards,
ABC
you might find the Study on Study feature useful:
https://www.multicharts.com/trading-sof ... y_on_study
Regards,
ABC
- 22 Aug 2018
- Forum: MultiCharts
- Topic: Using print for signals
- Replies: 6
- Views: 1102
Re: Using print for signals
Hi odrk, you wrote your code to print when "MarketPosition = -1" i.e. short and when "MarketPosition = 0" i.e. flat.. The best way to tackle this will depend a bit on how your systems trades, for example if it only evaluates trades at the end of the bar and never exits on the same bar as an entry yo...
- 16 Aug 2018
- Forum: MultiCharts
- Topic: Scaling an indicator and its moving average in the same subchart [SOLVED]
- Replies: 3
- Views: 734
Re: Scaling an indicator and its moving average in the same subchart [SOLVED]
Hi Automeq,
since you are already using the study on study feature, you could for example use the Custom 2 Lines indicator and have it plot both indicators.
Regards,
ABC
since you are already using the study on study feature, you could for example use the Custom 2 Lines indicator and have it plot both indicators.
Regards,
ABC
- 30 Jul 2018
- Forum: User Contributed Studies
- Topic: MACD_color
- Replies: 5
- Views: 4486
Re: MACD_color
BogeyGolfer, the code works fine and you can get it to work by either creating a new indicator within Multicharts.NET calling it MACD_color and overwriting all (!) of the code in it with the code posted by TJ in the first post. After that you can compile the code without any error message. Alternati...
- 27 Jul 2018
- Forum: MultiCharts
- Topic: ADE implementation [SOLVED]
- Replies: 9
- Views: 1537
Re: ADE implementation [SOLVED]
Hi waveslider, ELCollections2 is a 32bit TS DLL and I am not sure it would even work with Multicharts 32bit. You should make sure to use the code and DLL you can obtain in the forum here (in case you are running MC 32bit you will need to use the 32bit version of the ELCollections.DLL): https://www.m...
- 18 Jul 2018
- Forum: MultiCharts .NET
- Topic: Bars.FullSymbolData.Count
- Replies: 6
- Views: 1609
Re: Bars.FullSymbolData.Count
Wish I only knew what to replace NumberOfBars with. This would do something on the last 34 bars. :P Hi Jobauma, you can use Bars.FullSymbolData.Count and Bars.FullSymbolData.Current. Bars.FullSymbolData.Count gives you the total number of bars on the chart and Bars.FullSymbolData.Current gives you ...
- 10 Jul 2018
- Forum: MultiCharts
- Topic: percentile/quantile in PowerLanguage
- Replies: 4
- Views: 1137
Re: percentile/quantile in PowerLanguage
birdman3000,
you might want to take a look at the build in Percentile function.
Regards,
ABC
you might want to take a look at the build in Percentile function.
Regards,
ABC
It's pretty basic statistics. Can I request it gets added?
- 09 Jul 2018
- Forum: MultiCharts
- Topic: In a Spread Diff chart, can you show the symbols used on the chart? [SOLVED]
- Replies: 9
- Views: 1484
Re: In a Spread Diff chart, can you show the symbols used on the chart? [SOLVED]
Hi synonym, you might have to enable the indicator value display in the status line. Your code is showing the symbol names fine on my end. Regards, ABC Hi ABC have tried your suggestion, please see attached code. It make no difference, it still plots, but the status line still simply says, "Spread D...
- 09 Jul 2018
- Forum: MultiCharts
- Topic: In a Spread Diff chart, can you show the symbols used on the chart? [SOLVED]
- Replies: 9
- Views: 1484
Re: In a Spread Diff chart, can you show the symbols used on the chart? [SOLVED]
Hi synonym, you would use Plot5 and Plot6 for example (instead of Plot2 and Plot3 from Svetlana's code). The reason being that PlotPaintBar will use the Plot numbers 1-4 in your code. Regards, ABC HI Svetlana Thank you for your reply. How would i do this when i am plotting the spread as a bar and no...
- 02 Jul 2018
- Forum: MultiCharts
- Topic: Determining sub-chart an arrow is placed on [SOLVED]
- Replies: 5
- Views: 1159
Re: Determining sub-chart an arrow is placed on [SOLVED]
bowlesj3, your code misses the ProcessMouseEvents attribute and this might explain why it's not working. https://www.multicharts.com/trading-software/index.php/ProcessMouseEvents Regards, ABC I created a script with the MouseClickEvent (shown below). I used the RecalcLastBarAfter(1); to force the co...
- 27 Jun 2018
- Forum: MultiCharts
- Topic: Issue with Global Variables [SOLVED]
- Replies: 7
- Views: 1364
Re: Issue with Global Variables [SOLVED]
Hi Parker,
there should be sample indicators in the zip file that can be used to check if everything is working correctly.
Regards,
ABC
there should be sample indicators in the zip file that can be used to check if everything is working correctly.
Regards,
ABC
- 26 Jun 2018
- Forum: MultiCharts
- Topic: Read Last Row From File with EL Collections [SOLVED]
- Replies: 2
- Views: 940
Re: Read Last Row From File with EL Collections [SOLVED]
Hi Parker,
since you have the entire file in lists already, you can use ListX.Count (where X is the type of list) to determine the size of a list and then read the specific entry.
Regards,
ABC
since you have the entire file in lists already, you can use ListX.Count (where X is the type of list) to determine the size of a list and then read the specific entry.
Regards,
ABC
- 14 Jun 2018
- Forum: MultiCharts
- Topic: Support for a Feature Request i think many will love.
- Replies: 3
- Views: 774
Re: Support for a Feature Request i think many will love.
Syn,
you can accomplish something similar with trendlines already. Simply draw a trendline between your two points and click on the line. It will show you the difference in time and price in a popup window when you click on it: Regards,
ABC
you can accomplish something similar with trendlines already. Simply draw a trendline between your two points and click on the line. It will show you the difference in time and price in a popup window when you click on it: Regards,
ABC
- 12 Jun 2018
- Forum: MultiCharts
- Topic: CoT Commitment of Traders Data
- Replies: 4
- Views: 1291
Re: CoT Commitment of Traders Data
Hi Parker, I am afraid directly accessing the fundamental data TS provides is not possible via code in Multicharts. Besides importing the data into MC manually it might also be possible to exchange the data between TS and MC with custom code (for example via text files, Custom DLLs or Excel). Regard...
- 11 Jun 2018
- Forum: MultiCharts
- Topic: If not(X) then return;
- Replies: 6
- Views: 1203
Re: If not(X) then return;
turbofib,
take a look at the build in --- Market Depth on Chart --- indicator as it demonstrates different ways of flow control within an indicator.
Regards,
ABC
take a look at the build in --- Market Depth on Chart --- indicator as it demonstrates different ways of flow control within an indicator.
Regards,
ABC
hi
Is it possible to use an output condition without using if then?
(in c# it's : If not(X) then return )
- 11 Jun 2018
- Forum: MultiCharts
- Topic: If not(X) then return;
- Replies: 6
- Views: 1203
Re: If not(X) then return;
JoshM, you can use the #return statement to accomplish that. Print( "A CurrentBar = ", CurrentBar ) ; if CurrentBar < 100 then #return ; Print( "B CurrentBar = ", CurrentBar ) ; The print starting with B will only start to appear with bar 100 in the output. Regards, ABC Is it possible to use an outp...
- 07 Jun 2018
- Forum: MultiCharts
- Topic: Scaling of MA on RSI [SOLVED]
- Replies: 10
- Views: 2461
Re: Scaling of MA on RSI [SOLVED]
synonym,
thank you for you kind words, I am glad to hear that my answer was helpful to you.
Regards,
ABC
thank you for you kind words, I am glad to hear that my answer was helpful to you.
Regards,
ABC
- 07 Jun 2018
- Forum: MultiCharts
- Topic: Scaling of MA on RSI [SOLVED]
- Replies: 10
- Views: 2461
Re: Any user solved the problems i outlined in my post on indicator scaling? [SOLVED]
synonym, one solution would be to do it within one study. Either write your own or use the Custom 4 Line indicator to display the RSI, the average of it and the two threshold lines. Regards, ABC Hi All forgive me posting this, but i felt that many would not look at my post on the end of the thread "...
- 01 Jun 2018
- Forum: MultiCharts .NET
- Topic: Bars.Volume Returning Incorrect Value ?? [SOLVED]
- Replies: 1
- Views: 982
Re: Bars.Volume Returning Incorrect Value ?? [SOLVED]
Gann_Man,
this is intended and you can get the correct volume using Bars.TrueVolume.
You can find some more information here: viewtopic.php?t=45347
Regards,
ABC
this is intended and you can get the correct volume using Bars.TrueVolume.
You can find some more information here: viewtopic.php?t=45347
Regards,
ABC
- 10 May 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Henry, it appears MaxBarsForward and Getappinfo( aiSpaceToRight ) are static and don't reflect changes to the "Chart Shift" settings of a chart i.e. changing the number of bars for the chart will not change what MaxBarsForward and Getappinfo( aiSpaceToRight ) return for a study already applied to a ...
- 09 May 2018
- Forum: MultiCharts
- Topic: trade closed in the same bar .. was it long or short?
- Replies: 6
- Views: 1373
Re: trade closed in the same bar .. was it long or short?
shivax, what is your rational for setting TradeNumber to 1? Regards, ABC are you sure PosTradeislong run correctly? i try this example : .... if Time=1000 then sellshort next bar at open; print(Date,time," ",PosTradeislong(0,1)); i see all print =True https://gyazo.com/6da22860acd84ee78125b0597a4ff6...
- 09 May 2018
- Forum: MultiCharts
- Topic: trade closed in the same bar .. was it long or short?
- Replies: 6
- Views: 1373
Re: trade closed in the same bar .. was it long or short?
shivax,,
TradeNumber is the (zero based) number of individual entries into the position for the specific trade and you can use PosTradeCount to retrieve it.
If you don't scale in and out of trades, it should always be 0.
Regards,
ABC
TradeNumber is the (zero based) number of individual entries into the position for the specific trade and you can use PosTradeCount to retrieve it.
If you don't scale in and out of trades, it should always be 0.
Regards,
ABC
- 09 May 2018
- Forum: MultiCharts
- Topic: trade closed in the same bar .. was it long or short?
- Replies: 6
- Views: 1373
Re: trade closed in the same bar .. was it long or short?
shivax,
take a look at the strategy position trades keywords:
https://www.multicharts.com/trading-sof ... ion_Trades
PosTradeIsLong could for example tell you if a trade was long or short.
Regards,
ABC
take a look at the strategy position trades keywords:
https://www.multicharts.com/trading-sof ... ion_Trades
PosTradeIsLong could for example tell you if a trade was long or short.
Regards,
ABC
- 18 Apr 2018
- Forum: MultiCharts .NET
- Topic: VAValue
- Replies: 5
- Views: 1566
Re: VAValue
Hello Maxzhi, you can programmatically access the volume within the value area for a bar using the Volume Profile collection: https://www.multicharts.com/trading-software/index.php/4.7.6_Volume_Profile. You can also display the Volume Profile for a session/bar and have it display the value area by c...
- 10 Apr 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 12.0 BETA 1
- Replies: 38
- Views: 8154
Re: MULTICHARTS 12.0 BETA 1
Henry, it would be great if the reloading feature could be expanded to the Portfolio Trader, too. If for example you are running a large portfolio of stocks in the Portfolio Trader missing data might go unnoticed (by the user) and create problems. The same goes for data feeds that adjust the data af...
- 29 Mar 2018
- Forum: MultiCharts
- Topic: max value in array [SOLVED]
- Replies: 5
- Views: 1234
Re: max value in array [SOLVED]
I agree, when you are looking for code performance the for loop will be faster. Depending on how the array is filled (and as you know the values you use to fill it), you might even save more time by just performing the loop in case the value that drops out is equal to the current highest value in th...
- 29 Mar 2018
- Forum: MultiCharts
- Topic: max value in array [SOLVED]
- Replies: 5
- Views: 1234
Re: max value in array [SOLVED]
turbofib,
using Array_Sort you can sort the array in descending order. If you need to keep the original order in the array make a copy first with Array_Copy and then sort the copy.
Regards,
ABC
using Array_Sort you can sort the array in descending order. If you need to keep the original order in the array make a copy first with Array_Copy and then sort the copy.
Regards,
ABC
- 22 Mar 2018
- Forum: MultiCharts
- Topic: Data Feed Ts in multichart is not egual to TS Feed
- Replies: 8
- Views: 1132
Re: Data Feed Ts in multichart is not egual to TS Feed
turbofib, TS does the backadjustment on their end. Once you have the data loaded in MC and stored in your database, this data will not be affected by what TS changes on their end anymore. That's why you have to reload this data in order to obtain the changes. Regards, ABC ok...but i don't understand...
- 21 Mar 2018
- Forum: MultiCharts
- Topic: Data Feed Ts in multichart is not egual to TS Feed
- Replies: 8
- Views: 1132
Re: Data Feed Ts in multichart is not egual to TS Feed
turbofib, this won't necessarily reload the data in case you have the option to store TS data in Quotemanager enabled. You can read more about reloading data here: https://www.multicharts.com/trading-software/index.php/Reloading_Charts As an alternative you can delete the entire data for the particu...
- 21 Mar 2018
- Forum: MultiCharts
- Topic: Data Feed Ts in multichart is not egual to TS Feed
- Replies: 8
- Views: 1132
Re: Data Feed Ts in multichart is not egual to TS Feed
turbofib,
did you reload the data in Multicharts since roll over? Otherwise you might not see the back adjustment in the continuous contracts.
Regards,
ABC
did you reload the data in Multicharts since roll over? Otherwise you might not see the back adjustment in the continuous contracts.
Regards,
ABC
- 29 Jan 2018
- Forum: MultiCharts .NET
- Topic: TrendLines disappear on Live Data (Indicator) [SOLVED]
- Replies: 4
- Views: 1284
Re: TrendLines disappear on Live Data (Indicator) [SOLVED]
Jobauma,
take a look at the "RecoverDrawings" attribute. This will prevent trendlines from disappearing in case they are created intrabar.
Regards,
ABC
take a look at the "RecoverDrawings" attribute. This will prevent trendlines from disappearing in case they are created intrabar.
Regards,
ABC
- 22 Jan 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Hello Henry, thank you for letting me know. The help file using MultiCharts64 Version 11.0 Release (Build 15566) shows these examples for PositionProfit on my end: Example PositionProfit (0) will return a value of 5 if the value of the open position has increased by ¤5 since it was entered PositionP...
- 15 Jan 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Hello Henry,
it's what the build in help file in MultiCharts64 Version 11.0 Release (Build 15566) shows, this might require an update.
So it's intended behavior that this reserved word behaves differently than in TS?
Regards,
ABC
it's what the build in help file in MultiCharts64 Version 11.0 Release (Build 15566) shows, this might require an update.
So it's intended behavior that this reserved word behaves differently than in TS?
Regards,
ABC
- 12 Jan 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Hello Multicharts, it appears there is a bug with the reserved word PositionProfit, at least in MultiCharts64 Version 11.0 Release (Build 15566). The help file states: PositionProfit (0) will return a value of 5 if the value of the open position has increased by ¤5 since it was entered However Posit...
- 11 Jan 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Order name length in MultiCharts = 32. We will have the performance report support the same length in MultiCharts 12 Beta 1. Hello Henry, great, thank you for the update. Not that it really matters, the chart appears to only show a length of 31 strings for me in MultiCharts64 Version 11.0 Release (...
- 09 Jan 2018
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
Hi Multicharts team, it appears there is a limitation for the length of an order name that MC displays and uses internally. However it seems that these limitations are different for what is shown on the chart versus what is shown on in performance report. 1. Could this limitation be removed? 2. Eith...
- 30 Dec 2017
- Forum: MultiCharts
- Topic: Perform calculation when my position changes [SOLVED]
- Replies: 4
- Views: 781
Re: Perform calculation when my position changes [SOLVED]
monick, check this link and Henry's reply: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=51048&p=127428#p127415 You can find out if CurrentContracts and CurrentContracts[1] are giving you the value that you expect when positions are opened, changed or reversed by using the print reserve...
- 28 Dec 2017
- Forum: MultiCharts
- Topic: Signal Input Parameter Change in Real-Time
- Replies: 3
- Views: 581
Re: Signal Input Parameter Change in Real-Time
jrgmak, you could assign the broker position to your strategy (https://www.multicharts.com/trading-software/index.php/Auto_Trading#Assign_the_Initial_Market_Position_at_the_Broker_Settings) or change the inputs via an indicator that could for example send the input values to your strategy via Global...
- 19 Dec 2017
- Forum: MultiCharts
- Topic: Erase a previous plotted dot [SOLVED]
- Replies: 7
- Views: 1460
Re: Erase a previous plotted dot [SOLVED]
Al3cs,
Powerlanguage allows displacing NoPlot, too.
Regards,
ABC
Powerlanguage allows displacing NoPlot, too.
Code: Select all
Plot1( Close ) ;
NoPlot[10]( 1 ) ;
ABC
Well, now I know what the problem is.
What about the solution?
- 13 Dec 2017
- Forum: MultiCharts
- Topic: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
- Replies: 9
- Views: 3336
Re: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
waveslider, from your code snippet it appears you are trying to control the number of entries in the entry strategy. This will most likely not work, as too many entries on different symbols at the same time could go beyond your position limits. Take a look at how the build in "Portfolio Rank MM Sign...
- 24 Nov 2017
- Forum: MultiCharts
- Topic: Plotpaintbar [SOLVED]
- Replies: 8
- Views: 1252
Re: Plotpaintbar [SOLVED]
tradingest,
you are welcome and thanks for posting the solution as it might help others, too.
Regards,
ABC
you are welcome and thanks for posting the solution as it might help others, too.
Regards,
ABC
- 23 Nov 2017
- Forum: MultiCharts
- Topic: Plotpaintbar [SOLVED]
- Replies: 8
- Views: 1252
Re: Plotpaintbar [SOLVED]
tradingest,,
if you have to displace the plot, then use the values for that bar, too. Just displacing the plot will not automatically use the displaced prices.
Regards,
ABC
if you have to displace the plot, then use the values for that bar, too. Just displacing the plot will not automatically use the displaced prices.
Regards,
ABC
- 23 Nov 2017
- Forum: MultiCharts
- Topic: Plotpaintbar [SOLVED]
- Replies: 8
- Views: 1252
Re: Plotpaintbar [SOLVED]
tradingest,
you displace your paintbar by one bar, but use the current bar's values. This way you don't necessarily have a full overlap.
Regards,
ABC
you displace your paintbar by one bar, but use the current bar's values. This way you don't necessarily have a full overlap.
Regards,
ABC
- 23 Nov 2017
- Forum: MultiCharts
- Topic: Plotpaintbar [SOLVED]
- Replies: 8
- Views: 1252
Re: Plotpaintbar [SOLVED]
tradingest,
what are you trying to accomplish exactly? The result on the chart is what I'd expect to see from the code you posted, but without knowing what you are expecting one could only guess what needs to be changed.
Regards,
ABC
what are you trying to accomplish exactly? The result on the chart is what I'd expect to see from the code you posted, but without knowing what you are expecting one could only guess what needs to be changed.
Regards,
ABC
- 14 Nov 2017
- Forum: MultiCharts
- Topic: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
- Replies: 9
- Views: 3336
Re: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
waveslider,
the "Portfolio Rank MM Signal" and documentation should get you going.
Regards,
ABC
the "Portfolio Rank MM Signal" and documentation should get you going.
Regards,
ABC
- 14 Nov 2017
- Forum: MultiCharts
- Topic: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
- Replies: 9
- Views: 3336
Re: Limiting the number of entries in Portfolio Backtester ? [SOLVED]
waveslider, you can accomplish this using a portfolio money management signal and only let the number of entry orders pass that you want to allow. Regards, ABC I am aware of "Portfolio_CurrentEntries", but this will not limit the strategy from entering 10 new entries on one day. For example if it go...
- 01 Nov 2017
- Forum: MultiCharts
- Topic: keep orders open for set number of bars
- Replies: 8
- Views: 1361
Re: keep orders open for set number of bars
kagein,
according to your code anytime long_condition is true (even while you are in a trade), trade_on will become true and could allow an order.
Regards,
ABC
according to your code anytime long_condition is true (even while you are in a trade), trade_on will become true and could allow an order.
Regards,
ABC
- 01 Nov 2017
- Forum: MultiCharts
- Topic: keep orders open for set number of bars
- Replies: 8
- Views: 1361
Re: keep orders open for set number of bars
TJ, as far as I can tell from the code snippet posted, the trade_on reset to false is not done within the "if long_condition then begin" conditional statement. So for the snippet posted the code has a routine to "to turn trade_on = False" in case long_condition = False. However one could only guess ...
- 18 Oct 2017
- Forum: MultiCharts
- Topic: sessionLastBar and sessionLastBar[1] is egual [SOLVED]
- Replies: 2
- Views: 867
Re: sessionLastBar and sessionLastBar[1] is egual [SOLVED]
shivax, not all reserved words can be back referenced (maybe the Multicharts support can provide a list of the reserved words that you can back reference), in that case the references provide the same value as the current bar does. You can overcome this by storing the reserved word in a variable and...
- 12 Oct 2017
- Forum: MultiCharts
- Topic: How to set price scale to display 3 decimal places in chart [SOLVED]
- Replies: 2
- Views: 840
Re: How to set price scale to display 3 decimal places in chart [SOLVED]
LMC1,
if you just want to change the visual appearance, you can change the number of decimal spaces on the "Scaling" tab under "Format Instruments". Regards,
ABC
if you just want to change the visual appearance, you can change the number of decimal spaces on the "Scaling" tab under "Format Instruments". Regards,
ABC
- 20 Sep 2017
- Forum: MultiCharts
- Topic: MC 64 to execute a shell command [SOLVED]
- Replies: 6
- Views: 1499
Re: MC 64 to execute a shell command [SOLVED]
Martin,
for the shell32.dll there is in fact a 64bit version in case you are running a 64bit OS, so the function should not be the problem here.
Regards,
ABC
for the shell32.dll there is in fact a 64bit version in case you are running a 64bit OS, so the function should not be the problem here.
Regards,
ABC
- 20 Sep 2017
- Forum: MultiCharts
- Topic: MC 64 to execute a shell command [SOLVED]
- Replies: 6
- Views: 1499
Re: MC 64 to execute a shell command [SOLVED]
Martin,
in case the DLL is a 32bit DLL, calling it with MC 64bit will not work. That's a guess though as it's hard to tell without knowing what "cause an error to my indicator" exactly means.
Regards,
ABC
in case the DLL is a 32bit DLL, calling it with MC 64bit will not work. That's a guess though as it's hard to tell without knowing what "cause an error to my indicator" exactly means.
Regards,
ABC
- 15 Aug 2017
- Forum: MultiCharts .NET
- Topic: Portfolio trader and dynamic list of instruments
- Replies: 4
- Views: 1613
Re: Portfolio trader and dynamic list of instruments
rst,
depending on the number of possible symbols you could also create a portfolio with all symbols and then read the number of symbols "into your code" and only allow trading on the specific ones.
Regards,
ABC
depending on the number of possible symbols you could also create a portfolio with all symbols and then read the number of symbols "into your code" and only allow trading on the specific ones.
Regards,
ABC
- 15 Aug 2017
- Forum: MultiCharts
- Topic: ELcollection , files commands
- Replies: 2
- Views: 610
Re: ELcollection , files commands
Smoky,
as far as I am aware WriteFile will create a new file and you can't append to an existing file with it. You could loop through your list and use FileAppend or read the contents of your file into the list first and then write it back together with your other list values.
Regards,
ABC
as far as I am aware WriteFile will create a new file and you can't append to an existing file with it. You could loop through your list and use FileAppend or read the contents of your file into the list first and then write it back together with your other list values.
Regards,
ABC
- 14 Aug 2017
- Forum: MultiCharts
- Topic: Detecting a script is running on chart or scanner [SOLVED]
- Replies: 2
- Views: 727
Re: Detecting a script is running on chart or scanner [SOLVED]
John,
yes, you can detect if a study is running in the Scanner or on a chart via GetAppInfo( aiApplicationType ).
Regards,
ABC
yes, you can detect if a study is running in the Scanner or on a chart via GetAppInfo( aiApplicationType ).
Regards,
ABC
- 11 Aug 2017
- Forum: MultiCharts
- Topic: MULTICHARTS 11.0 RELEASE
- Replies: 85
- Views: 95122
Re: MULTICHARTS 11.0 RELEASE
yoyotrader, while this is usually the case, you still might want to do a backup of your studies before installing a new version of Multicharts. Simply export all studies, this doesn't take more than a minute and it's better to be save than sorry when it comes to your studies. Regards, ABC If I downl...
- 18 Jul 2017
- Forum: MultiCharts
- Topic: Can GVs be used in the MC stock scanner? [SOLVED]
- Replies: 4
- Views: 741
Re: Can GVs be used in the MC stock scanner? [SOLVED]
John,
the documentation and everything is available on the TS forum. I am not sure if you can find it somewhere on the net, but it might be possible.
Regards,
ABC
the documentation and everything is available on the TS forum. I am not sure if you can find it somewhere on the net, but it might be possible.
Regards,
ABC
- 18 Jul 2017
- Forum: MultiCharts
- Topic: Can GVs be used in the MC stock scanner? [SOLVED]
- Replies: 4
- Views: 741
Re: Can GVs be used in the MC stock scanner? [SOLVED]
bowlesj3,
Global Variables 2.3 works in the scanner. I don't recall testing it with 2.2, but I don't see why it shouldn't work.
I never tried it with Access, though.
Regards,
ABC
Global Variables 2.3 works in the scanner. I don't recall testing it with 2.2, but I don't see why it shouldn't work.
I never tried it with Access, though.
Regards,
ABC
- 17 Jul 2017
- Forum: MultiCharts
- Topic: bar countdown off by 30 seconds [SOLVED]
- Replies: 12
- Views: 2028
Re: bar countdown off by 30 seconds [SOLVED]
plaforte,
you might want to consider contacting the Multicharts support via helpdesk directly to demonstrate the situation. The support team does a great job and is surely able to help you.
Regards,
ABC
you might want to consider contacting the Multicharts support via helpdesk directly to demonstrate the situation. The support team does a great job and is surely able to help you.
Regards,
ABC
- 27 Jun 2017
- Forum: MultiCharts
- Topic: execute trade in Tuesday open of daily bar
- Replies: 1
- Views: 514
Re: execute trade in Tuesday open of daily bar
dingmanhoe123, one way to accomplish that is to detect the next trading day. For that you'd require a list of the holidays for your respective market most likely. This would allow you to check every day if the next trading day is a Tuesday and in case it is, issue an order using your conditions. You...
- 20 Jun 2017
- Forum: MultiCharts
- Topic: Number of DAY from a certain data range [SOLVED]
- Replies: 2
- Views: 748
Re: Number of DAY from a certain data range [SOLVED]
No Erocla,
you could convert the EasyLanguage date into a Julian Date using the DateToJulian reserved word first and then compute the difference.
Regards,
ABC
you could convert the EasyLanguage date into a Julian Date using the DateToJulian reserved word first and then compute the difference.
Regards,
ABC
- 07 Jun 2017
- Forum: MultiCharts
- Topic: Any way of opening old TS indicators ?
- Replies: 2
- Views: 618
Re: Any way of opening old TS indicators ?
Automeq,
isn't orw the extension for a workspace in 2000i i.e. they don't contain code of the studies (similar to MC workspaces)?
Regards,
ABC
isn't orw the extension for a workspace in 2000i i.e. they don't contain code of the studies (similar to MC workspaces)?
Regards,
ABC
- 31 May 2017
- Forum: MultiCharts
- Topic: Floating error [SOLVED]
- Replies: 7
- Views: 1142
Re: Floating error [SOLVED]
I should add 0.000001 then? stefanols, what if Value2 = -0.000001? I would suggest to check if the denominator of a division is different than 0 (for every division that you perform within a code). If it is, do the division otherwise you can do something else (optional). For example: if denominator...
- 24 May 2017
- Forum: MultiCharts
- Topic: ELExcel.dll: Any info on how to get it? [SOLVED]
- Replies: 13
- Views: 4331
Re: ELExcel.dll: Any info on how to get it? [SOLVED]
gillesc,I would like to use ELExcel.dll with MultiCharts64 (Version: MultiCharts64 Version 10.0 Release (Build 14322)) and Windows 10.
do you have a 64bit version of the ELExcel.dll? I am not sure if one exists, but it would be required to use it with Multicharts64.
Regards,
ABC
- 18 May 2017
- Forum: MultiCharts
- Topic: Rounding problem?
- Replies: 3
- Views: 791
Re: Rounding problem?
Rick, you can either print the values to the output and add the required decimal spaces as described here: https://www.multicharts.com/trading-software/index.php/Print Or you can change the number of decimals a plot will show on a chart. You'll find the setting under General (No. of digits after the...
- 06 May 2017
- Forum: MultiCharts
- Topic: PL code execution time - strange behavior
- Replies: 12
- Views: 2567
Re: PL code execution time - strange behavior
Zheka,
I have noticed something similar and it appeared that MC was executing the function, although it shouldn't have. You could add print statements to the function to check if it gets executed.
Regards,
ABC
I have noticed something similar and it appeared that MC was executing the function, although it shouldn't have. You could add print statements to the function to check if it gets executed.
Regards,
ABC
- 05 May 2017
- Forum: MultiCharts
- Topic: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
- Replies: 7
- Views: 1453
Re: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
Martin, it's for regular MC and a DLL that you can download here https://www.multicharts.com/discussion/viewtopic.php?f=16&t=10094&p=51526&hilit=TicToc#p51526, but it appears it's just the DLL without the demo code. It's used as a performance timer to see how long certain code or code blocks take to...
- 05 May 2017
- Forum: MultiCharts
- Topic: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
- Replies: 7
- Views: 1453
Re: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
Martin,
Bamboo is the TS forum user name the creator of EasyLanguage Collections, ADE etc. goes by.
As far as I am aware there is no Bamboo.DLL and it probably just means Bamboo's DLLs.
Regards,
ABC
Bamboo is the TS forum user name the creator of EasyLanguage Collections, ADE etc. goes by.
As far as I am aware there is no Bamboo.DLL and it probably just means Bamboo's DLLs.
Regards,
ABC
- 27 Apr 2017
- Forum: MultiCharts
- Topic: How to get the barnumber of the first displayed bar on the screen [SOLVED]
- Replies: 6
- Views: 1564
Re: How to get the barnumber of the first displayed bar on the screen [SOLVED]
Hi Martin, you could get the bar number with a workaround. Draw a text at aiLeftDispDateTime and ask for its bar number. txtID = Text_New_DT( getappinfo( aiLeftDispDateTime ), 0, "" ) ; Print( DateTimeToString( getappinfo( aiLeftDispDateTime ) ), "; Bar Number = ", text_getbarnumber( txtID ), "; Cur...
- 24 Apr 2017
- Forum: MultiCharts
- Topic: External inputs / values into strategies? e.g. csv lookup? [SOLVED]
- Replies: 11
- Views: 3059
Re: External inputs / values into strategies? e.g. csv lookup? [SOLVED]
Shahram,
there is no need to do that. Simply import the ELD with the functions, read the documentation and study the examples on how to use the functions.
Regards,
ABC
there is no need to do that. Simply import the ELD with the functions, read the documentation and study the examples on how to use the functions.
Regards,
ABC
- 22 Apr 2017
- Forum: MultiCharts
- Topic: trade one symbol by using data from a different symbol
- Replies: 3
- Views: 921
Re: trade one symbol by using data from a different symbol
Hi Angelina, based on Henry's reply here: https://www.multicharts.com/discussion/posting.php?mode=quote&f=1&p=120907 and from past experience I was under the impression that this wouldn't work due to the instruments having different parameters. Did this change recently? Regards, ABC Hello guantum, I...
- 19 Apr 2017
- Forum: MultiCharts
- Topic: Problem with input parameter of type true/false [SOLVED]
- Replies: 2
- Views: 727
Re: Problem with input parameter of type true/false [SOLVED]
Trader M,
while what you experience doesn't sound like it is intended behavior, as a workaround you can
make the inputs numeric - 0 for false, 1 for true.
Regards,
ABC
while what you experience doesn't sound like it is intended behavior, as a workaround you can
make the inputs numeric - 0 for false, 1 for true.
Regards,
ABC
- 04 Apr 2017
- Forum: MultiCharts
- Topic: .rld command after 2 minutes from the firts daily bar in IOB script [SOLVED]
- Replies: 27
- Views: 3479
Re: .rld command after 2 minutes from the firts daily bar in IOB script [SOLVED]
auoto, you might want to look into the reserved word recalcpersist (https://www.multicharts.com/trading-software/index.php/RecalcPersist) and apply it to your code here: https://www.multicharts.com/discussion/viewtopic.php?t=50624#p125429 You might also need to reset the variable at a later time. Re...
- 04 Apr 2017
- Forum: MultiCharts
- Topic: Entry at exact time different with tick or minute bar
- Replies: 28
- Views: 5758
Re: Entry at exact time different with tick or minute bar
Hi Angelina, as your are currently looking into this, can you please explain the questions raised in here: https://www.multicharts.com/discussion/viewtopic.php?t=50519#p125102. As the difference is only in using "Enable access to intra-bar time..." once and one time testing without that (everything ...
- 31 Mar 2017
- Forum: MultiCharts
- Topic: Entry Price Question [SOLVED]
- Replies: 5
- Views: 959
Re: Entry Price Question [SOLVED]
mcjohn,
EntryPrice doesn't return values from the Order & Position Tracker, it just returns the entry price of a signal on that chart.
Regards,
ABC
EntryPrice doesn't return values from the Order & Position Tracker, it just returns the entry price of a signal on that chart.
Regards,
ABC
- 29 Mar 2017
- Forum: MultiCharts
- Topic: I want to insert "Bollinger Bands Width" [SOLVED]
- Replies: 2
- Views: 884
Re: I want to insert "Bollinger Bands Width" [SOLVED]
cktsui888, as far as I am aware there is no build in study for the Bollinger Width, but you can accomplish this with a quick modification of the build in Bollinger Bands indicator. inputs: BollingerPrice ( Close ), Length ( 20 ), NumDevsUp ( 2 ), NumDevsDn ( -2 ), Displace ( 0 ) ; variables: midLine...
- 20 Mar 2017
- Forum: MultiCharts
- Topic: Dynamic Arrays, Functions, Lists
- Replies: 5
- Views: 1185
Re: Dynamic Arrays, Functions, Lists
You can pass dynamic arrays to functions. Check out page 109 of the EL Essentials PDF and the examples there.
You'll have to check out what happens when you change the array size within the function.
Regards,
ABC
You'll have to check out what happens when you change the array size within the function.
Regards,
ABC
- 20 Mar 2017
- Forum: MultiCharts
- Topic: Dynamic Arrays, Functions, Lists
- Replies: 5
- Views: 1185
Re: Dynamic Arrays, Functions, Lists
If you got the doc from the original zip file, it also contains the functions ELD that you'll have to import before you can use the DLL. You can probably find them here, although I didn't check it: viewtopic.php?=&p=8189
Regards,
ABC
Regards,
ABC
- 20 Mar 2017
- Forum: MultiCharts
- Topic: Dynamic Arrays, Functions, Lists
- Replies: 5
- Views: 1185
Re: Dynamic Arrays, Functions, Lists
I also considered using Lists. I downloaded the ELCollections DLL to the correct folder but statements such "ListID = ListN.New; " indicate it isn't recognized. Another question - what is the scope of those lists? can a function access a list? I don't see how can a list be passed to a function.. Tr...
- 09 Mar 2017
- Forum: MultiCharts
- Topic: Entry at exact time different with tick or minute bar
- Replies: 28
- Views: 5758
Re: Entry at exact time different with tick or minute bar
Hi Angelina,
is there an update to the questions raised in viewtopic.php?t=50519#p125102 and viewtopic.php?t=50519#p125124?
Thank you,
ABC
is there an update to the questions raised in viewtopic.php?t=50519#p125102 and viewtopic.php?t=50519#p125124?
Thank you,
ABC
- 24 Feb 2017
- Forum: MultiCharts
- Topic: Entry at exact time different with tick or minute bar
- Replies: 28
- Views: 5758
Re: Entry at exact time different with tick or minute bar
Angelina, can you please elaborate the differences that occur in the above example, when "Enable access to intra-bar time..." is checked versus when it's unchecked (everything else is the same i.e. IOG enabled, bar magnifier with 1 tick resolution, the code, the data etc.)? Why is the execution occu...
- 16 Feb 2017
- Forum: MultiCharts
- Topic: Entry at exact time different with tick or minute bar
- Replies: 28
- Views: 5758
Re: Entry at exact time different with tick or minute bar
evdl, this appears to happen only when you check "Enable access to intra-bar time..." in the backtest. In my opinion this shouldn't be expected behavior as this results in the code behaving different in a backtest compared to the same code in realtime and that can be a problem. Can someone from Mult...
- 14 Feb 2017
- Forum: MultiCharts
- Topic: portfolio trader windows detached [SOLVED]
- Replies: 2
- Views: 767
Re: portfolio trader windows detached [SOLVED]
Hi waldem,
I had the same a few days ago. Following the steps described by Henry here cured it for me:
viewtopic.php?f=1&t=50407&p=124545#p124545
Regards,
ABC
I had the same a few days ago. Following the steps described by Henry here cured it for me:
viewtopic.php?f=1&t=50407&p=124545#p124545
Regards,
ABC
- 09 Feb 2017
- Forum: MultiCharts
- Topic: "First 5 trading days of the year"
- Replies: 8
- Views: 1520
Re: "First 5 trading days of the year"
Jonny473, if I understand you correctly it should be enough to compare the open of a year to the close on day 5 and then buy/sell according to that. You can get the new year with: "if Year( Date ) <> Year( Date[1] )" Then you can use a counter to increment on each day until day 5, where you compare ...
- 02 Feb 2017
- Forum: MultiCharts
- Topic: Using Forms Classes [SOLVED]
- Replies: 1
- Views: 628
Re: Using Forms Classes [SOLVED]
tradingest,
Forms are not available in regular Multicharts like in TS (it might be doable via external DLLs), but this should be doable in Multicharts.NET.
Regards,
ABC
Forms are not available in regular Multicharts like in TS (it might be doable via external DLLs), but this should be doable in Multicharts.NET.
Regards,
ABC
- 28 Jan 2017
- Forum: MultiCharts
- Topic: Write the letter at the end [SOLVED]
- Replies: 2
- Views: 860
Re: Write the letter at the end [SOLVED]
tradingest,
if you want to do this via code look into "Text_New" and the related reserved words.
Regards,
ABC
if you want to do this via code look into "Text_New" and the related reserved words.
Regards,
ABC
- 08 Jan 2017
- Forum: MultiCharts
- Topic: IOG strategy optimization
- Replies: 3
- Views: 859
Re: IOG strategy optimization
To clarify what I wrote above, when I say "to get results that are as close as the tick by tick behavior as possible", this means as close as you can get with MC. Historic testing will always be different to live trading as there is only so much you can simulate. JoshM makes a good point about pessi...
- 08 Jan 2017
- Forum: MultiCharts
- Topic: IOG strategy optimization
- Replies: 3
- Views: 859
Re: IOG strategy optimization
kernel, in general it's possible and practical to optimize code that uses IOG (although there can be exceptions, if your code uses values that are only available realtime for example). When you backtest/optimize code that uses IOG I'd suggest to use the Bar Magnifier with the highest possible resolu...
- 05 Jan 2017
- Forum: MultiCharts
- Topic: Open/Close Indicator
- Replies: 6
- Views: 1416
Re: Open/Close Indicator
BC_Trading,
you can't accomplish this with keywords, but you can set it up with the plot styles under the indicator properties.
Simply set the Open to "Left Tick", the High to "Bar High", Low to "Bar Low" and Close to "Right Tick".
Regards,
ABC
you can't accomplish this with keywords, but you can set it up with the plot styles under the indicator properties.
Simply set the Open to "Left Tick", the High to "Bar High", Low to "Bar Low" and Close to "Right Tick".
Regards,
ABC
- 04 Jan 2017
- Forum: MultiCharts
- Topic: Open/Close Indicator
- Replies: 6
- Views: 1416
Re: Open/Close Indicator
BC_Trading, do you get the result you want when you don't limit the plotting to the date change? //OpenCloseIndicator Variables: OpenCloseIndicator (0); OpenCloseIndicator = close-openD(0) ; plot1(OpenCloseIndicator,"OC",Red,Default,5); You can probably polish it a bit more and have it display actua...
- 27 Dec 2016
- Forum: MultiCharts
- Topic: Scanning very slow
- Replies: 4
- Views: 876
Re: Scanning very slow
Do you refer to the time it takes on startup until the data is loaded and the results are computed? If so, do you store the TS data in QM's database or does MC have to download it every time from scratch? If it's the latter see if changing that (https://www.multicharts.com/trading-software/index.php...
- 27 Dec 2016
- Forum: MultiCharts
- Topic: Equity Curve on a Chart
- Replies: 5
- Views: 1842
Re: Equity Curve on a Chart
TraderWalrus, you can make use of some of the reserved words starting with I_ to plot strategy metrics in an indicator that is applied to the same chart as the strategy. You could also use I_SetPlotValue and I_GetPlotValue to make any value from your strategy available to an indicator and plot it. T...
- 26 Dec 2016
- Forum: MultiCharts
- Topic: Scanner wrong
- Replies: 13
- Views: 2022
Re: Scanner wrong
Follow the correct usage of "NoPlot" as described here and it should work:
https://www.multicharts.com/trading-sof ... php/NoPlot
https://www.multicharts.com/trading-sof ... php/NoPlot
- 26 Dec 2016
- Forum: MultiCharts
- Topic: Scanner wrong
- Replies: 13
- Views: 2022
Re: Scanner wrong
You might want to read about the NoPlot reserved word in the help file and wiki. If you are still having troubles after that, post the code modifications you made and I am sure someone is able to point you into the right direction.
Regards,
ABC
Regards,
ABC
- 26 Dec 2016
- Forum: MultiCharts
- Topic: Scanner wrong
- Replies: 13
- Views: 2022
Re: Scanner wrong
Yes, follow either of the two suggestions I posted here: viewtopic.php?p=124496#p124487
- 26 Dec 2016
- Forum: MultiCharts
- Topic: Scanner wrong
- Replies: 13
- Views: 2022
Re: Scanner wrong
Because you set it when your condition is true, but never reset it. If you set the value of a variable within your conditional check "if Condition12 then begin..." it would keep this value until you change it again, too. It's similar for the plots in the Scanner, they will simply keep the last value...
- 26 Dec 2016
- Forum: MultiCharts
- Topic: Scanner wrong
- Replies: 13
- Views: 2022
Re: Scanner wrong
tradingest, the scanner is not wrong, it does exactly what your code tells it to do. When you set plot values they will be kept until you update them again. This means you will have to either remove them (using NoPlot) or set them to a different value when your Condition12 is no longer present. Rega...
- 22 Dec 2016
- Forum: MultiCharts
- Topic: How to retreive IB continuos contracts data
- Replies: 2
- Views: 720
- 09 Dec 2016
- Forum: MultiCharts
- Topic: Submitting orders with mouse clicks in PowerLanguage [SOLVED]
- Replies: 9
- Views: 1768
Re: Submitting orders with mouse clicks in PowerLanguage [SOLVED]
Helmut,
what is the result of your code?
You have IntrabarOrderGeneration enabled, but your variables are not intrabarpersist. This might be an explanation, but not knowing what actually happens with your code this is just a guess.
Regards,
ABC
what is the result of your code?
You have IntrabarOrderGeneration enabled, but your variables are not intrabarpersist. This might be an explanation, but not knowing what actually happens with your code this is just a guess.
Regards,
ABC
- 09 Dec 2016
- Forum: MultiCharts
- Topic: Multitimeframe Signals ADE, EL_Collections, etc.
- Replies: 21
- Views: 4154
Re: Multitimeframe Signals ADE, EL_Collections, etc.
Jonny473, it appears you are not using the correct code for what you want and in turn use values internally that are different from what you expect them to be. Just because you feed the price of data 2 to a function doesn't mean the function is only computed on data2. It usually helps to print and p...
- 09 Dec 2016
- Forum: MultiCharts
- Topic: Submitting orders with mouse clicks in PowerLanguage [SOLVED]
- Replies: 9
- Views: 1768
Re: Submitting orders with mouse clicks in PowerLanguage [SOLVED]
Helmut, in general MC will keep orders alive as long as the conditions that triggered the order are true. If your order triggering condition is a mouse click, then this condition is not true anymore once you release the mouse key. One approach to solve this would be to set a flag to true with your m...
- 08 Dec 2016
- Forum: MultiCharts
- Topic: Opening Range Indicator [SOLVED]
- Replies: 5
- Views: 2482
Re: Opening Range Indicator [SOLVED]
BC_Trading,
in case of volume bars you can simply count a number of bars for your opening range. This will likely be simpler than using the volume directly.
Regards,
ABC
in case of volume bars you can simply count a number of bars for your opening range. This will likely be simpler than using the volume directly.
Regards,
ABC
- 02 Dec 2016
- Forum: MultiCharts
- Topic: @ES Continuous Futures TS symbol plotting?
- Replies: 3
- Views: 840
Re: @ES Continuous Futures TS symbol plotting?
Mark, you are welcome. Depending on your preference you might want to enable that TS data will be cached in QM (-> Tools -> Data Sources), as this is disabled by default. This way it doesn't always have to backfill all the data, although you will likely have to reload the data after each rollover ad...
- 01 Dec 2016
- Forum: MultiCharts
- Topic: @ES Continuous Futures TS symbol plotting?
- Replies: 3
- Views: 840
Re: @ES Continuous Futures TS symbol plotting?
Mark,
did you add the symbol to the Quotemanager already or does it fail when you try that? If you didn't add the symbol to QM, this should be your first step. After that you should have not problem to chart the symbol (@ES works fine here coming from the TS datafeed).
Regards,
ABC
did you add the symbol to the Quotemanager already or does it fail when you try that? If you didn't add the symbol to QM, this should be your first step. After that you should have not problem to chart the symbol (@ES works fine here coming from the TS datafeed).
Regards,
ABC
- 23 Nov 2016
- Forum: MultiCharts
- Topic: DMI is affected by Max Bars Back [SOLVED]
- Replies: 20
- Views: 2472
Re: DMI is affected by Max Bars Back [SOLVED]
pcrespo, I don't think MBB is the real problem here. Try the following: Set a date block in your code and only have it start when the chart date >= this date. Set this date to the beginning of 2016 and start your chart a couple of month earlier. Does changing the MBB value give you a different resul...
- 11 Nov 2016
- Forum: MultiCharts .NET
- Topic: Countdown Timer
- Replies: 7
- Views: 2347
Re: Countdown Timer
datamonkey, how can you tell how many ticks are left in a Renko bar? For a tick bar this is simple, but for a Renko bar it could take 10 or 1000 ticks until the bar is finished. This is how I understand "ticks left" in a bar at least, which makes me think you are looking for something else. Maybe yo...
- 03 Nov 2016
- Forum: MultiCharts .NET
- Topic: MultiCharts .NET tutorials
- Replies: 15
- Views: 14795
Re: MultiCharts .NET tutorials
The9000, you can use the three build in portfolio trading strategies as a good starting point. They are similar to the ones you can find in PowerLanguage MC. Regards, ABC Thanks Josh the content on your site is great for someone looking to make the jump to c#. I found it extremely helpful. Is there ...
- 19 Oct 2016
- Forum: MultiCharts
- Topic: trade information on the chart [SOLVED]
- Replies: 4
- Views: 1360
Re: trade information on the chart [SOLVED]
arnie, you are using tracking variables that are not intrabar persist, but reset them intrabar i.e. as soon as there is a market position change. This will likely result in the variables not saving the new values, but instead keeping 0 (which doesn't matter for SessHi, but for the other two it will)...
- 17 Oct 2016
- Forum: MultiCharts
- Topic: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
- Replies: 11
- Views: 2574
Re: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
There is no such function in MC (there is no such function in TS by default either), but you can probably get the function where you got the indicator code.
Regards,
ABC
What exactly did the other user say?That was the input by another user.
Regards,
ABC
- 17 Oct 2016
- Forum: MultiCharts
- Topic: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
- Replies: 11
- Views: 2574
Re: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
syracusepro, the code you posted is definitely an indicator. Trying to put it into a function won't work without several code changes. in MultiCharts, inputs and variables have to be declared or defined in a different way Can you give an example of such a case, please? To my understanding there shou...
- 17 Oct 2016
- Forum: MultiCharts
- Topic: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
- Replies: 11
- Views: 2574
Re: QQE Quantitative Qualitative Estimation for Multicharts [SOLVED]
syracusepro, it appears this is not the full code you posted. For example you are using a function called QQE, but did not post it. With blocking the function call the code compiles fine, so the problem is probably not within the indicator code. As the QQE function from the TS forum compiles fine in...
- 13 Oct 2016
- Forum: MultiCharts
- Topic: Print true false [SOLVED]
- Replies: 4
- Views: 1098
Re: Print true false [SOLVED]
Hi waldem, there is no equivalent like "TrueFalseToStr", but you can easiliy write a function with a string as return value and one input of type "truefalsesimple". Then you pass your boolean, evaluate if it's true or false and return the appropriate string that you want to see in either case. Then ...
- 02 Sep 2016
- Forum: MultiCharts
- Topic: what am I missing here?
- Replies: 13
- Views: 2476
Re: what am I missing here?
It will probably not make a difference (although the help states for i_MarketPosition_at_Broker that "This function can only be used in indicators."), but what happens when you use MarketPosition_at_Broker without the "i_"?
Regards,
ABC
Regards,
ABC
- 02 Sep 2016
- Forum: MultiCharts
- Topic: what am I missing here?
- Replies: 13
- Views: 2476
Re: what am I missing here?
arnie, this is probably the explanation. i_MarketPosition_at_Broker_for_The_Strategy will return the market position for a strategy on that chart and not the position at the broker. You will likely nave to use i_MarketPosition_at_Broker. Regards, ABC These are all manual trades, not auto strategies.
- 26 Aug 2016
- Forum: MultiCharts
- Topic: error msg "Can't find dll "elcollections2.dll"
- Replies: 4
- Views: 1937
Re: error msg "Can't find dll "elcollections2.dll"
masber2000,
as far as I am aware elcollections2.dll is a 32 bit DLL and will only work in TS (maybe MC 32bit, but I never tried that). You might want to switch to the 64 bit version of ELCollections.DLL that you can obtain here in the forum.
Regards,
ABC
as far as I am aware elcollections2.dll is a 32 bit DLL and will only work in TS (maybe MC 32bit, but I never tried that). You might want to switch to the 64 bit version of ELCollections.DLL that you can obtain here in the forum.
Regards,
ABC
- 17 Jul 2016
- Forum: MultiCharts .NET
- Topic: send limit order [SOLVED]
- Replies: 2
- Views: 1955
Re: send limit order [SOLVED]
darob, you send the order using Bars.Low[0]. This will result in a cancellation or adjustment of the limit price every time the low of the current bar changes. When you want the limit order to keep a certain price, save that price into a variable (and don't update that variable after you saved your ...
- 15 Jul 2016
- Forum: MultiCharts
- Topic: Prevent multiple entries on same bar?
- Replies: 6
- Views: 1904
Re: Prevent multiple entries on same bar?
Xyzzy, you should be able to count fills or how many orders you let pass for the signals in the Money Management signal (where you can use IOG) and after one fill for a strategy don't let additional entries pass that day. Regards, ABC Hi Henry, Thanks for the suggestion. Unfortunately I do need to u...
- 13 Jul 2016
- Forum: MultiCharts .NET
- Topic: track market position
- Replies: 9
- Views: 2652
Re: track market position
while(StrategyInfo.MarketPosition > 0) { output.writeline(example); } RobBoss, I never had an issue with while loops in MC.NET, but the above would become an infinite loop as soon you are long, which might explain why your computer locks up. MC doesn't detect infinite loops for you during execution...
- 07 Jul 2016
- Forum: MultiCharts
- Topic: obtain the close of a specific day [SOLVED]
- Replies: 3
- Views: 1130
Re: obtain the close of a specific day [SOLVED]
nuno-online, that is possible, but not as simple as the one liner Henry provided. For starters you will need to have a list of holidays (and probably weekends) you want to check for. Now you can do something along the lines of: 1. Check if the current bar is not a holiday, weekend and what ever you ...
- 13 Jun 2016
- Forum: MultiCharts .NET
- Topic: Add-Ons
- Replies: 3
- Views: 2688
Re: Add-Ons
That's likely because a developer can easily protect his/her code in the FREE Multicharts.NET, but the PAID version doesn't have this ability, yet. As far as I am aware there is no plan to change that in the immediate future, but I am sure Henry is able to explain this better. Regards, ABC My MultiC...
- 11 Jun 2016
- Forum: MultiCharts .NET
- Topic: Add-Ons
- Replies: 3
- Views: 2688
Re: Add-Ons
Gann_Man,
wasn't this list always empty in Multicharts.NET? I don't recall ever seeing anything in there (unless in regular Multicharts of course) and I don't have anything in there in Version 9.1 Release (Build 12589) either.
Regards,
ABC
wasn't this list always empty in Multicharts.NET? I don't recall ever seeing anything in there (unless in regular Multicharts of course) and I don't have anything in there in Version 9.1 Release (Build 12589) either.
Regards,
ABC
- 08 Jun 2016
- Forum: MultiCharts .NET
- Topic: Portfolio Trader: MaxBarsBack not working? [SOLVED]
- Replies: 6
- Views: 3408
Re: Portfolio Trader: MaxBarsBack not working? [SOLVED]
dnickless, this should only be an "issue" with indicators like an exponential average, where the length is not connected to a number of bars (like it is in the simple average for example). Two solutions come to mind, either use the one you proposed and have the code wait an additional number of bars...
- 23 May 2016
- Forum: MultiCharts .NET
- Topic: Color.Transparent
- Replies: 6
- Views: 3551
Re: Color.Transparent
Henry, I don't have a workspace or study, but you can simply test it for yourself when you create a new indicator and in the default code just change the plot color in line 12 from Color.Red to Color.Transparent in the code. Apply the indicator to any chart and you should be able to reproduce the re...
- 21 May 2016
- Forum: MultiCharts .NET
- Topic: Color.Transparent
- Replies: 6
- Views: 3551
Re: Color.Transparent
Henry,
it appears in MultiCharts .NET64 Version 9.1 Release (Build 12589) Color.Transparent is back to the white color again. Is this intended?
Regards,
ABC
it appears in MultiCharts .NET64 Version 9.1 Release (Build 12589) Color.Transparent is back to the white color again. Is this intended?
Regards,
ABC
- 10 May 2016
- Forum: MultiCharts
- Topic: Porting over EasyLanguage TS Indicators [SOLVED]
- Replies: 8
- Views: 3859
Re: Porting over EasyLanguage TS Indicators [SOLVED]
ukcurrencier, while you can walk around the methods, your code seems to use PriceSeries providers to load data in the background without having the need to add these as datastreams on the chart. This is something not supported by regular Multicharts, so you would have to load each of the datastreams...
- 24 Apr 2016
- Forum: MultiCharts .NET
- Topic: 2 Computers - How to speed up performance in Multicharts?
- Replies: 34
- Views: 12154
Re: 2 Computers - How to speed up performance in Multicharts
The9000, do you use the words backtest and optimization to describe the same thing? Because if not and you actually did a backtest (and not an optimization) in your test where the CPU reached 8% utilization (was this overall or for one core?), this is not too surprising as a backtest has to be done ...
- 16 Apr 2016
- Forum: MultiCharts
- Topic: View log for variable [SOLVED]
- Replies: 5
- Views: 1409
Re: View log for variable [SOLVED]
tradingest,
your code should work fine (given it has the variables in it of course) the output will appear in the Output tab of the editor and not in the main program like in TS.
Regards,
ABC
your code should work fine (given it has the variables in it of course) the output will appear in the Output tab of the editor and not in the main program like in TS.
Regards,
ABC
- 13 Apr 2016
- Forum: MultiCharts
- Topic: View log for variable [SOLVED]
- Replies: 5
- Views: 1409
Re: View log for variable [SOLVED]
tradingest,
you can use Print to write the variable value to the PL Editor Output tab or use a Plot to display the value on the chart.
Regards,
ABC
you can use Print to write the variable value to the PL Editor Output tab or use a Plot to display the value on the chart.
Regards,
ABC
- 10 Apr 2016
- Forum: MultiCharts
- Topic: value of POC [SOLVED]
- Replies: 3
- Views: 1809
Re: value of POC [SOLVED]
Hi arnie, the indicator and function gives you access to both the VPOC and Volume Value Area as well as the TPO POC and Value Area. It is however based on the chart data and not 1 tick data like the build in Volume Profile. Regards, ABC Notice though ABC's indicator is based on market profile while ...
- 09 Apr 2016
- Forum: MultiCharts
- Topic: value more than insidebid [SOLVED]
- Replies: 5
- Views: 1265
Re: value more than insidebid [SOLVED]
thank you, i tried and it works. strange things is that if i plot only one bid or ask work, if i try to plot both i get same argument error, but maybe is broker problem. Hi waldem, you should include all DOM price checks in the dom_isconnected check and not just the first one. That's likely why you...
- 08 Apr 2016
- Forum: MultiCharts .NET
- Topic: Cannot generate intra-bar order [SOLVED]
- Replies: 3
- Views: 2704
Re: Cannot generate intra-bar order [SOLVED]
joenetic,
according to this link " MarketThisBar command cannot be used in IntraBar Order Generation and BarMagnified modes. The orders will be sent on the bar close only.".
This is likely what is causing the problems for you. You should use MarketNextBar instead.
Regards,
ABC
according to this link " MarketThisBar command cannot be used in IntraBar Order Generation and BarMagnified modes. The orders will be sent on the bar close only.".
This is likely what is causing the problems for you. You should use MarketNextBar instead.
Regards,
ABC
- 04 Apr 2016
- Forum: MultiCharts
- Topic: Market Scanner update [SOLVED]
- Replies: 4
- Views: 1274
Re: Market Scanner update [SOLVED]
waldem, I somehow feel we are talking about different things. I am talking about a reserved word in the code: https://www.multicharts.com/trading-software/index.php/RecalcLastBarAfter According to Henry's post here "RecalcLastBarAfter" code word works in the scanner window." therefore I am not exact...
- 04 Apr 2016
- Forum: MultiCharts
- Topic: Market Scanner update [SOLVED]
- Replies: 4
- Views: 1274
Re: Market Scanner update [SOLVED]
Hi waldem,
this should be possible by forcefully recalculating your study using RecalcLastBarAfter.
This wouldn't mean your study gets updated with every bid ask change though, but it would be updated every X seconds (as low as 100 milliseconds).
Regards,
ABC
this should be possible by forcefully recalculating your study using RecalcLastBarAfter.
This wouldn't mean your study gets updated with every bid ask change though, but it would be updated every X seconds (as low as 100 milliseconds).
Regards,
ABC
- 29 Mar 2016
- Forum: MultiCharts
- Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
- Replies: 5
- Views: 1714
Re: how to know whether data 2 is null in easylanguage? [SOLVED]
I don't think this is a bug, just standard program behavior. You could check for the date of the current last bar, specifically to make sure that it's the same as on data1. You can also write code to check if there is a holiday on the data symbol or on a regular trading day. Regards, ABC yes. same 5...
- 20 Mar 2016
- Forum: MultiCharts .NET
- Topic: Arrow Color? [SOLVED]
- Replies: 2
- Views: 1807
Re: Arrow Color? [SOLVED]
JohnR,
if you are using an IArrowObject for drawing arrows, it has a Color property.
Regards,
ABC
if you are using an IArrowObject for drawing arrows, it has a Color property.
Regards,
ABC
- 12 Mar 2016
- Forum: MultiCharts
- Topic: How to share Array
- Replies: 5
- Views: 1765
Re: How to share Array
I'd suggest to take a look at EasyLanguage Collections. You can easily share lists, maps and collections of these across charts.
Regards,
ABC
Regards,
ABC
Hi all,
did someone know how to share Arrays between charts ? (in PL )
Many thanks
- 05 Mar 2016
- Forum: MultiCharts
- Topic: Limit Order @Price X [SOLVED]
- Replies: 36
- Views: 7300
Re: Limit Order @Price X [SOLVED]
Ben, I wrote it further above in the thread and I only tested it briefly last week, but I seem to get exactly the order you are looking for with one click when I click above the current price on the buy side. However I have to uncheck the "LMT" order under Place Order, which seems a bit counter-intu...
- 02 Mar 2016
- Forum: MultiCharts
- Topic: Limit Order @Price X [SOLVED]
- Replies: 36
- Views: 7300
Re: Limit Order @Price X [SOLVED]
OK, then what's the problem with just using a normal buy limit order? It all can be done with one click now. I must be thick. True, I just checked that, too. It will work fine when you just click at the price on the buy side, but when you check limit (under place order) it will ask me if I want to ...
- 02 Mar 2016
- Forum: MultiCharts
- Topic: Limit Order @Price X [SOLVED]
- Replies: 36
- Views: 7300
Re: Limit Order @Price X [SOLVED]
If someone would like to buy 50 contracts @9547, in a normal behaving DOM setup, you would just enter a normal <LIMIT> order the way you would enter a <LIMIT> order below or at the best bid. You would be filled with 5 contracts @9545.5, 10 contracts @9546, 9 contracts @9546,5 and 12 contracts @9547...
- 02 Mar 2016
- Forum: MultiCharts
- Topic: Limit Order @Price X [SOLVED]
- Replies: 36
- Views: 7300
Re: Limit Order @Price X [SOLVED]
I think so, too. The current DOM design in MC doesn't allow to do it with just one click (afaik), which is what OP had in mind.
Edit: Turns out the current DOM design seems to allow to do it with just one click.
Regards,
ABC
Edit: Turns out the current DOM design seems to allow to do it with just one click.
Regards,
ABC
- 02 Mar 2016
- Forum: MultiCharts
- Topic: Limit Order @Price X [SOLVED]
- Replies: 36
- Views: 7300
Re: Limit Order @Price X [SOLVED]
Now I think I understand what you are getting at. Please correct me if I'm wrong. You want a normal buy limit order placed above the market and pending in the exchange queue but not acted upon until the market gets there. From what I understand from the examples (and I could be wrong here of course...
- 24 Feb 2016
- Forum: MultiCharts .NET
- Topic: How to access VolumeProfile of BarsOfData(2) ? [SOLVED]
- Replies: 2
- Views: 1802
Re: How to access VolumeProfile of BarsOfData(2) ? [SOLVED]
radekj,
you can use VolumeProfileByDataStream(X), where is is the datastream number.
Regards,
ABC
you can use VolumeProfileByDataStream(X), where is is the datastream number.
Regards,
ABC
- 23 Feb 2016
- Forum: MultiCharts .NET
- Topic: Portfolio Trader work-around indicator multi time frame?
- Replies: 2
- Views: 1561
Re: Portfolio Trader work-around indicator multi time frame?
jimpe606, two datastreams would probably the simplest solution. Data1 could be anything from 1 to 15 minutes, Data2 could be daily bars. If you need the actual values of daily bars indicator's 15 minute before the close however, you will have to compute them using lower timeframe data. In this case ...
- 15 Feb 2016
- Forum: MultiCharts
- Topic: Dynamic BI-Dimensional Array [SOLVED]
- Replies: 10
- Views: 2088
Re: Dynamic BI-Dimensional Array [SOLVED]
A collection of lists or maps would provide a multi dimensional and dynamic solution for storing values, too.
Regards,
ABC
Regards,
ABC
- 08 Feb 2016
- Forum: MultiCharts
- Topic: Paper Trader loss for no apparent reason? [SOLVED]
- Replies: 28
- Views: 4991
Re: A $1.1 Million loss for no apparent reason? [SOLVED]
I had a bracketed Stop Loss and Profit order in place (a OCO function) MC displayed the filled Stop signal on my chart but at the erroneous 53,350 price (i.e not the stop price I created in my bracketed order). Hi trim, if the OCO was in place before and showing the correct prices, I am willing to ...
- 08 Feb 2016
- Forum: MultiCharts
- Topic: Paper Trader loss for no apparent reason? [SOLVED]
- Replies: 28
- Views: 4991
Re: A $1.1 Million loss for no apparent reason? [SOLVED]
trim, if I understand what you wrote before correctly, you had a stop in place at the broker. Then this stop was executed at the broker and MC displays the fill price for this stop on your chart. Is this correct or did your code send an order upon a condition that got triggered upon a certain price?...
- 31 Jan 2016
- Forum: MultiCharts
- Topic: "Highest" Function / BarNumber
- Replies: 2
- Views: 1665
Re: "Highest" Function / BarNumber
When you take a look at the Highest function code, you'll see that it just calls another function called Extremes. The latter returns both the value and the bar number of the occurrence (in bars back from the current bar!). You can implement the function in your code exactly like the highest functio...
- 18 Jan 2016
- Forum: MultiCharts .NET
- Topic: Are there any built-in C# strategies for multicharts.net
- Replies: 1
- Views: 1252
Re: Are there any built-in C# strategies for multicharts.net
Yes, there are. If you open the PL Editor any signal without the vb_ prefix is in C#. The other are in Visual Basic.
Regards,
ABC
Regards,
ABC
- 18 Nov 2015
- Forum: MultiCharts
- Topic: Portfolio convert_currency limitations [SOLVED]
- Replies: 2
- Views: 1680
Re: Portfolio convert_currency limitations [SOLVED]
Thank you Henry, that's valuable information.
Regards,
ABC
Regards,
ABC
- 06 Nov 2015
- Forum: MultiCharts
- Topic: Portfolio_CurrentEntries
- Replies: 2
- Views: 1187
Re: Portfolio_CurrentEntries
Riccardo,
this is expected behavior as the value for Portfolio_CurrentEntries gets only updated at the end of the bar. The best solution is to use a money management signal and only let one entry pass.
Regards,
ABC
this is expected behavior as the value for Portfolio_CurrentEntries gets only updated at the end of the bar. The best solution is to use a money management signal and only let one entry pass.
Regards,
ABC
- 06 Nov 2015
- Forum: MultiCharts
- Topic: Portfolio convert_currency limitations [SOLVED]
- Replies: 2
- Views: 1680
Portfolio convert_currency limitations [SOLVED]
Hi MC Team, is there a list of how far back the convert_currency reserved word can be used and actually return useful information? I am interested in the dates when the rates used for the conversion start. It appears for SEK it only starts at the end of 2008, before that the values are not converted...
- 07 Oct 2015
- Forum: MultiCharts
- Topic: Compilation error [SOLVED]
- Replies: 8
- Views: 1857
Re: Compilation error [SOLVED]
Leo, you can't call indicators like you are trying to do. This is only doable with a function. Just because you have an indicator called "Ematrend" doesn't mean there is a function with the same name. If the function doesn't exist you will receive the error message that you are seeing on your end. T...
- 04 Sep 2015
- Forum: MultiCharts
- Topic: @power
- Replies: 4
- Views: 1213
Re: @power
waldem, they are documented when you leave the "@" away - except the Summation, which is a function and therefore not included in the help. I am not sure why the reserved words are also working with an "@" in front, as this is not legacy EasyLanguage. So it's probably some idiosyncrasy of the PL Edi...
- 07 Jul 2015
- Forum: MultiCharts
- Topic: MULTICHARTS 9.1 BETA 1
- Replies: 82
- Views: 22872
Re: MULTICHARTS 9.1 BETA 1
Will this Beta bring the ability to export protected studies out of MC.NET like you added to the free MC.NET?Hello AlphaCat,
MultiCharts .NET 9.1 Beta 1 can be expected within a week.
Thank you,
ABC
- 14 May 2015
- Forum: MultiCharts
- Topic: The Trading Holy Grail of Time Traveler-“Back to the Future"
- Replies: 22
- Views: 5421
Re: The Trading Holy Grail of Time Traveler-“Back to the Fut
Amour, there are probably some commercial tools available, but I wouldn't rely on them as you'd likely need more flexibility and control. One thing useful for you is the Mod reserved word that you can use in combining bars to the higher time frame. Other than that I don't think there are any build i...
- 12 May 2015
- Forum: MultiCharts
- Topic: The Trading Holy Grail of Time Traveler-“Back to the Future"
- Replies: 22
- Views: 5421
Re: The Trading Holy Grail of Time Traveler-“Back to the Fut
Amour, depending on your chart setup you might be able to build the higher timeframe bars within your code - like virtual bars. This way you'd only need one datastream and would have access to the bar magnifier. This obviously works best for time based bars, for non time based bars it will be a lot ...
- 05 May 2015
- Forum: MultiCharts
- Topic: Multicharts and Jigsaw tools integration? When?
- Replies: 2
- Views: 1126
Re: Multicharts and Jigsaw tools integration? When?
In my opinion the main obstacle is that the depth of market in Multicharts is only provided as snapshot (besides it being only available from broker data). At least the one that you can obtain programmatically. This makes it impossible to detect all book changes. For example a cancel and add on one ...
- 21 Apr 2015
- Forum: MultiCharts .NET
- Topic: "Best Practice" to backtest a dynamic portfolio strategy?
- Replies: 2
- Views: 1722
Re: "Best Practice" to backtest a dynamic portfolio strategy
novaleaf, what about simply excluding symbols from your code calculations depending on the date? So for example you have a list of 1000 symbols in the Portfolio Trader and each day your code would read a list of symbols to use for that particular day. If a symbol is not in this list you would stop f...
- 20 Apr 2015
- Forum: MultiCharts
- Topic: TL_new, TL_delete, TL_lock
- Replies: 8
- Views: 2380
Re: TL_new, TL_delete, TL_lock
Hi kernel, instead of constantly deleting and redrawing a trendline, you might want to consider drawing it only once and then just updating its start and end points with every tick. This is not only simpler it is more resource friendly, too. Regarding TL_Lock: https://www.multicharts.com/trading-sof...
- 03 Apr 2015
- Forum: MultiCharts
- Topic: Max portfolio loss per day?
- Replies: 2
- Views: 1467
Re: Max portfolio loss per day?
wilkinsw, you can create something like this best within the Portfolio MoneyManagement signal. Monitor the portfolio equity in there and once your stop value is reached force the close of all positions and deny new entries. https://www.multicharts.com/trading-software/index.php/PMM_Keywords Besides ...
- 25 Feb 2015
- Forum: MultiCharts
- Topic: Porting from TS 9.1 to MC. EL and PL differences
- Replies: 48
- Views: 6516
Re: Porting from TS 9.1 to MC. EL and PL differences
In MC it doesn't. All variables except Boolean ones are of type double.ok, got it. if you declare a variable int does it have any effect?
Regards,
ABC
- 03 Feb 2015
- Forum: MultiCharts
- Topic: Error optimizing trendline (TL) strategy
- Replies: 19
- Views: 2788
Re: Error optimizing trendline (TL) strategy
Yes, intentionally.
- 03 Feb 2015
- Forum: MultiCharts
- Topic: Error optimizing trendline (TL) strategy
- Replies: 19
- Views: 2788
Re: Error optimizing trendline (TL) strategy
Yes, this is what I mean. I don't have a sample code, but think of it like this: When you draw a trendline you know the start and end point. So you can compute the slope and with this you can compute every point in the future. With that it's simple to substitute the trendlines. Regards, ABC Hi ABC, ...
- 03 Feb 2015
- Forum: MultiCharts
- Topic: Error optimizing trendline (TL) strategy
- Replies: 19
- Views: 2788
Re: Error optimizing trendline (TL) strategy
MC ignores Trendlines in the optimization. Therefore without modifying the code you can't optimize the signals. The usual result is that of mrticks - an optimization report containing zeros for all combinations. However I can imagine that this can create other issues like runtime errors, too. Regard...
- 02 Feb 2015
- Forum: MultiCharts
- Topic: Creating Stop Loss and Breakeven orders that do not overlap
- Replies: 32
- Views: 6222
Re: Creating Stop Loss and Breakeven orders that do not over
I have used SetStopLoss with negative numbers a while back (two years or more) and it used to work for me. However I always felt like it was not intended to be used that way and didn't use it too much (it feels more like a bug than a feature). Regards, ABC Yes, thanks Orion. I'm working along that l...
- 18 Jan 2015
- Forum: MultiCharts
- Topic: Running two account with one multicharts license on 1 pc
- Replies: 3
- Views: 1308
Re: Running two account with one multicharts license on 1 pc
Yes, two gateways or two instances of TWS. Then you need to make sure to properly configure them i.e. make sure that the two different IB programs use different ports and configure them in MC with the same ports.
Regards,
ABC
Regards,
ABC
- 21 Dec 2014
- Forum: MultiCharts
- Topic: Global variable (GV) for real-time only (not for backtest)?
- Replies: 4
- Views: 1472
Re: Global variable (GV) for real-time only (not for backtes
ADE is based of EL Collections and you can pretty much do everything with ELC right away. ADE just gives you some functionality already implemented in my opinion. For transferring entry conditions I would use EL Collections right away. Fredi, one important aspect is to make sure that you don't look ...
- 11 Dec 2014
- Forum: MultiCharts
- Topic: How to get a value for an ATR stop?
- Replies: 14
- Views: 2297
Re: How to get a value for an ATR stop?
Erik1966, it's probably best if you post the whole code with entries and exits. You can change the entry conditions to something else to protect your logic. This way we can all see the same thing and as TJ has pointed out changing the IntrabarOrderGeneration in your code several times will not give ...
- 10 Dec 2014
- Forum: MultiCharts
- Topic: How to get a value for an ATR stop?
- Replies: 14
- Views: 2297
Re: How to get a value for an ATR stop?
Erik1966, your requestion is a bit confusing for me, maybe you can try to elaborate a bit. - You want to use values from an indicator in a strategy. Why not compute the value in the strategy exactly. - I misread that you asked for a stop limit order. The code I provided sends a simple stop order. Yo...
- 10 Dec 2014
- Forum: MultiCharts
- Topic: How to get a value for an ATR stop?
- Replies: 14
- Views: 2297
Re: How to get a value for an ATR stop?
Erik1966, declare a variable and make it intrabarpersist to store the value of your stop price instead of using value2. Besides that use print statements in your code to print the values of the stop at each bar to the output. This way you can track down the values used in your code and know why the ...
- 09 Dec 2014
- Forum: MultiCharts
- Topic: How to get a value for an ATR stop?
- Replies: 14
- Views: 2297
Re: How to get a value for an ATR stop?
Erik1966, I am not sure if I follow you about what you mean with "still at open of the next bar". With intrabar order generation an order for "next bar" will be issued the next tick. So the order will be send immediately when MarketPosition = -1. If you are doing a backtest and as you are working wi...
- 09 Dec 2014
- Forum: MultiCharts
- Topic: How to get a value for an ATR stop?
- Replies: 14
- Views: 2297
Re: How to get a value for an ATR stop?
Erik1966,
how about using a stop order to accomplish what you have in mind?
Something along the lines of:
Regards,
ABC
how about using a stop order to accomplish what you have in mind?
Something along the lines of:
Code: Select all
[IntrabarOrderGeneration=true]
if marketposition = -1
then
buytocover ("rsishortstop") next bar value2 stop ;
ABC
- 07 Dec 2014
- Forum: MultiCharts
- Topic: ABC
- Replies: 20
- Views: 2866
Re: ABC
RedBerlin, how good is your written German compared to your written English? If it's a lot better, there is always the possibility to have someone help you to translate it to English. I am fluent in both languages for example, but here in the forums are others that speak/written German, too. Regards...
- 02 Dec 2014
- Forum: MultiCharts
- Topic: MC PL vs .NET version - possibilities and challenges
- Replies: 12
- Views: 3361
Re: MC PL vs .NET version - possibilities and challenges
Let me give you some answers from what I understand in regards to your question. 1)Yes, MC.NET has all features of MC PL. MC.NET platform has features PL doesn't have, like programmatic access to the volume profile for example. 2) Yes 3) Don't think it's noticeably faster. Depends on the code of cou...
- 27 Nov 2014
- Forum: MultiCharts
- Topic: Own data feed into MC (streaming)
- Replies: 2
- Views: 1176
Re: Own data feed into MC (streaming)
Yes, but you have to buy the API first (which if I recall correctly from the price that was once published on the MC website and if it didn't change, is in the medium four figure range) and then write the connection for the new datafeed.
Regards,
ABC
Regards,
ABC
- 17 Nov 2014
- Forum: MultiCharts
- Topic: end ability of anyone to open and read forum topics
- Replies: 5
- Views: 1380
Re: end ability of anyone to open and read forum topics
In my opinion this would do more harm than good for the exact same reasons MAtricks has pointed out. This really might drive less people to MC and in turn harm us all. If the intend is to lock out people with pirated copies than maybe limiting downloads of studies to registered users might be an opt...