Search found 47 matches
- 27 May 2023
- Forum: MultiCharts
- Topic: Using Multicharts with CQG data on a corporate network [SOLVED]
- Replies: 3
- Views: 1697
Re: Using Multicharts with CQG data on a corporate network [SOLVED]
Hello Buylosellhi, I can provide you with what is required for MC in this case: MC authorization: server: mcauth.com port: https CQG: ip: 208.48.16.137 ports: 8012 and 8011 You will also need to contact CQG to find out identical information for their CQG API software. Is this still the correct conf...
- 21 Aug 2021
- Forum: MultiCharts
- Topic: Help with ListN Plotting
- Replies: 1
- Views: 551
Help with ListN Plotting
Hi, I have created a file that plots a horizontal line from price data in an Excel csv file. Everything works fine but I would like to know if there is a better way to code the plot portion of the code to just plot everything. Right now, if I have 10 rows of data in my Excel file, I would need 10 pl...
- 23 Sep 2019
- Forum: MultiCharts
- Topic: Deleting Existing Arrow with new click
- Replies: 1
- Views: 644
Re: Deleting Existing Arrow with new click
So here is what I have figured out so far but it's still not 100% perfect. This only deletes the earliest arrow plotted. Can anyone please help? Inputs: Mins_Add(60), iSquare(2), TL_Colour(green), Txt_Colour(green), Arrow_Size(8); [ProcessMouseEvents = true]; [RecoverDrawings = false]; switch (getap...
- 22 Sep 2019
- Forum: MultiCharts
- Topic: Deleting Existing Arrow with new click
- Replies: 1
- Views: 644
Deleting Existing Arrow with new click
Hi, I have written a code that is almost doing what I want. The only thing I would like to do but can't figure out, is to remove all previously drawn arrows, 2 of them, when I click on a new bar, while drawing the first new arrow. Right now, all old arrows remain on the chart. I tried with Arw_Delet...
- 17 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
My issue was that I wanted to get a bar speed with a resolution in seconds. The TimeToMinutes only gave minute resolution as does the Time reserved word. I needed to get both of those to seconds resolution. TimeToSeconds obviously does that but then I needed to change the Time to Time_s which is sec...
- 10 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
Thanks for your help. I figured it out. This gives me want I want. // Tick Speedo // // This indicator measures the time it takes to complete a tick or volume bar // a Short bar denotes an active market. // when the market is slow, it will take a long time to complete the bar. // a cap is used to li...
- 09 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
This is the code I started with: // Tick Speedo // // This indicator measures the time it takes to complete a tick or volume bar // a Short bar denotes an active market. // when the market is slow, it will take a long time to complete the bar. // a cap is used to limit the height of the histogram du...
- 09 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
The code as it came from EliteTrader did not work for me. TimeToMinutes or TimeToSeconds did not plot correctly for me that's why I came here asking for help.
- 09 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
From the EliteTrader forum. Why does it matter where it came from? I have a full lifetime licence for MultiCharts and I came to this forum for help.
- 09 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
This is what I have so far but it's not working when the minute changes and the current bar has a seconds value that is lower than the previous [1] bar, even if the minute value is greater. input: cap(15), cap.color(darkgray); if BarType = 0 then begin if date = date[1] then begin value1 = (time_s ...
- 04 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Re: Tick Speed / Bar Speed [SOLVED]
This is what I have so far but it's not working when the minute changes and the current bar has a seconds value that is lower than the previous [1] bar, even if the minute value is greater. input: cap(15), cap.color(darkgray); if BarType = 0 then begin if date = date[1] then begin value1 = (time_s -...
- 03 Jul 2016
- Forum: MultiCharts
- Topic: Tick Speed / Bar Speed [SOLVED]
- Replies: 14
- Views: 4451
Tick Speed / Bar Speed [SOLVED]
Hi,
I'm looking for an indicator that would plot in a histogram, the length of time that the current tick bar took to complete. Does anyone have something like that to share or can someone share a link?
Thanks.
I'm looking for an indicator that would plot in a histogram, the length of time that the current tick bar took to complete. Does anyone have something like that to share or can someone share a link?
Thanks.
- 15 Jun 2014
- Forum: MultiCharts
- Topic: Code is referencing yesterday's range but not today's
- Replies: 1
- Views: 1281
Code is referencing yesterday's range but not today's
-------------------------------------------------------------------------------- Hi, I have 2 problems with the code below. 1. The code is referencing yesterday's opening range and not today's. What do I need to change to get it to reference today's opening range between the StartCalcTime and EndCal...
- 26 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
TodayOnly if true plots only lines for today. If false then plots lines for all days in the chart. Right now it is executing 3 times per TL being drawn, 12 in total: twice to delete previous days TLs and Text objects and once to assign a condition to plot today's TLs and Text objects. If Date <> Dat...
- 26 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
The only difference I can see between my code and the one in the link in post #2 is in the conditional statements. I can't see where I am creating the TL and Text more than once. The drawing of the TL and Text seem to me, to be the same between both studies. Am I on the right track? The only differe...
- 24 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I have changed all of my TL and Text codes to the following, of course incrementing the value number, but I still get doubled text. //Draw A Up Line If TodayOnly and LineId3 <> -1 and LineId3 <> ID3 Then TL_Delete(LineId3); If TodayOnly and LineId3 <> -1 and LineId3 <> ID3 Then Text_Delete(LineId3);...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
If it needs to be placed in a conditional statement I already said that what I want is that once Time equals my StartTime then start drawing the TL and Text but just keep extending it as Time continues but I have no idea how to code that.
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I have read it. I know you are trying to teach me and I do appreciate it but there comes a time when a student is just not getting it, that maybe a teacher should explain what is not working in the code and why. Maybe you have done that, but obviously I am not getting it.
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Does it have to be a Value1 or can it be a variable that I declared like ID13?
Well I tried both and they both still print 2 text objects and 2 TL.
Well I tried both and they both still print 2 text objects and 2 TL.
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I already asked you a question regarding this in Post #13 but you never replied. Should I assign a value to it? If so, does it have to be an unused value like ID13 or do I assign it ID1 because it's part of that section? Have you read the chapter (actually it is a paragraph) in post #5? If you have...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I did the following but it is still printing 2 texts and 2 trendlines for the OR High line. // Draw the OR High line If TodayOnly and LineId1 <> -1 and LineId1 <> ID1 Then TL_Delete(LineId1); //this deletes all trendlines except for today's trendline if the indicator is only plotting today If TodayO...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I already asked you a question regarding this in Post #13 but you never replied.
Should I assign a value to it? If so, does it have to be an unused value like ID13 or do I assign it ID1 because it's part of that section?
Should I assign a value to it? If so, does it have to be an unused value like ID13 or do I assign it ID1 because it's part of that section?
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I commented everything until the first TL and Text section because after that, everything just repeats itself with only the ID numebrs changing. If Date <> Date[1] Then Begin // Initialize vars at max of ranges If today's date is not yesterday then begin HighDay = 0; //sets a value for the Highday L...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Where did this ID1 come from ??? It came from this part of the code, the first TL. //using ID1, starts a TL from D/starttime/highday price to D/currentbar time/highday price ID1 = TL_New(Date, StartTime, HighDay, Date, Time, HighDay); Sorry about not putting a space. I really appreciate the help.
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
The bold did not show up so this is the part I meant:
TL_SetStyle(ID1, IB_Style);
TL_SetSize(ID1, IB_LineSize);
Text_New(Date, Time + Text_Offset, HighDay, "OR High");
Text_SetStyle(ID1, 0, 1);
TL_SetStyle(ID1, IB_Style);
TL_SetSize(ID1, IB_LineSize);
Text_New(Date, Time + Text_Offset, HighDay, "OR High");
Text_SetStyle(ID1, 0, 1);
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I started commenting the code and when I got here I thought this might be wrong: // Draw the OR High line If TodayOnly and LineId1 <> -1 and LineId1 <> ID1 Then TL_Delete(LineId1); //this deletes all trendlines except for today's trendline if the indicator is only plotting today If TodayOnly and Lin...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
I'm watching the indicator update realtime and it is drawing 2 trendlines and 2 text objects.
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Do I need to go back and assign a value to the TL and Text objects like in the following: // Draw the OR Low Line If TodayOnly and LineId2 <> -1 and LineId2 <> ID2 Then TL_Delete(LineId2); If TodayOnly and LineId2 <> -1 and LineId2 <> ID2 Then Text_Delete(LineId2); If TodayOnly Then LineId2 = Id2; I...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Thanks for the help TJ. I understand I need a conditional statement so that my trendline and text is only created once but I can't even think in English what type of statement I need. I suppose what I want is that once Time equals my StartTime then start drawing the TL and Text but just keep extendi...
- 23 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Thanks for the links. I didn't that documentation existed. I've applied the Text_SetLocation to my code but it still prints twice. I checked the format drawings and I also see that each trendline is being printed twice. Will it keep printing a trendline and text every time a bar is completed? If so,...
- 22 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Re: Why is my text doubled?
Thanks for the encouragement but all I did was find some code and then modify it to suit my needs. I understand what the code in the link is doing but it seems to be doing the same thing as my code. He sets a trend line and then sets text and plots the style and location. I can't really see where hi...
- 22 Sep 2012
- Forum: MultiCharts
- Topic: Why is my text doubled?
- Replies: 32
- Views: 6042
Why is my text doubled?
I don't understand why I am getting doubled text like in the attachment. Code is posted below. Inputs: StartTime(0830), EndTime(915), yHigh(93.09), yLow(90.96), yClose(92.96), yHighLow_Color(darkgray), yHighLow_Style(3), yHighLow_LineSize(2), yClose_Color(darkred), yCLose_Style(3), yClose_LineSize(2...
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
Ok I see what the issue was. For some reason, even though I had changed the inputs in the code in PLE, it did not change it in the indicator that was on my chart. Now it is working great. I really do appreciate the help and I apologize for being slow. I am a total noob when it comes to Easylanguage.
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
My instrument setting is Build Volume On Trade Volume.
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
Thanks for all the help. So I am using bar type 1 so I should change my code to inputs: Criteria( Ticks >= 2000 ) , AlertCondition( true ) ; if Criteria then begin PlotPaintBar( High, Low, "CustomPB" ) ; Alert ; end else NoPlot( 1 ) ; if AlertCondition then Alert ; I tried this but it does not achie...
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
I tried this but it put my volume indicator in exponents or something. I don't understand what it did.Code: Select all
if BarType >= 1 and BarType < 5 then
Plot1( Volume, "Volume" )
else
Plot1( Ticks, "Volume" ) ;
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
Ok I am using bar type 1. Does that mean I have to change the volume indicator to
Code: Select all
if BarType >= 1 and BarType < 5 then
Plot1( Volume, "Volume" )
else
Plot1( Ticks, "Volume" ) ;
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
I want total volume on current bar so I should replace Volume with Ticks in my Criteria?
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
I am using OHLC 1 minute bars. I don't know where to see what value that type of bar is.Have you checked the bartype you are using?
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
It's the default Volume study in MC.
Code: Select all
if BarType >= 2 and BarType < 5 then
Plot1( Volume, "Volume" )
else
Plot1( Ticks, "Volume" ) ;
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
Still does not help me as I have no understanding of what to do next. Volume Returns the volume of the current bar. For tick and volume-based charts, and time-based charts with resolutions of 24 hours or less: - the volume traded on Up ticks will be returned if Build Volume On is set to Trade Volume...
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
Sorry. What I am trying to achieve is for a bar to be painted and a sound alert to go off, every time volume trades above 2000 contracts on a 1 minute chart but the chart resolution does not really matter. I do not understand what the indicator is doing as it coded right now.
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Re: Paintbar and Alert study [SOLVED]
I attached a chart to show what the indicator is doing. It paints bars that do not meet the criteria.You have to be more specific.
What do you mean by: "not working well"?
- 19 Sep 2012
- Forum: MultiCharts
- Topic: Paintbar and Alert study [SOLVED]
- Replies: 22
- Views: 3615
Paintbar and Alert study [SOLVED]
Hi, I modified the custom 1 line study but it's not working well. I just want to paint a bar and have an audio alert every time volume is greater than 2000 contracts on a 1 min chart. Here's the code which compiles well and a picture of the result. Help is greatly appreciated. inputs: Criteria( Volu...
- 17 Sep 2012
- Forum: MultiCharts
- Topic: Help adding a Pivot Range to following code:
- Replies: 1
- Views: 729
Help adding a Pivot Range to following code:
Hi, I am hoping that somebody will be able to help me. I would like to add a range around the Pivot in the code below. The math for that range is (yesterday's high + yesterday's low) /2. Then you subtract that from the pivot value (high+low+close)/3 and it gives you a value. Then you add that value ...
- 14 Sep 2012
- Forum: MultiCharts
- Topic: Opening Range Indicator [SOLVED]
- Replies: 6
- Views: 4242
Opening Range Indicator [SOLVED]
I was wondering if anybody had an indicator that plotted the high of a certain range of time intraday as well as the low. This indicator would plot 2 horizontal lines, one at the high the other at the low from the price action between 9:30am-10:00am. Does anybody have anything like this indicator? I...
- 14 Sep 2012
- Forum: MultiCharts
- Topic: pivots trading hourly INDICATOR
- Replies: 24
- Views: 5809
Re: pivots trading hourly INDICATOR
every hour news pivots with the last hour with OHLC :) I know what you want chipeur. You want this: http://www.multicharts.com/discussion/download/file.php?id=4403 Chris programmed it for me a couple of years ago. It plots the previous 60min OHLC (there you can only see the high and low) into the n...