Search found 65 matches

by rkhan
27 Jun 2020
Forum: MultiCharts .NET
Topic: DTN IQFeed 6.x
Replies: 4
Views: 2277

Re: DTN IQFeed 6.x

To whome it may concern, I have DTN IQ Feed, and the latest version of Multicharts. Now when i download data (ES Emini futures), it only give me like about 12 months of data, not even that. whereas In the chart settings im requesting about 20 years. In other software i use IQFeed with, i can see yea...
by rkhan
29 Sep 2018
Forum: MultiCharts
Topic: How to create strategy to buy on 10% drop
Replies: 3
Views: 1010

Re: How to create strategy to buy on 10% drop

I want it from the most recent swing high.
if thats not possible then i'd like to test high within last 3 months, last year, and all time high.
by rkhan
29 Sep 2018
Forum: MultiCharts
Topic: How to create strategy to buy on 10% drop
Replies: 3
Views: 1010

How to create strategy to buy on 10% drop

I'm trying to work out how i would create a strategy, where i can buy the market everytime it drops 10%.

But how do i code a 10% drop?

Like every swing the market goes up and down, whenever it swings down 10% , i want to buy it.

How would i code that?
by rkhan
29 Nov 2014
Forum: MultiCharts
Topic: How to buy x ticks away from open price
Replies: 3
Views: 1552

Re: How to buy x ticks away from open price

Dear Sir, How is this possible? All i want to do is buy 8 ticks above the opening price of the day. But you see, to use a limit or stop order, i must use the code NEXT if i use this, then i can only use CLOSE, but i dont want to buy on close. Now, how will i know if it is the NEXT bar will be the op...
by rkhan
24 Nov 2014
Forum: MultiCharts
Topic: How to buy x ticks away from open price
Replies: 3
Views: 1552

How to buy x ticks away from open price

Hi guys, I need to know how to buy say 8 ticks from the open? The problem is that if i use a 1min chart, the calculation seems to happen after the chart is closed. So i cann't simply say Open + 8 ticks Because it only seems to know the open after the bar has closed. So what i want to do is at the op...
by rkhan
15 Jul 2014
Forum: MultiCharts
Topic: Draw a trend line and tell the system to buy from it
Replies: 2
Views: 1625

Draw a trend line and tell the system to buy from it

Is it possible to draw say three trend lines onto a chart, so physically draw them with the drawing tools. And then tell the system to trade off those lines? For example, i would draw the following trend lines Buy_TrendLine Stop_TrendLine Target_TrendLine So these are trendlines, so they have an ang...
by rkhan
09 Jul 2014
Forum: MultiCharts
Topic: Real time trades different from backtested trades
Replies: 3
Views: 1289

Re: Real time trades different from backtested trades

I used 1min magnification for backtesting
So yes this was the scenario

Thankyou for assisting, I have now turned off intra bar order generation
by rkhan
09 Jul 2014
Forum: MultiCharts
Topic: Real time trades different from backtested trades
Replies: 3
Views: 1289

Real time trades different from backtested trades

I have a strategy which i use on a daily chart of ES The strategy buy when the RSI is > 90, The buy code is pretty simple, i have pasted it below, it simply buys at the close of the daily bar. Now what i am finding is happening is that the strategy is placing orders, even when the RSI setup is not t...
by rkhan
09 Jul 2014
Forum: MultiCharts
Topic: Trade Rejected, invalid futures symbol
Replies: 2
Views: 2741

Trade Rejected, invalid futures symbol

I am trying to trade my automated system on a simulated account. So i have connected my MC with TS broker, and the symbol i am trading is @ES (continuous contract), anyway when my system places a trade, it gets rejected, and the error message is "Invalid futures symbol" But yet i can chart this symb...
by rkhan
03 Jul 2014
Forum: MultiCharts
Topic: TS Data in Multicharts
Replies: 9
Views: 5925

Re: TS Data in Multicharts

Thankyou, it finally came up
by rkhan
02 Jul 2014
Forum: MultiCharts
Topic: TS Data in Multicharts
Replies: 9
Views: 5925

Re: TS Data in Multicharts

Dear Sir, I am making progress, but its not completely resolved yet With your help i was able to run MC as admin Now i also opened Quote manager as admin, and added the symbol @ES from TS as the datasource Then when i went to the symbol right clicked and press CONNECT, The quote manager event log sa...
by rkhan
02 Jul 2014
Forum: MultiCharts
Topic: TS Data in Multicharts
Replies: 9
Views: 5925

Re: TS Data in Multicharts

Dear Sir,

I was having the same issues, so i followed the same advice
but when i run multicharts as admin, i get the following error

"Firebird database: Database is probably already open by another engin instance in another Windows session"
by rkhan
27 Jun 2014
Forum: MultiCharts
Topic: Cann't see errors in Powerlanguage editor any more
Replies: 1
Views: 964

Cann't see errors in Powerlanguage editor any more

Hi, When i compile my code, there use to be a box/window at the bottom, which showed me if an error occurred, and which line, and if the compile was success or not. Now that window has disappeared, under the view menu, everything is ticked (toolbar, statusbar, outputbar, navigator bar, mdi tabs, off...
by rkhan
27 Jun 2014
Forum: MultiCharts
Topic: Buy at close and sell on open
Replies: 3
Views: 1512

Buy at close and sell on open

I would like to buy at the close of the day and sell at the open of the next day If i write the code below, it seems to be doing what i want in the backtest, but will this work with live trading? Or should i be trying to do this on an intraday chart? Currently I'm using a daily chart, and the backte...
by rkhan
22 Jun 2014
Forum: MultiCharts FAQ
Topic: How to chart TRIN and ES on same chart
Replies: 1
Views: 2677

How to chart TRIN and ES on same chart

I have a system which is based on the Trin, so it makes its trading decisions using Trin. But the instrument i trade is the ES (SP Mini). So now how can i put the Trin and ES on the same chart When i click add instrument to the charts it complains about not allowed to add instruments of different ti...
by rkhan
20 Jun 2014
Forum: MultiCharts
Topic: Draw Trendline from one pivot to the next pivot [SOLVED]
Replies: 4
Views: 1564

Re: Draw Trendline from one pivot to the next pivot [SOLVED]

Dear Sir,

I have worked it out,

The code line below was wrong,

lastHighPivotDate = CalcDate(date, -LastHighPivotBar)

This correct code is
lastHighPivotDate = date[LastHighPivotBar]

This has now worked.
by rkhan
20 Jun 2014
Forum: MultiCharts
Topic: Draw Trendline from one pivot to the next pivot [SOLVED]
Replies: 4
Views: 1564

Re: Draw Trendline from one pivot to the next pivot [SOLVED]

Dear Sir,

But i want to draw all swing high to lows like a zig zag
So i don't want to draw them only on a certain condition.

I want to draw them all
by rkhan
20 Jun 2014
Forum: MultiCharts
Topic: Draw Trendline from one pivot to the next pivot [SOLVED]
Replies: 4
Views: 1564

Draw Trendline from one pivot to the next pivot [SOLVED]

I am trying to draw a trend line from one pivot to the next pivot So i have obtain My code is pretty simple i've pasted it below, the problem i am having is the i am getting multiple lines, from both high to low and low to high So it goes from the low to high, and then i get 2,3,4, lines all going f...
by rkhan
20 Jun 2014
Forum: MultiCharts
Topic: How to to periodic walk forward
Replies: 1
Views: 1034

How to to periodic walk forward

How could i get MC to perform a periodic walkforward For eg, what i would like is to optimise values for say 2000 - 2004, and then walk forward for the year 2005, and then again optimise for now 2001 - 2005 and walk forward for 2006 and then again now optimise for 2002 - 2006 and now walk forward fo...
by rkhan
19 Jun 2014
Forum: MultiCharts
Topic: Strategy on Daily, not getting stopped out where it should
Replies: 6
Views: 1499

Re: Strategy on Daily, not getting stopped out where it shou

Dear Sir,

Yes that makes sense but, why is It that when I change the session time to be 9:30am to 16:15
And I enable bar magnification using 5min chart

Then why is it that I still find winning trades which should have been stopped out but where not?
by rkhan
18 Jun 2014
Forum: MultiCharts
Topic: Strategy on Daily, not getting stopped out where it should
Replies: 6
Views: 1499

Re: Strategy on Daily, not getting stopped out where it shou

Here is the full code below As you can see, there is no real complexity about it. I simply buy at a stop level the next day, and then put a stop Many of the stops get hit, but allot of them don't get hit as well When i say they dont get hit, i mean, the price actually moves to the stop level, and ye...
by rkhan
18 Jun 2014
Forum: MultiCharts
Topic: Strategy on Daily, not getting stopped out where it should
Replies: 6
Views: 1499

Re: Strategy on Daily, not getting stopped out where it shou

Just adding to my previous post. I found that i get different results on a DAILY charts when i change the session time from 24/7 to be only 9:30 - 16:15 What does the session time do? Because the bars are still the same OHLC, yes the trades results are definitely different. Does it only OPEN positio...
by rkhan
18 Jun 2014
Forum: MultiCharts
Topic: Strategy on Daily, not getting stopped out where it should
Replies: 6
Views: 1499

Strategy on Daily, not getting stopped out where it should

I have a strategy running on the daily bars of ES I have a set the stoploss to be 1 bigpoint, as shown below (so $50). setstopcontract; SetStopLoss(bigpointvalue); Now when i run my strategy and view the results, i see many trades are stopped out correctly, and there are also many winning trades. So...
by rkhan
14 Jun 2014
Forum: MultiCharts
Topic: Portfolio Back-tester Brokers Commission [SOLVED]
Replies: 1
Views: 934

Portfolio Back-tester Brokers Commission [SOLVED]

In the portfolio backtester, how do i enter the commission?

I am able to enter this into a single backtest for a single strategy.
But when i use the portfolio backtester, there is no place to enter the brokerage commission?
by rkhan
06 Jun 2014
Forum: MultiCharts
Topic: Compile error line 0, column 0 [SOLVED]
Replies: 2
Views: 1591

Re: Compile error line 0, column 0 [SOLVED]

Perfect that worked,


It would be great if MC actually told me a line number of the error, that would have been much more helpful
by rkhan
05 Jun 2014
Forum: MultiCharts
Topic: Compile error line 0, column 0 [SOLVED]
Replies: 2
Views: 1591

Compile error line 0, column 0 [SOLVED]

All i am trying to do is the code below if Close > close(20) then begin SetPlotColor(1, Green); end; And i get the error ------ Compiled with error(s): ------ Compile error line 0, column 0 It seems like i cannot go back on the close? If i use the code below it compiles fine if Close > Average(Close...
by rkhan
05 Jun 2014
Forum: MultiCharts
Topic: How to highlight speific volume bars [SOLVED]
Replies: 1
Views: 965

How to highlight speific volume bars [SOLVED]

I would like to plot the volume study, but when the volume is > 1M on the current bar, i would like make the volume bar colour green

But only on that bar

I can plot volume but how to do change the color of certain bars based on conditions?
by rkhan
05 Jun 2014
Forum: MultiCharts
Topic: How to code double bottom?
Replies: 2
Views: 1914

Re: How to code double bottom?

Thankyou thats a great starting point
by rkhan
05 Jun 2014
Forum: MultiCharts
Topic: How to code double bottom?
Replies: 2
Views: 1914

How to code double bottom?

Has anyone had much luck with coding chart patterns. I want to code a simple double bottom with lower volume So the pseudo code would be something like If double bottom and volume on current bar is < than what is was previous time down here - then buy But i don't know how i can find double bottoms, ...
by rkhan
04 Jun 2014
Forum: MultiCharts
Topic: Keep loosing my strategy optimization reports [SOLVED]
Replies: 2
Views: 1074

Re: Keep loosing my strategy optimization reports [SOLVED]

Thankyou Sir,

This has fixed the issue
by rkhan
04 Jun 2014
Forum: MultiCharts
Topic: Keep loosing my strategy optimization reports [SOLVED]
Replies: 2
Views: 1074

Keep loosing my strategy optimization reports [SOLVED]

Hi, I have downloaded data ascii format, everything is work, i can run a Performance Report. And then i can also perform an optimization. Then after i perform my optimization, i save the workspace and the desktop But then the next time i open MC, and i click on the chart, and then go to View --> Str...
by rkhan
30 May 2014
Forum: MultiCharts
Topic: Portfolio testing instruments on different exchanges
Replies: 7
Views: 2571

Re: Portfolio testing instruments on different exchanges

Dear Sir, I have a system which runs on gold, another which runs on emini, and another which runs on eurusd. Now i would like to put them all into the Portfolio manager, and have it show me the stats on all these sytems combines. Now the issue i have having is that, when i choose exchange time on ea...
by rkhan
30 May 2014
Forum: MultiCharts
Topic: Longest Flat Period - where is it?
Replies: 5
Views: 1346

Re: Longest Flat Period - where is it?

Dear Sir, net profit + open profit will give your current nett profit, thats it. if we then count the bars with new highs, that doesnt mean anything, because what if the system is all about shorting, what if new high bars don't add to the profit, simply because of the strategy used. What your say ma...
by rkhan
30 May 2014
Forum: MultiCharts
Topic: Longest Flat Period - where is it?
Replies: 5
Views: 1346

Re: Longest Flat Period - where is it?

Ahh yes, Thankyou i found that. But actually what i want is something which is "Longest Period before equity new highs" So i want to know what is the longest period it can take for a new equity high to be created So maybe i started the system today, and the system goes down, and it take 50 days to g...
by rkhan
30 May 2014
Forum: MultiCharts
Topic: Portfolio testing instruments on different exchanges
Replies: 7
Views: 2571

Re: Portfolio testing instruments on different exchanges

Dear Sir, Just to be clear on what you are suggesting. Are you suggesting, i first create custom session times in quote manager, and have these match the exchange times, but call them local times? And then in portfolio manager choose local time? How will that resolve the time difference problems, wh...
by rkhan
29 May 2014
Forum: MultiCharts
Topic: Longest Flat Period - where is it?
Replies: 5
Views: 1346

Longest Flat Period - where is it?

Hello Team,

I am looking for the "Longest Flat Period"
So after i create my strategy and backtest it, there are some great statistics available, but i cannot seem to find "Longest Flat Period" which is extremely important to me.

Is this value available in MC?
by rkhan
29 May 2014
Forum: MultiCharts
Topic: Portfolio testing instruments on different exchanges
Replies: 7
Views: 2571

Re: Portfolio testing instruments on different exchanges

Dear Sir, Yes i can select local timezone, but then it does not give the results i need, because my strategies are based on entering at particular times of the day, so if i select local time, then all my entries etc are entering at incorrect times. As an example i might enter are 11:30am, or i might...
by rkhan
24 May 2014
Forum: MultiCharts
Topic: 3D oprimization charts not showing anything
Replies: 1
Views: 888

3D oprimization charts not showing anything

I've performed my backtests, and i have lots of results. Now i would like to view the 3D optimization charts to pick the most stable combination of inputs. But i click on 3D optimization charts, and i choose my x,y axis parameters, and i tick all the others to stay static. And i get NOTHING back. It...
by rkhan
21 May 2014
Forum: MultiCharts
Topic: Anyone interested in sharing WORKING strategies
Replies: 36
Views: 7239

Re: Anyone interested in sharing WORKING strategies

Dear Sir, I can get you that when I am back on my computer But the value i have given you has more meaning than what you are asking Max DD as a % can be whatever i want. I can start with 100k and make it small or start with 10K and make it big But you see return on account is based on maxDD it's the...
by rkhan
21 May 2014
Forum: MultiCharts
Topic: Portfolio testing instruments on different exchanges
Replies: 7
Views: 2571

Portfolio testing instruments on different exchanges

Hi Guys, I have a few systems, one for Bonds, one for Gold, and one for ES. Now i would like to portfolio test them all together, and they all work on exchange time. So the problem i am having is that the Portfolio testes does not allow for mixing of different time zones. So how can i see what the o...
by rkhan
21 May 2014
Forum: MultiCharts
Topic: Anyone interested in sharing WORKING strategies
Replies: 36
Views: 7239

Re: Anyone interested in sharing WORKING strategies

Hi Strat Man,

We can exchange strategy results and you can see it all if you like.
But my draw downs are usually between 3K -15K over a 10 year back test on a single contract.

So some systems they are only 3K, other systems they are even up to 15K
by rkhan
20 May 2014
Forum: MultiCharts
Topic: How to show my esignal forex data in multi charts
Replies: 1
Views: 919

How to show my esignal forex data in multi charts

Hi Guys, I have esignal, and i can easily view my forex symbols for eg eur a0-fx is the symbol for (EURUSD). So anyway, how do i now show this in MC? I show a new chart, and i choose esignal as my data source, but then in the forex tab these symbols are not listed at all, and even when i type in eur...
by rkhan
18 May 2014
Forum: MultiCharts
Topic: Anyone interested in sharing WORKING strategies
Replies: 36
Views: 7239

Re: Anyone interested in sharing WORKING strategies

Yes I am speaking of working strategies

I use IB to execute my trades via connecting them to multicharts
by rkhan
18 May 2014
Forum: MultiCharts
Topic: Anyone interested in sharing WORKING strategies
Replies: 36
Views: 7239

Anyone interested in sharing WORKING strategies

Hi Guys, I have a few WORKING strategies for futures and forex. I'd be interested in seeing other strategies which are also working. My suggest if someone is interested, then we first exchange the system stats and graphs, and then if that is acceptable to both parties, then we exchange code. Let me ...
by rkhan
18 May 2014
Forum: MultiCharts
Topic: Trading days left in month
Replies: 3
Views: 1467

Re: Trading days left in month

Well thats the challenge, How would you check the new date, because as soon as you do date[-1] or date[t+1], your going to get the error "trying to access future data" Your theory is the same as mine, where i am checking month of new date hence i was using Month(date) <> Month(date[-2]) Even in your...
by rkhan
18 May 2014
Forum: MultiCharts
Topic: Trading days left in month
Replies: 3
Views: 1467

Trading days left in month

How would i code the following theory "Trading days left in month = 2" So i know how to work out the current Trading Day Of Month that is if (Month(date) <> Month(date[1]) TDOM = 0 if date <> date[1] then TDOM = TDOM + 1 Now this is DIFFERENT to DayOfMonth function, because that simply gives the cur...
by rkhan
17 May 2014
Forum: MultiCharts
Topic: Maximum period before new Equity peak high
Replies: 1
Views: 895

Maximum period before new Equity peak high

Hi I am look at the strategy performance report. There are numerous good statistics and information there, but what i would like to know is, Can it tell me the maximum number of days before a new peak equity high was reached. So there is a chart which shows green every time a new equity high is reac...
by rkhan
14 May 2014
Forum: MultiCharts
Topic: What is wrong with this if/else statement [SOLVED]
Replies: 4
Views: 2697

What is wrong with this if/else statement [SOLVED]

I'm trying to code a simple if/else statement, i've coded it as below, and i get an error expecting end But this is exactly how the example had it, so what could be wrong with the code below if high > high[1] then isUpCloseDay = true; Else isUpCloseDay = false; syntax error, unexpected 'else', expec...
by rkhan
14 May 2014
Forum: MultiCharts
Topic: How to obtain trading day of month (not calendar day)
Replies: 10
Views: 3730

Re: How to obtain trading day of month (not calendar day)

Hi Oztrade

I was thinking something similar, but what is the loop for the counter ?

While dayofmonth < dayofmonth [1]?
by rkhan
13 May 2014
Forum: MultiCharts
Topic: How to obtain trading day of month (not calendar day)
Replies: 10
Views: 3730

Re: How to obtain trading day of month (not calendar day)

TJ

What your saying can be achieved by just using the dayofmonth(Date) function

What I want is trading days (so excluding weekend).

So although it might be the 9th calendar day of the month this may only be 6th or 7th trading day of month
by rkhan
13 May 2014
Forum: MultiCharts
Topic: How to obtain trading day of month (not calendar day)
Replies: 10
Views: 3730

Re: How to obtain trading day of month (not calendar day)

The functions you have listed dont seem to exist,

I've even tried to type them into the code, and they are not recognised, are you using some special library or something?
by rkhan
13 May 2014
Forum: MultiCharts
Topic: How to obtain trading day of month (not calendar day)
Replies: 10
Views: 3730

Re: How to obtain trading day of month (not calendar day)

Arnie,

Thanks for your reply, where can i get help on these functions, because i checked the EasyLanguage reference and these functions are not in that reference guide.

Is there another reference guide which you are using?
by rkhan
13 May 2014
Forum: MultiCharts
Topic: How to obtain trading day of month (not calendar day)
Replies: 10
Views: 3730

How to obtain trading day of month (not calendar day)

Hi Guys,

I have a strategy where i may want to buy the emini sp at say the 9th trading day of the month.

Now

DayOfMonth(Date) will give me calendar day, so how can i make a function which does not count weekends, and hence gives me trading day of month

Thanks
Riz
by rkhan
19 Mar 2014
Forum: MultiCharts
Topic: How much computer power do i need to run this back testing
Replies: 2
Views: 795

Re: How much computer power do i need to run this back testi

Hi TJ, nice advice, Can you tell me a little more about how you use the 3D optimisation chart, I looked at it, read about it, but couldn't really work out what it meant and how it would be beneficial (or i should say, i should use it to make it beneficial, because im sure it is). Love to read a blog...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: Can i add to the performance charts?
Replies: 1
Views: 653

Can i add to the performance charts?

Once we get the performance report, there are so many results, that we need to filter down. So anyway, i would like to add my own column. But my column would be a based on the close/close green dots. I would like to time frames (or no of trades) between each two green dots and sum them all up. This ...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How much computer power do i need to run this back testing
Replies: 2
Views: 795

How much computer power do i need to run this back testing

I build my code I put in my input variables Now, then i wanted to backtest it. But i apparently had so many possibilities, that it would take too long and the combinations then just shows 0 So i reduced my possibilities, and then when i started to run it, it was basically going to take a few thousan...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How to obtain market opening time
Replies: 3
Views: 1167

Re: How to obtain market opening time

Dear Sir, I don't completely understand you. I want to buy the market exactly 1hr after the market opens. And i would like to do this via easyLanguage code. So if i bring up a 1 hrly chart or EURUSD, and i apply exchange time zone on chart. Then i type sess1firstbartime. What will it return? How doe...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

I was over complicating it.

Thanks Sir.
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

Dear Sir, I didnt understand it, Thats what i had at the begining, i used month but it needs an input.. its needs a date. and thats where i get all consfused coz i use current date, which i then convert to appropriate format, and basically im still where i started That initial code is what i still h...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How to obtain market opening time
Replies: 3
Views: 1167

How to obtain market opening time

I would like to to open a trade exactly 1hr after UK markets opens So how would i do this? See, i can easily lookup what time it opens, but then day light savings come into the picture and all sorts of issues with that. So does easylanguage have a simple function which says something like marketopen...
by rkhan
18 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

Dear Sir,

Yes, if you look at my initial code, that is what i have used
I have used Month

But i cannot get it working

All i want to do is, get a numerical value (1-12) corresponding to the month of the current bar
by rkhan
17 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

1,2,3,..
by rkhan
17 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

Dear Sir, I thankyou for our response, but now the next line is throwing an error "Incorrect argument type." So it expect a numeric and returns a numeric All i want to do is basically get the current month, so i can use it in a switch statement later. Because depending on the month it is, i have a f...
by rkhan
16 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

Re: How to get the current month? [SOLVED]

ps. [FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
Dear Sir,

It is NumericSimple, if you are about to suggest i make it a string, how do i do that?

Code: Select all

dateInDateTimeFormat(0),
dateReadable(0),
currentMonth(0);
by rkhan
16 Mar 2014
Forum: MultiCharts
Topic: How to get the current month? [SOLVED]
Replies: 15
Views: 2787

How to get the current month? [SOLVED]

//gets current month from todays date dateToday = Currentdate; dateInDateTimeFormat = ELDateToDateTime(dateToday); dateReadable = FormatDate("YYYMMdd", dateInDateTimeFormat); currentMonth = Month(dateReadable); The above code returns the following error Types are not compatible for line 30 which is ...

Go to advanced search