Search found 7743 matches
- 22 Apr 2024
- Forum: MultiCharts
- Topic: Code issues [SOLVED]
- Replies: 9
- Views: 253
Re: Code issues [SOLVED]
You should post a screen shot of the error message.
- 13 Apr 2024
- Forum: MultiCharts
- Topic: Strategy not producing same values as indicators putting out .
- Replies: 8
- Views: 303
Re: Strategy not producing same values as indicators putting out .
If this is a coding question, you have to post the codes.
Indicators are calculated in real time. ie similar to IOG.
Strategies are calculated at End of Bar (EOB).
Indicators are calculated in real time. ie similar to IOG.
Strategies are calculated at End of Bar (EOB).
- 09 Apr 2024
- Forum: MultiCharts
- Topic: Orders Partial Take Profit
- Replies: 4
- Views: 213
Re: Orders Partial Take Profit
See Posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 26 Mar 2024
- Forum: MultiCharts
- Topic: Counting Bars on Chart
- Replies: 3
- Views: 198
Re: Counting Bars on Chart
First, you need to create a VARIABLE to store the count value. As soon as the event is triggered (eg crossover), you can add 1 to the variable for every new bar. Try this: Var: Bar.Count(0); Bar.Count = BarCount +; if (MA1 > MA2 and MA1[1] <= to MA2[1]) or (MA1 < MA2 and MA1[1] >= to MA2[1]) then Ba...
- 14 Mar 2024
- Forum: MultiCharts
- Topic: Alert -- If Realtime Data is Disconnected between time
- Replies: 3
- Views: 268
Re: Alert -- If Realtime Data is Disconnected between time
Why are you using intrabarpersist ?
- 25 Feb 2024
- Forum: MultiCharts
- Topic: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
- Replies: 4
- Views: 255
Re: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
To transfer data between indicators within the same chart,
you can use
i_getplotvalue
i_setplotvalue
Please see the wiki for details.
you can use
i_getplotvalue
i_setplotvalue
Please see the wiki for details.
- 25 Feb 2024
- Forum: MultiCharts
- Topic: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
- Replies: 4
- Views: 255
Re: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
Global Variables can help.
You can use the sample codes to see if that would work for you.
You can use the sample codes to see if that would work for you.
- 17 Feb 2024
- Forum: MultiCharts
- Topic: PC Autotrading
- Replies: 4
- Views: 295
Re: PC Autotrading
What fell asleep?
Your computer?
or the IB account timed out?
Your computer?
or the IB account timed out?
- 25 Jan 2024
- Forum: MultiCharts
- Topic: Adding money management to my script
- Replies: 2
- Views: 240
Re: Adding money management to my script
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 24 Jan 2024
- Forum: MultiCharts
- Topic: News and events indicator that controls Signals?
- Replies: 2
- Views: 237
- 19 Jan 2024
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 11
- Views: 1213
Re: send text message telegram channel
Why is that NOT a proper solution?Well that is not a proper solution. Why is it that complicated to implement a feature to call a browser page? Even 'old' applications like AB can handle this.
- 18 Jan 2024
- Forum: MultiCharts
- Topic: Use python to compile C++ DLL that is usable by Multicharts
- Replies: 14
- Views: 1063
Re: Use python to compile C++ DLL that is usable by Multicharts
[Advanced Topic] MultiCharts 64 bit Resources (3rd Party)
viewtopic.php?t=10094
viewtopic.php?t=10094
- 13 Jan 2024
- Forum: MultiCharts
- Topic: How to modify CloseW into XAverageCloseW ?
- Replies: 2
- Views: 229
- 08 Jan 2024
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 11
- Views: 1213
Re: send text message telegram channel
How to send email to Telegram
https://www.youtube.com/watch?v=MTsJAejn1Ig
https://www.youtube.com/watch?v=MTsJAejn1Ig
- 25 Dec 2023
- Forum: MultiCharts
- Topic: Data loading speed improvement
- Replies: 11
- Views: 2925
Re: Data loading speed improvement
Simple solution -- keep your trading computer for trading only, then you do not need to use anti-virus.
Computers are so cheap these days, get another box for non-trading purposes. You can also surf the net with a tablet or even your phone.
Computers are so cheap these days, get another box for non-trading purposes. You can also surf the net with a tablet or even your phone.
- 24 Dec 2023
- Forum: MultiCharts
- Topic: MA Extension
- Replies: 2
- Views: 223
Re: MA Extension
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 24 Dec 2023
- Forum: MultiCharts
- Topic: Array Error
- Replies: 1
- Views: 196
Re: Array Error
This is a coding question.
- 13 Dec 2023
- Forum: MultiCharts
- Topic: signal arrows above each bar as long as the condition is true [SOLVED]
- Replies: 2
- Views: 279
Re: signal arrows above each bar as long as the condition is true [SOLVED]
Try this?
ps. bear in mind you will be drawing A LOT of arrow objects. It will slow down your computer.
Code: Select all
condition1 = var0 > var1;
condition2 = var0 < var1;
ps. bear in mind you will be drawing A LOT of arrow objects. It will slow down your computer.
- 12 Dec 2023
- Forum: MultiCharts
- Topic: help with vert TrendLine/Timeline coding question [SOLVED]
- Replies: 4
- Views: 410
Re: help with vert TrendLine/Timeline coding question [SOLVED]
LastBarOnChart (Function) The LastBarOnChart function is used to determine if the current bar being evaluated is the last bar on the chart. Syntax LastBarOnChart Returns (Boolean) True if LastBarOnChart is the last charted bar. False if not. Parameters None Example In order to play a wave (sound) f...
- 11 Dec 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 430
Re: SetStopLoss [SOLVED]
What I have provided is an example . . . you can take it from there and add whatever is needed. It will take a few trial and error to iron out the bugs.
Good trading to you.
Good trading to you.
- 10 Dec 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 430
Re: SetStopLoss [SOLVED]
You have to "freeze" the high and low values for your stop calculation. eg: var: mm.h(0) , mm.L(0); If MarketPosition = 0 and EntCondS and EntCondL = false then begin Sell short("EnMark-S") NShares shares next bar at market; mm.h = h; mm.L = Lowest(L, NMM1); end; SetStopShare; SetStopLoss(( mm.h - m...
- 10 Dec 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 430
Re: SetStopLoss [SOLVED]
This is a coding question. You need to post your codes.
- 09 Dec 2023
- Forum: MultiCharts
- Topic: Convert Stop oders into Stop limit oders
- Replies: 1
- Views: 211
Re: Convert Stop oders into Stop limit oders
See Posts#1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 04 Dec 2023
- Forum: MultiCharts
- Topic: help with vert TrendLine/Timeline coding question [SOLVED]
- Replies: 4
- Views: 410
Re: help with vert TrendLine/Timeline coding question [SOLVED]
Trying to figure out how to place a single vertical line on each bar starting from the data playback point i pick. You need to elaborate on your thoughts. This ONE-LINE can be interpreted in many ways. Please draw a diagram to illustrate your view. Please give some examples with different scenarios.
- 04 Dec 2023
- Forum: MultiCharts
- Topic: renko chart ma cross not matching up [SOLVED]
- Replies: 2
- Views: 340
Re: renko chart ma cross not matching up [SOLVED]
You have a non-time-based chart.
You have to use the keywords with the "_s" suffix.
eg.
TL_new_s
TL_SetBegin_s
TL_SetEnd_s
https://www.multicharts.com/trading-sof ... ne_Drawing
You have to use the keywords with the "_s" suffix.
eg.
TL_new_s
TL_SetBegin_s
TL_SetEnd_s
https://www.multicharts.com/trading-sof ... ne_Drawing
- 04 Dec 2023
- Forum: MultiCharts
- Topic: multicharts/powerlanguage tutor?
- Replies: 1
- Views: 270
Re: multicharts/powerlanguage tutor?
You can start here:
FAQ
viewforum.php?f=16
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
FAQ
viewforum.php?f=16
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
- 23 Nov 2023
- Forum: MultiCharts
- Topic: New Bar appearing as a dot [SOLVED]
- Replies: 2
- Views: 278
Re: New Bar appearing as a dot [SOLVED]
The fastest way to solve this problem is to use LiveChat and let techsupport check it for you.
- 13 Nov 2023
- Forum: MultiCharts
- Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
- Replies: 4
- Views: 513
Re: Divide by zero exception during the portfolio backtesting [SOLVED]
GIGO
The only variable is the input data.
If the input has a zero, or the resultant of your logic calculation returns a zero, you will get a "Divide by Zero" error.
The solution is simple -- go through your code with a fine-tooth comb.
The only variable is the input data.
If the input has a zero, or the resultant of your logic calculation returns a zero, you will get a "Divide by Zero" error.
The solution is simple -- go through your code with a fine-tooth comb.
- 06 Nov 2023
- Forum: MultiCharts
- Topic: How to add to an open position
- Replies: 8
- Views: 1505
Re: How to add to an open position
I tried the following code, but it does not work. NumContracts = 5;//The amount of contracts in a position MyPosition = MarketPosition_at_Broker; Myentryprice=entryprice_checked; Condition5 = MyPosition>0 and barstatus=1 and MyPosition< NumContracts and C<Myentryprice;//Long positions Condition6 = ...
- 26 Oct 2023
- Forum: MultiCharts
- Topic: Coding Gap down strategy
- Replies: 1
- Views: 308
Re: Coding Gap down strategy
See posts #1 & #2
viewforum.php?f=16
viewforum.php?f=16
- 24 Oct 2023
- Forum: MultiCharts
- Topic: Multiple Positions + Multiple exit targets [SOLVED]
- Replies: 2
- Views: 423
- 20 Oct 2023
- Forum: MultiCharts
- Topic: 2 set of strategies for Profit target
- Replies: 1
- Views: 292
Re: 2 set of strategies for Profit target
SetProfitTarget and SetStopLoss are Global Exits. They are applied to the account instead of individual trades.
If you need to manage trades individually, you will need to code the management individually.
If you need to manage trades individually, you will need to code the management individually.
- 20 Oct 2023
- Forum: MultiCharts
- Topic: Multiple Positions + Multiple exit targets [SOLVED]
- Replies: 2
- Views: 423
Re: Multiple Positions + Multiple exit targets [SOLVED]
SetProfitTarget and SetStopLoss are Global Exits. They are applied to the account instead of individual trades.
If you need to manage trades individually, you will need to code the management individually.
If you need to manage trades individually, you will need to code the management individually.
- 19 Oct 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 684
Re: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
Go to Wiki
Look under
7 PowerLanguage Keyword Reference
Plotting (15 P)
Look up SetPlotColor
Look under
7 PowerLanguage Keyword Reference
Plotting (15 P)
Look up SetPlotColor
- 17 Oct 2023
- Forum: MultiCharts
- Topic: HIGH CPU LOAD
- Replies: 4
- Views: 533
Re: HIGH CPU LOAD
Do you have any drawing objects in your indicators?
It is possible you have a coding error -- eg an infinite loop doing nothing.
It is possible you have a coding error -- eg an infinite loop doing nothing.
- 16 Oct 2023
- Forum: MultiCharts
- Topic: VWAP Bands Problem with Exception Floating-point division by zero
- Replies: 6
- Views: 787
- 11 Oct 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 608
Re: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
And finally, is there a corresponding function, and thus code, to stop the entire system if expected losses are equal to or exceeded instead? For example, a condition called -I am inventing - 'Loss.Reached'? If so, could I simply replicate the same code, modifying it where necessary, and add it bel...
- 11 Oct 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 608
Re: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
Sharp eyes and sharp mind ! Yes that is the correct way to specify "Larger or Equal" !the correct modification?
- 11 Oct 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 608
Re: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
You can add a CONDITION called "Profit.Reached".
eg. Here's the concept:
eg. Here's the concept:
Code: Select all
Input: Profit.Target( 1000 );
Var: Profit.Reached( False );
If Netprofit > Profit.Target then Profit.Reached = true.
If Profit.Reached = false then
BEGIN
// your trading code here
END;
- 10 Oct 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 684
Re: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
Please copy the code and try again.Thanks for the reply.I am getting a compile error though.
------ Compiled with error(s): ------
Unknown Function
line 7, column 0
I have corrected the missing PLOT number.
- 09 Oct 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 684
Re: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
What if C = C[1] ?
Try this:
Try this:
Code: Select all
var: plot.point(0);
if C > C[1] then Plot.point = H
else
if C < C[1] then Plot.point = L;
Plot1( Plot.point );
- 05 Oct 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 462
Re: Buy Next Bar at Price Limit
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- 04 Oct 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 462
- 04 Oct 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 462
Re: Buy Next Bar at Price Limit
You need to transfer the "TRUE" condition over to multiple bars.
To do that, you can create a new additional condition called BUY_OK.
eg.
To do that, you can create a new additional condition called BUY_OK.
eg.
Code: Select all
Var: BUY_OK (false);
BUY_OK = condition1 and condition2;
if BUY_OK then BUY . . .
- 18 Sep 2023
- Forum: MultiCharts
- Topic: Signal did not calculate all available price data
- Replies: 2
- Views: 364
- 18 Sep 2023
- Forum: MultiCharts
- Topic: Array, variable or refinput expected [SOLVED]
- Replies: 2
- Views: 434
Re: Array, variable or refinput expected [SOLVED]
You set up IsBuyMonth as an INPUT variable.
The way you stated IsBuyMonth in the code, it is giving a TRUE or FALSE response.
Try this:
The way you stated IsBuyMonth in the code, it is giving a TRUE or FALSE response.
Try this:
Code: Select all
Var: IsBuyMonth (false);
- 18 Sep 2023
- Forum: MultiCharts
- Topic: SessionLastBar in live trading [SOLVED]
- Replies: 7
- Views: 949
Re: SessionLastBar in live trading [SOLVED]
It is a hindsight thing. https://www.multicharts.com/discussion/viewtopic.php?t=50358 I read that thread but it doesn't fully clarify. Does that mean that my code will read the correct value in live trading when the session ends sooner? If so, how does MC know that the session has finished prematur...
- 17 Sep 2023
- Forum: MultiCharts
- Topic: Can the ColorRGB Function be used in Functions? [SOLVED]
- Replies: 2
- Views: 378
- 17 Sep 2023
- Forum: MultiCharts
- Topic: SessionLastBar in live trading [SOLVED]
- Replies: 7
- Views: 949
- 16 Sep 2023
- Forum: MultiCharts
- Topic: Is there is shortcut key to make the cursor go to the begining of the code? [SOLVED]
- Replies: 2
- Views: 345
- 04 Sep 2023
- Forum: MultiCharts
- Topic: DCA or multiples orders and exit
- Replies: 1
- Views: 250
Re: DCA or multiples orders and exit
You can start here:
viewtopic.php?t=10811
viewtopic.php?t=10811
- 21 Aug 2023
- Forum: MultiCharts
- Topic: Condition Countif [SOLVED]
- Replies: 1
- Views: 310
Re: Condition Countif [SOLVED]
the rudimentary way to write this logic is to lay them out one by one:
Code: Select all
if condition1 then count1=1 else count1=0;
if condition2 then count2=1 else count2=0;
if condition3 then count3=1 else count3=0;
if condition4 then count4=1 else count4=0;
condition5 = sum(count1+count2+count3+count4) > 2;
- 01 Aug 2023
- Forum: MultiCharts
- Topic: Find top X S&P500 companies
- Replies: 4
- Views: 482
Re: Find top X S&P500 companies
Who is your dataprovider?
Do you know if your dataprovider supplies such a piece of information in a data field?
Do you know if your dataprovider supplies such a piece of information in a data field?
- 04 Jul 2023
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 11
- Views: 1213
Re: send text message telegram channel
MultiCharts can send email.
Can your Telegram accept email?
Can your Telegram accept email?
- 29 Jun 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 991
Re: faulty backtest results when dataindex is used
is my advice wrong?
or
your code does not work?
there is a difference.
or
your code does not work?
there is a difference.
- 24 Jun 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 991
- 24 May 2023
- Forum: MultiCharts
- Topic: Help with a study - StopLoss
- Replies: 5
- Views: 662
- 18 May 2023
- Forum: MultiCharts
- Topic: Limit Orders
- Replies: 2
- Views: 475
Re: Limit Orders
Do you think this is a coding problem?
or procedural problem?
Have you checked out the posts in the FAQ?
viewtopic.php?t=10811
or procedural problem?
Have you checked out the posts in the FAQ?
viewtopic.php?t=10811
- 03 May 2023
- Forum: MultiCharts
- Topic: Precise backtesting on Renko charts
- Replies: 5
- Views: 796
Re: Precise backtesting on Renko charts
This is a trial and tribulation every backtester must go through.
- 19 Apr 2023
- Forum: MultiCharts
- Topic: Adaptive Candlestick Pattern Recognition System convert to Powerlanguage
- Replies: 2
- Views: 487
Re: Adaptive Candlestick Pattern Recognition System convert to Powerlanguage
This one is converted from EasyLanguage. You can google for the script; It is on the web somewhere.
- 11 Apr 2023
- Forum: MultiCharts
- Topic: what does this mean? restart computer and restart mc, still got error
- Replies: 3
- Views: 498
Re: what does this mean? restart computer and restart mc, still got error
Please indicate the following:
1. computer RAM size
2. Windows version
3. MC version and release number
When did you install this MC?
1. computer RAM size
2. Windows version
3. MC version and release number
When did you install this MC?
- 09 Apr 2023
- Forum: MultiCharts
- Topic: Signals based on Trade data series and buy and sell based on bid and ask data series
- Replies: 3
- Views: 492
Re: Signals based on Trade data series and buy and sell based on bid and ask data series
Please check the following threats for ideas:
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
- 09 Apr 2023
- Forum: MultiCharts
- Topic: Signals based on Trade data series and buy and sell based on bid and ask data series
- Replies: 3
- Views: 492
Re: Signals based on Trade data series and buy and sell based on bid and ask data series
If you this is a coding question, you need to post your codes.
- 07 Apr 2023
- Forum: MultiCharts
- Topic: Volume for Data2
- Replies: 2
- Views: 403
- 07 Apr 2023
- Forum: MultiCharts
- Topic: Volume for Data2
- Replies: 2
- Views: 403
Re: Volume for Data2
See post #5
viewtopic.php?f=16&t=6929
viewtopic.php?f=16&t=6929
- 05 Apr 2023
- Forum: MultiCharts
- Topic: "maximum number of bars study will reference"
- Replies: 4
- Views: 678
Re: "maximum number of bars study will reference"
For most situations, you should set it to Auto.
- 05 Apr 2023
- Forum: MultiCharts
- Topic: "maximum number of bars study will reference"
- Replies: 4
- Views: 678
Re: "maximum number of bars study will reference"
I have a complex strategy. the main chart, data1 is 1 minute. mnqh3 100 days. ( mnqH3 is expired now, but I think it should be ok use this symbol) data2 = 3 minutes. mnqh3 100 days data3 = 1 minute. mnqh3 100 days the strategy code has some functions which run on data2, data3. The "maximum number o...
- 28 Mar 2023
- Forum: MultiCharts
- Topic: How to code one trade a day or...
- Replies: 9
- Views: 1186
Re: How to code one trade a day or...
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 21 Mar 2023
- Forum: MultiCharts
- Topic: How to create a trend reversal chart based on FlexRenko chart?
- Replies: 2
- Views: 482
- 20 Mar 2023
- Forum: MultiCharts
- Topic: lost my strategy
- Replies: 7
- Views: 881
Re: lost my strategy
Did you start the Editor as an Administrator?
Did you set the Windows operating system to permit you the user to modify files?
Did you log in to Windows with the assigned username?
Did you set the Windows operating system to permit you the user to modify files?
Did you log in to Windows with the assigned username?
- 19 Mar 2023
- Forum: MultiCharts
- Topic: lost my strategy
- Replies: 7
- Views: 881
Re: lost my strategy
Before you accuse MC has bugs, which it might be true, as all software does, you should take a look at what you are accusing . . . You have a problem finding a file. I know it is frustrating. File management is a basic Windows function. MC merely calls the function from the software. All the file ha...
- 17 Mar 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 726
Re: About displaying moving averages
Take your chart and draw on it to show what you want to see.
- 16 Mar 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 726
Re: About displaying moving averages
You need to draw a mock up.Thank you for your response.
The attached image shows chart data from January 1, 2022 to March 16, 2023, but I was wondering if it is possible to draw a moving average including chart data prior to May 26, 2022.
- 16 Mar 2023
- Forum: MultiCharts
- Topic: About intraday highs
- Replies: 2
- Views: 423
Re: About intraday highs
See post #5
viewtopic.php?t=11713
viewtopic.php?t=11713
- 16 Mar 2023
- Forum: MultiCharts
- Topic: About RateofChange Documentation
- Replies: 6
- Views: 728
Re: About RateofChange Documentation
You can google and download the free ebook
EasyLanguage Functions and Reserved Words
EasyLanguage Functions and Reserved Words
- 16 Mar 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 726
Re: About displaying moving averages
i don't understand your question
- 04 Mar 2023
- Forum: MultiCharts
- Topic: Replicating session closing price on TS & MC
- Replies: 1
- Views: 344
Re: Replicating session closing price on TS & MC
Have you reloaded the data on both programs?
- 24 Feb 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 1344
Re: SetStopLoss with highs and lows.
Thanks TJ. I have seen like half a second to a secong lag between time a bar closes and order generation. Maybe upgrade the VPS? Theoretically, it should not make a difference. Your need is to evaluate the stop position at every tick. Whether it is done through the built-in stoploss or through codi...
- 23 Feb 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 1344
Re: SetStopLoss with highs and lows.
If you want to trade at the end of the bar, but set your stop intra-bar, you can do the following: 1. Enable IOG IntrabarOrderGeneration. 2. On your trading logic, add BARSTATUS=2. Thanks TJ. Does setting IOG to ON slow down MC in any way? Especially with an instrument like NQ. Thanks. No, not that...
- 23 Feb 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 1344
Re: SetStopLoss with highs and lows.
If you want to trade at the end of the bar, but set your stop intra-bar, you can do the following:
1. Enable IOG IntrabarOrderGeneration.
2. On your trading logic, add BARSTATUS=2.
1. Enable IOG IntrabarOrderGeneration.
2. On your trading logic, add BARSTATUS=2.
- 18 Feb 2023
- Forum: MultiCharts
- Topic: TV as Monitor?
- Replies: 3
- Views: 1504
- 15 Feb 2023
- Forum: MultiCharts
- Topic: Pre-Processing
- Replies: 11
- Views: 1187
Re: Pre-Processing
Buy a faster CPU ?Do you have a suggestion of how to preprocess this Moving average array to speed up optimization?
- 14 Feb 2023
- Forum: MultiCharts
- Topic: Pre-Processing
- Replies: 11
- Views: 1187
Re: Pre-Processing
Yes, put it in a variable. Put it in a function.
ps. If you need coding help, you need to post your codes.
ps. If you need coding help, you need to post your codes.
- 11 Feb 2023
- Forum: MultiCharts
- Topic: Problem with Portfolio_OpenPositionProfit
- Replies: 5
- Views: 706
- 11 Feb 2023
- Forum: MultiCharts
- Topic: Line Chart/Graph Based on High or Low and not based on Closed Prices
- Replies: 4
- Views: 575
Re: Line Chart/Graph Based on High or Low and not based on Closed Prices
You need to write some notes on the diagram , with arrows, pointing out the features of the graph. You need to write down why such point is important. You need to explain how each point is constructed. You need to show the transitions between points: why this point is changed but not the others. No ...
- 11 Feb 2023
- Forum: MultiCharts
- Topic: Line Chart/Graph Based on High or Low and not based on Closed Prices
- Replies: 4
- Views: 575
Re: Line Chart/Graph Based on High or Low and not based on Closed Prices
You need to draw a mock-up, with notes on the diagram highlighting the salient points you are looking for.
- 22 Jan 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 659
Re: Why is only UP Volume counted in this print statement? [SOLVED]
404 Fixed.Thanks for this TJ. It is a good referral tool.See post #11
viewtopic.php?f=16&t=6929
The second link give me a 404 error ..."https://www.multicharts.com/multicharts ... mentation/"
- 22 Jan 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 659
Re: Why is only UP Volume counted in this print statement? [SOLVED]
These might help:
- 22 Jan 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 659
- 15 Jan 2023
- Forum: MultiCharts
- Topic: Sell signal not working for me [SOLVED]
- Replies: 2
- Views: 534
Re: Sell signal not working for me [SOLVED]
Go to the Wiki
In the Table of Contents, go to
7 PowerLanguage Keyword Reference
Look under
Strategy Orders (34 P)
Look up
Sellshort
In the Table of Contents, go to
7 PowerLanguage Keyword Reference
Look under
Strategy Orders (34 P)
Look up
Sellshort
- 12 Jan 2023
- Forum: MultiCharts
- Topic: Adv / Decl Line Indicator
- Replies: 1
- Views: 395
Re: Adv / Decl Line Indicator
In a Zero-Sum game, the curve will balance out after the ramp-up period.
However, the market is not zero-sum; the market has an upward bias. Therefore, yes, the way you calculate it, the curve will also have an upward bias.
However, the market is not zero-sum; the market has an upward bias. Therefore, yes, the way you calculate it, the curve will also have an upward bias.
- 07 Jan 2023
- Forum: MultiCharts
- Topic: Advice for new user/ testing out first strategies .
- Replies: 3
- Views: 582
Re: Advice for new user/ testing out first strategies .
You can start here:
MultiCharts FAQ
viewforum.php?f=16
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
MultiCharts FAQ
viewforum.php?f=16
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?t=6929
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
- 07 Jan 2023
- Forum: MultiCharts
- Topic: Advice for new user/ testing out first strategies .
- Replies: 3
- Views: 582
Re: Advice for new user/ testing out first strategies .
The best way to learn coding is to examine the pre-built codes.
- 07 Jan 2023
- Forum: MultiCharts
- Topic: Pre-built Signals.
- Replies: 4
- Views: 597
Re: Pre-built Signals.
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 29 Dec 2022
- Forum: MultiCharts
- Topic: Breakout Session Strategy
- Replies: 6
- Views: 871
Re: Breakout Session Strategy
HighD (Function) The HighD series function allows you to reference the daily high of a previous day in an intraday chart (minute, second, or tick-based) or a daily chart. HighD is one of a family of functions that allows historical references across various data intervals. Syntax HighD(PeriodsAgo) ...
- 29 Dec 2022
- Forum: MultiCharts
- Topic: Breakout Session Strategy
- Replies: 6
- Views: 871
Re: Breakout Session Strategy
you can use the HighD function.
- 29 Dec 2022
- Forum: MultiCharts
- Topic: Saving Modified Signals Confusion
- Replies: 1
- Views: 330
Re: Saving Modified Signals Confustion
You should use LiveChat to let techsupport look at your computer and see if any setting is amiss.
- 21 Dec 2022
- Forum: MultiCharts
- Topic: General question about computational speed
- Replies: 2
- Views: 442
- 30 Nov 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 939
Re: Help with coding indicator pls [SOLVED]
You can try this print routine: (I am not in front of my MC, I have not tested the code. Please give it a try and let me know the results.) Var: CandleDelta(0), CandleDeltaSum(0), GreenCandle(false), CountBars(0), BarColor(0); CandleDelta = c - (c of data2); GreenCandle = c > (c of data2); If GreenC...
- 29 Nov 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 939
Re: Help with coding indicator pls [SOLVED]
.... I pretty much got that right, but I only want to show the last and highest delta count in each sequence/swing. Not sure how to make the previous two green plot in the red box the same as the third highest/max plot? Does this make sense? I don't understand what you are talking about. You need t...
- 29 Nov 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 939
Re: Help with coding indicator pls [SOLVED]
For example (refers to red box in attached screenshot of ES 5 min chart): 1. There are three green candles 2. The delta of these three are: 61, 157 & 26. 3. Add up to 244 4. Then diplay all three plots of the three green candles as 244. (currently it adds consecutively) You are doing well, but don'...
- 23 Nov 2022
- Forum: MultiCharts
- Topic: DOM Quantities are incorrect
- Replies: 9
- Views: 1119
Re: DOM Quantities are incorrect
Which account are you using?
1. Demo account
2. Papertrading account
3. Live account
1. Demo account
2. Papertrading account
3. Live account
- 17 Nov 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 1112
Re: Weekly timeframe buy in close bar
Is that a backtest you had on the first post?
- 13 Nov 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 1112
Re: Weekly timeframe buy in close bar
The chart evaluates the indicator/strategy at the End Of Bar (EOB).
If the conditions are met, an order is triggered at the next tick, which is the opening of the next bar.
Your code will not trigger an order at the end of the week because there is no next bar.
If the conditions are met, an order is triggered at the next tick, which is the opening of the next bar.
Your code will not trigger an order at the end of the week because there is no next bar.
- 13 Nov 2022
- Forum: MultiCharts
- Topic: smoothed moving average in MS
- Replies: 3
- Views: 679
Re: smoothed moving average in MS
Sorry I didn't know I should adjust the post accordingly. I hope now it fits. You have 2 codes there. One is a function, the other is the indicator. //Function: inputs: //Function: Price( numericseries ), Length( numericsimple ) ; { this input should be a constant >= 1 } Vars: SmoothingFactor( 1 / ...
- 13 Nov 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 1112
- 12 Nov 2022
- Forum: MultiCharts
- Topic: smoothed moving average in MS
- Replies: 3
- Views: 679
Re: smoothed moving average in MS
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 07 Nov 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 1112
- 04 Oct 2022
- Forum: MultiCharts
- Topic: Can MultiCharts handle hundreds or thousands of strategies?
- Replies: 22
- Views: 3281
Re: Can MultiCharts handle hundreds or thousands of strategies?
I would buy a new computer and an extra MultiCharts license for every 20 strategies.
YMMV
YMMV
- 04 Oct 2022
- Forum: MultiCharts
- Topic: Can MultiCharts handle hundreds or thousands of strategies?
- Replies: 22
- Views: 3281
Re: Can MultiCharts handle hundreds or thousands of strategies?
There are so many bottlenecks in trading, you have to find out where are your bottlenecks. 1. How far are you from your broker? 2. What is your latency? Today's computers might seem fast, but they are still operating in a very archaic 86 architecture. ie there are lots and lots of bottlenecks inside...
- 26 Sep 2022
- Forum: MultiCharts
- Topic: Daily Hi Low Lines
- Replies: 5
- Views: 943
Re: Daily Hi Low Lines
See post #5
5. The First Step in Debugging Your Code
5. Stop Banging Your Head Against the Wall and Open Your Eyes.
viewtopic.php?t=11713
5. The First Step in Debugging Your Code
5. Stop Banging Your Head Against the Wall and Open Your Eyes.
viewtopic.php?t=11713
- 26 Sep 2022
- Forum: MultiCharts
- Topic: Daily Hi Low Lines
- Replies: 5
- Views: 943
Re: Daily Hi Low Lines
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 07 Sep 2022
- Forum: MultiCharts
- Topic: How to reset studies every x second
- Replies: 2
- Views: 961
- 01 Sep 2022
- Forum: MultiCharts
- Topic: How to calculate the Highest High / Lowest Low for "N' sessions
- Replies: 6
- Views: 1391
Re: How to calculate the Highest High / Lowest Low for "N' sessions
I am not sure what you mean by this one-liner. It can be interpreted in multiple ways. How do I search 'n' number of session for the highest high / lowest low? You need to give a real-life example in step-by-step narration. You need to draw some diagrams/charts, with notes on the picture to point ou...
- 31 Aug 2022
- Forum: MultiCharts
- Topic: How to calculate the Highest High / Lowest Low for "N' sessions
- Replies: 6
- Views: 1391
- 29 Aug 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 2403
Re: vertical line on chart [SOLVED]
You can make the line with PLOT1[ -1 ] .
- 29 Aug 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 2403
Re: vertical line on chart [SOLVED]
The lines are only drawn after the data has passed. I need the lines to be there before the data. Pic #1 shows the way that it is now. Pic #2 is the way t hat I need it to be. You need to describe your vision with hard examples. What are those lines? Date/time lines? What are the LOGIC of those lin...
- 27 Aug 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 2403
Re: vertical line on chart [SOLVED]
You need to describe your vision with hard examples.Is there a way to have these lines plot in advance rather than after the fact?
Please draw a diagram(s) to illustrate the operation.
- 20 Aug 2022
- Forum: MultiCharts
- Topic: Clickable Button that toggles a boolean
- Replies: 4
- Views: 910
Re: Clickable Button that toggles a boolean
Go to Wiki
Go to PowerLanguage Keyword Reference
Look under MouseClickEvents (6 P)
Go to PowerLanguage Keyword Reference
Look under MouseClickEvents (6 P)
- 19 Aug 2022
- Forum: MultiCharts
- Topic: Clickable Button that toggles a boolean
- Replies: 4
- Views: 910
Re: Clickable Button that toggles a boolean
Can you give an example?
Maybe draw a flowchart to illustrate your vision?
Maybe draw a flowchart to illustrate your vision?
- 14 Aug 2022
- Forum: MultiCharts
- Topic: Getting date time of n-th bar before current bar [SOLVED]
- Replies: 3
- Views: 873
Re: Getting date time of n-th bar before current bar [SOLVED]
You are welcome !
- 14 Aug 2022
- Forum: MultiCharts
- Topic: Plot horizontal line at LL or HH x bars back Powerlanguage Study [SOLVED]
- Replies: 2
- Views: 824
Re: Plot horizontal line at LL or HH x bars back Powerlanguage Study [SOLVED]
The indicator name is
Price Channel
Price Channel
- 13 Aug 2022
- Forum: MultiCharts
- Topic: Getting date time of n-th bar before current bar [SOLVED]
- Replies: 3
- Views: 873
Re: Getting date time of n-th bar before current bar [SOLVED]
KEYWORD [ n-th bar ]
eg
datetime[5]
eg
datetime[5]
- 06 Aug 2022
- Forum: MultiCharts
- Topic: Temporary entry level [SOLVED]
- Replies: 3
- Views: 820
Re: Temporary entry level [SOLVED]
If you want to trigger an order intra-bar in real-time,
You need to set IOG IntrabarOrderGeneration to TRUE.
You need to set IOG IntrabarOrderGeneration to TRUE.
- 21 Jul 2022
- Forum: MultiCharts
- Topic: Indicator messing up my charts [SOLVED]
- Replies: 11
- Views: 1730
Re: Indicator messing up my charts [SOLVED]
Computers are dumb; they do exactly what they are told to do.
This is a simple coding issue. You need to post your code.
viewtopic.php?t=11713
This is a simple coding issue. You need to post your code.
viewtopic.php?t=11713
- 19 Jul 2022
- Forum: MultiCharts
- Topic: Indicator messing up my charts [SOLVED]
- Replies: 11
- Views: 1730
Re: Indicator messing up my charts [SOLVED]
you should post a screen shot,
with notes on the chart pointing to the problem, and your vision of how it should look.
with notes on the chart pointing to the problem, and your vision of how it should look.
- 05 Jul 2022
- Forum: MultiCharts
- Topic: I ask for help with the script Power Language.
- Replies: 2
- Views: 620
Re: I ask for help with the script Power Language.
You can try CurrentTime.
Note: this keyword will work in realtime, but not in backtesting.
Note: this keyword will work in realtime, but not in backtesting.
- 04 Jul 2022
- Forum: MultiCharts
- Topic: I ask for help with the script Power Language.
- Replies: 2
- Views: 620
Re: I ask for help with the script Power Language.
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 01 Jul 2022
- Forum: MultiCharts
- Topic: Best practice for Bid/Ask auto trading. [SOLVED]
- Replies: 4
- Views: 1484
- 28 Jun 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 1054
Re: ATR at entry price [SOLVED]
First, you create a variable to store the ATR value. At the time of entry, you assign the ATR value to the said variable. That was my thought as well. But what should i do to make sure the ATR is assigned at that specific time? That depends on how you code your entry. If it is BUY or SELLSHORT at m...
- 27 Jun 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 1054
Re: ATR at entry price [SOLVED]
First, you create a variable to store the ATR value.
At the time of entry, you assign the ATR value to the said variable.
At the time of entry, you assign the ATR value to the said variable.
- 21 Jun 2022
- Forum: MultiCharts
- Topic: Create a line label within a script
- Replies: 1
- Views: 495
Re: Create a line label within a script
Anything is possible, almost.
You should post your code,
as well as draw a mock-up chart with a sample "label" located where you want it.
You should post your code,
as well as draw a mock-up chart with a sample "label" located where you want it.
- 20 Jun 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 1001
Re: Indicator Signal not plotting
This is a coding issue.
The computer is dumb; it will only do what it is told.
You need to post your code.
The computer is dumb; it will only do what it is told.
You need to post your code.
- 20 Jun 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 1001
Re: Indicator Signal not plotting
Thank you TJ. Apologize for not understanding your logic here: . . . 2. The procedure should be run on the last tick of the bar - and plotted as it has for roughly 49 of 50 signals. I could accept this if I didn't have proof of the signals being plotted correctly. 3. If the EOB logic you mentioned ...
- 20 Jun 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 1001
Re: Indicator Signal not plotting
setplotcolor(1,magenta);Thank you TJ. Apologize for not understanding your logic here:
1. What setting are you referring to?
- 20 Jun 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 1001
Re: Indicator Signal not plotting
After you have enabled the setting, it will start to take effect at the next tick.
Since your logic is for the EOB, the setting will take effect at the next bar.
Since your logic is for the EOB, the setting will take effect at the next bar.
- 10 Jun 2022
- Forum: MultiCharts
- Topic: Why do I cann't register my MC12
- Replies: 2
- Views: 654
- 09 Jun 2022
- Forum: MultiCharts
- Topic: Scaling out code
- Replies: 1
- Views: 499
Re: Scaling out code
Make a counter.
Reset the counter when the new swing begins.
Reset the counter when the new swing begins.
- 30 May 2022
- Forum: MultiCharts
- Topic: Problem with the Custom 1 Line indicator
- Replies: 6
- Views: 1070
Re: Problem with the Custom 1 Line indicator
My guess is, that this is a coding error.
- 19 May 2022
- Forum: MultiCharts
- Topic: Using SetExitOnClose with Custom Session
- Replies: 5
- Views: 942
- 14 May 2022
- Forum: MultiCharts
- Topic: To signal mixed between Short and long
- Replies: 2
- Views: 625
- 14 May 2022
- Forum: MultiCharts
- Topic: Trading Multiple Strategies on the Same Instrument
- Replies: 5
- Views: 1284
Re: Trading Multiple Strategies on the Same Instrument
Didn't you just ask this question a few days ago? What happened to the thread?
- 14 May 2022
- Forum: MultiCharts
- Topic: day open indicator question
- Replies: 2
- Views: 603
Re: day open indicator question
What is your chart resolution?
What is your session time?
What is your session time?
- 14 May 2022
- Forum: MultiCharts
- Topic: day open indicator question
- Replies: 2
- Views: 603
Re: day open indicator question
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 02 May 2022
- Forum: MultiCharts
- Topic: OHLC Yesterday + Today Open [SOLVED]
- Replies: 3
- Views: 809
Re: OHLC Yesterday + Today Open [SOLVED]
You can copy and paste the code here.
- 02 May 2022
- Forum: MultiCharts
- Topic: OHLC Yesterday + Today Open [SOLVED]
- Replies: 3
- Views: 809
Re: OHLC Yesterday + Today Open [SOLVED]
You need to draw a mock-up diagram to illustrate your vision.
You need to draw arrows and write notes on the diagram to point out what you are looking for.
You need to draw arrows and write notes on the diagram to point out what you are looking for.
- 02 May 2022
- Forum: MultiCharts
- Topic: Request: dark theme for MultiCharts!
- Replies: 10
- Views: 2655
Re: Request: dark theme for MultiCharts!
I thought a "Dark mode" is a function of the Windows operating system.
- 18 Apr 2022
- Forum: MultiCharts
- Topic: Using EntriesToday / TradeToday on short sessions IE Softs / Agro
- Replies: 2
- Views: 648
Re: Using EntriesToday / TradeToday on short sessions IE Softs / Agro
I don't understand what you are asking.
please check your punctuation.
Please give some examples that cover all scenarios.
please check your punctuation.
Please give some examples that cover all scenarios.
- 17 Apr 2022
- Forum: MultiCharts
- Topic: Help converting some EasyLanguage
- Replies: 3
- Views: 823
Re: Help converting some EasyLanguage
Computers are dumb. They do what they are told.Rectangles seem to stay when you change the chart interval. Any idea why text labels don't? (Sometimes they do, sometimes not.)
- 16 Apr 2022
- Forum: MultiCharts
- Topic: Help converting some EasyLanguage
- Replies: 3
- Views: 823
Re: Help converting some EasyLanguage
This is not EasyLanguage.
This is TS' new OOP Language with some Easylanguage syntax.
It is not possible to do a translation. At least not an easy direct translation.
This is TS' new OOP Language with some Easylanguage syntax.
It is not possible to do a translation. At least not an easy direct translation.
- 12 Apr 2022
- Forum: MultiCharts
- Topic: How to plot yesterday's 1st session close on today's chart
- Replies: 2
- Views: 620
Re: How to plot yesterday's 1st session close on today's chart
What do you mean by "difficulty to plot yesterday's 1st session Close"? Please state your MultiCharts version and build number. Who is your dataprovider? What is the symbol? What is the chart resolution? Are you on Exchange time? or Local time? What is your chart session time? 24/7? or RTH? Is this ...
- 11 Apr 2022
- Forum: MultiCharts
- Topic: plot yesterdays close [SOLVED]
- Replies: 7
- Views: 1582
Re: plot yesterdays close [SOLVED]
I have the same difficulty that I want to plot the "close" of yesterday's specific time on today's chart for reference. I used closeD(1) and that only get me the close at the end of last trading day. Please advise. You are looking for a specific time, not the close of the day. Please start a new th...
- 04 Apr 2022
- Forum: MultiCharts
- Topic: Data1 Data2
- Replies: 6
- Views: 1709
Re: Data1 Data2
Can you explain, in your view, the function and purpose of "intrabarpersist" ?
- 03 Apr 2022
- Forum: MultiCharts
- Topic: Better Volume Indicator not showing
- Replies: 2
- Views: 681
Re: Better Volume Indicator not showing
Do you know if your quotes have volume data?
You can add a basic volume indicator to the bottom to see if you have in fact have volume data.
You can add a basic volume indicator to the bottom to see if you have in fact have volume data.
- 22 Mar 2022
- Forum: MultiCharts
- Topic: Data1 Data2
- Replies: 6
- Views: 1709
Re: Data1 Data2
See post #5
viewtopic.php?t=6929
viewtopic.php?t=6929
- 15 Mar 2022
- Forum: MultiCharts
- Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
- Replies: 4
- Views: 1019
Re: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
go to the wiki
look up the keyword PRINT
study the usage example
pay attention to the explanation of
Expression:C:D
look up the keyword PRINT
study the usage example
pay attention to the explanation of
Expression:C:D
- 15 Mar 2022
- Forum: MultiCharts
- Topic: Data1 Data2 update
- Replies: 2
- Views: 669
Re: Data1 Data2 update
Data1 is the drummer. He sets the beat.
Have you tried Data1 as 2 min and Data2 as a multiple of data1?
Have you tried Data1 as 2 min and Data2 as a multiple of data1?
- 10 Mar 2022
- Forum: MultiCharts
- Topic: Kasebar-problem
- Replies: 3
- Views: 776
Re: Kasebar-problem
You need to write some notes and draw some arrows on your charts.
As is, no one can follow your chain of thought. No one can tell what is right and what is wrong, and what are your expectations.
As is, no one can follow your chain of thought. No one can tell what is right and what is wrong, and what are your expectations.
- 05 Mar 2022
- Forum: MultiCharts
- Topic: Using Global Variable for Strings
- Replies: 2
- Views: 740
Re: Using Global Variable for Strings
have you read the doc?
- 02 Mar 2022
- Forum: MultiCharts
- Topic: RS(vsIndex)
- Replies: 3
- Views: 1284
Re: RS(vsIndex)
See post #8
viewtopic.php?t=11713
viewtopic.php?t=11713
- 02 Mar 2022
- Forum: MultiCharts
- Topic: RS(vsIndex)
- Replies: 3
- Views: 1284
Re: RS(vsIndex)
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 25 Feb 2022
- Forum: MultiCharts
- Topic: Same code and inputs between MultiCharts and TS, different outputs
- Replies: 4
- Views: 822
Re: Same code and inputs between MultiCharts and TS, different outputs
That's difficult to say . . . it could be one of a million things.
Maybe one chart is 24 hrs and the other is RTH?
or a rollover of a continuous contract? One is back adjusted but the other is not?
Maybe one chart is 24 hrs and the other is RTH?
or a rollover of a continuous contract? One is back adjusted but the other is not?
- 25 Feb 2022
- Forum: MultiCharts
- Topic: Same code and inputs between MultiCharts and TS, different outputs
- Replies: 4
- Views: 822
Re: Same code and inputs between MultiCharts and TS, different outputs
GIGO
Your MC data is different.
See the LONG bar at the beginning of the day.
Your MC data is different.
See the LONG bar at the beginning of the day.
- 13 Feb 2022
- Forum: MultiCharts
- Topic: Buy Sell Line
- Replies: 5
- Views: 1145
Re: Buy Sell Line
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- 13 Feb 2022
- Forum: MultiCharts
- Topic: Buy Sell Line
- Replies: 5
- Views: 1145
Re: Buy Sell Line
You have a concept . Your concept is crystal clear only to you , in your mind. It is fuzzy to others . To convert your concept to programmable instructions, first, you have to re-write your concept as if you are teaching a 10 year old to trade. You have to write out the instructions and directions, ...
- 13 Feb 2022
- Forum: MultiCharts
- Topic: What/Where are MC`s limits??? [SOLVED]
- Replies: 3
- Views: 917
Re: What/Where are MC`s limits??? [SOLVED]
To make the discussion meaningful, You need to specify your computer set up, RAM, Ghz? number of cores? your internet bandwidth, how many people are sharing your internet? your router make and model, are you using mesh? what is your distance to your broker? What is your ping time. Yes, have you chec...
- 12 Feb 2022
- Forum: MultiCharts
- Topic: Daily bar calculation but intraday order entry [SOLVED]
- Replies: 9
- Views: 2888
Re: Daily bar calculation but intraday order entry [SOLVED]
Developing a system is about experiments and experiments and experiments and . . .
You have to try all permutations to see which one works best for you.
You have to try all permutations to see which one works best for you.
- 11 Feb 2022
- Forum: MultiCharts
- Topic: Daily bar calculation but intraday order entry [SOLVED]
- Replies: 9
- Views: 2888
Re: Daily bar calculation but intraday order entry [SOLVED]
You might think your logic is on a daily basis, but you are trading on an intraday basis.
So your analysis must use intraday methods.
So your analysis must use intraday methods.
- 07 Feb 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 3133
Re: Calculate the distance in points from close to moving average [SOLVED]
wow thank you Barbo, I did not know that the order of the variables definitions affected the order of their processing, I thought it was just a list so to speak. EasyLanguage/PowerLanguage is a Procedural Language. ie the codes are processed and executed one line at a time. Except the declarations ...
- 07 Feb 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 3133
Re: Calculate the distance in points from close to moving average [SOLVED]
If this is a coding question,
you have to post your code.
you have to post your code.
- 06 Feb 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 3133
Re: Calculate the distance in points from close to moving average [SOLVED]
Your PRINT statement is wrong.
- 27 Jan 2022
- Forum: MultiCharts
- Topic: Plotting True & False variables in imported indicators
- Replies: 4
- Views: 876
- 25 Jan 2022
- Forum: MultiCharts
- Topic: PL equivalent of [SOLVED]
- Replies: 1
- Views: 607
Re: PL equivalent of [SOLVED]
Try this:
Code: Select all
Once Begin
If YEAR > YEAR[1] then DayOfYearCounter = 0;
END;
If DATE > DATE[1] then DayOfYearCounter = DayOfYearCounter +1;
- 19 Jan 2022
- Forum: MultiCharts
- Topic: Plotting True & False variables in imported indicators
- Replies: 4
- Views: 876
Re: Plotting True & False variables in imported indicators
If this is a coding question, you have to post your codes.
- 19 Jan 2022
- Forum: MultiCharts
- Topic: Help with Missing Bar
- Replies: 4
- Views: 778
Re: Help with Missing Bar
I remember seeing this before,
but I don't remember the solution. (sorry blame the Alzheimer)
You can use LiveChat to connect to techsupport. They can sort it out for you.
but I don't remember the solution. (sorry blame the Alzheimer)
You can use LiveChat to connect to techsupport. They can sort it out for you.
- 18 Jan 2022
- Forum: MultiCharts
- Topic: Help with Missing Bar
- Replies: 4
- Views: 778
Re: Help with Missing Bar
check your session setting
if it is 24/7, then the day won't be closed until midnight.
if it is 24/7, then the day won't be closed until midnight.
- 16 Jan 2022
- Forum: MultiCharts
- Topic: PlotPaintBar Compliler Error
- Replies: 2
- Views: 623
Re: PlotPaintBar Compliler Error
Please go to Wiki and look up the usage example of PlotPaintBar. PlotPaintBar is the equivalent of: Plot1(BarHigh); Plot2(BarLow); Plot3(BarOpen); Plot4(BarClose); Try this: PlotPaintBar(O, H, L, C, "OHLC", default); if trend = 1 then begin SetPlotColor(1, Blue); SetPlotColor(2, Blue); SetPlotColor(...
- 15 Jan 2022
- Forum: MultiCharts
- Topic: PlotPaintBar Compliler Error
- Replies: 2
- Views: 623
- 13 Jan 2022
- Forum: MultiCharts
- Topic: How to combine ASCII and real time data
- Replies: 1
- Views: 559
Re: How to combine ASCII and real time data
you can first import the ASCII into the symbol
MC will append the real-time data into the symbol.
MC will append the real-time data into the symbol.
- 12 Jan 2022
- Forum: MultiCharts
- Topic: Trouble with getting flat while pyramiding orders
- Replies: 3
- Views: 772
Re: Trouble with getting flat while pyramiding orders
This is quite a complex undertaking; I would engage a professional programmer. It is better to make the money to pay the programmer than to save money but getting stuck.
As a practice, Data1 should not be longer than 1 day.
As a practice, Data1 should not be longer than 1 day.
- 06 Jan 2022
- Forum: MultiCharts
- Topic: Loading data for Delta-Chart tries to load too many days
- Replies: 4
- Views: 839
Re: Loading data for Delta-Chart tries to load too many days
How many indicators/strategies you are running?
How much back data do they need?
eg. a 20 period moving average requires a minimum of 20 bars of data to do the first calculation.
How much back data do they need?
eg. a 20 period moving average requires a minimum of 20 bars of data to do the first calculation.
- 06 Jan 2022
- Forum: MultiCharts
- Topic: CQG Chart freeze
- Replies: 4
- Views: 928
Re: CQG Chart freeze
What other software are you running?
Do you have anti-virus?
You can check your Taskmanager for opened processes.
Do you have anti-virus?
You can check your Taskmanager for opened processes.
- 05 Jan 2022
- Forum: MultiCharts
- Topic: Trendline Indicator Slowing Down MC
- Replies: 2
- Views: 598
Re: Trendline Indicator Slowing Down MC
MultiCharts is a tick driven software. Everytime a tick comes it, the indicator will recalculate itself, and updates the variables and redraws the plots. Trendline is different from Plots. A new Plot will replace the old plot. Your code as is, it draws a new line for every new tick that came in. If ...
- 05 Jan 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 1880
Re: MC using IB as datasource
You can use LiveChat to connect to MC techsupport; they can sort it out for you.
- 05 Jan 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 1880
Re: MC using IB as datasource
Can you open the IB Trader Workstation and see if you can open the TLSA chart?
- 05 Jan 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 1035
- 05 Jan 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 1035
Re: Inconsistent back testing for strategy
IOG = Intrabar Order Generation
- 05 Jan 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 1880
Re: MC using IB as datasource
What symbols have you subscribed in IB ?
- 03 Jan 2022
- Forum: MultiCharts
- Topic: DEbug Script
- Replies: 1
- Views: 574
- 01 Jan 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 1035
Re: Inconsistent back testing for strategy
Things you can check:
Time frame -- are you using 24 hr day? or RTH day?
Local time? or Exchange time?
IOG ?
Time frame -- are you using 24 hr day? or RTH day?
Local time? or Exchange time?
IOG ?
- 22 Dec 2021
- Forum: MultiCharts
- Topic: Error creating a function [SOLVED]
- Replies: 2
- Views: 757
Re: Error creating a function [SOLVED]
What name did you use for this function?
- 19 Dec 2021
- Forum: MultiCharts
- Topic: change order of indicators [SOLVED]
- Replies: 9
- Views: 1279
Re: change order of indicators [SOLVED]
Right click on the scale.
- 19 Dec 2021
- Forum: MultiCharts
- Topic: Add additional securities to indicator
- Replies: 6
- Views: 849
Re: Add additional securities to indicator
"Invisible" is the way to do it.
If you need to use the data, you must have it on the chart, whether visible or not.
If you need to use the data, you must have it on the chart, whether visible or not.
- 09 Dec 2021
- Forum: MultiCharts
- Topic: How can I prevent this?
- Replies: 8
- Views: 1701
Re: How can I prevent this?
is there any reason you do not want to use IB data?
- 09 Dec 2021
- Forum: MultiCharts
- Topic: Profitable week's open [SOLVED]
- Replies: 3
- Views: 755
Re: Profitable week's open [SOLVED]
What if Monday is a holiday? What would you like to do?
- 24 Nov 2021
- Forum: MultiCharts
- Topic: Volume Indicator
- Replies: 3
- Views: 852
Re: Volume Indicator
In EasyLanguage/PowerLanguage, VOLUME means ticks, and TICKS means volume. (It's a long story; This is a legacy problem that goes back 30+ years) For more info, please read the descriptions of each keyword in the PowerLanguage Keyword Reference: https://www.multicharts.com/trading-software/index.php...
- 22 Nov 2021
- Forum: MultiCharts
- Topic: Fixed step trailing
- Replies: 2
- Views: 599
- 22 Nov 2021
- Forum: MultiCharts
- Topic: Fixed step trailing
- Replies: 2
- Views: 599
Re: Fixed step trailing
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- 18 Nov 2021
- Forum: MultiCharts
- Topic: stop loss order cannot be executed
- Replies: 2
- Views: 572
Re: stop loss order cannot be executed
If this is a coding question, you will need to post your codes.
ps. stoploss works intra-bar regardless whether IOG is used.
ps. stoploss works intra-bar regardless whether IOG is used.
- 17 Nov 2021
- Forum: MultiCharts
- Topic: current price and intraday order?
- Replies: 1
- Views: 484
- 16 Nov 2021
- Forum: MultiCharts
- Topic: ascii mapping but no data.
- Replies: 2
- Views: 582
Re: ascii mapping but no data.
You can use LiveChat to connect to the techsupport, so that they can examin your files.
- 28 Oct 2021
- Forum: MultiCharts
- Topic: Chart time
- Replies: 1
- Views: 542
- 26 Oct 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 3755
Re: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
. . . I know that Multicharts can only treat the data received by the data providers but we are talking of such a tremendous difference that I can’t understand that such an issue hasn’t been addressed in some way. This baffling me that you are developing such a fantastic software leaving that aside...
- 25 Oct 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 1384
Re: Optimization Max Core Usage
Hi TJ, First of all, I just want to say thanks. There have been so many other posts that I have found your responses to be super helpful over the years, and you are probably one of the most common names that I recognize on here. So thanks for all you provide to this community! It is amazing! . . . ...
- 25 Oct 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 1384
Re: Optimization Max Core Usage
See post #13
[FAQ] Backtesting vs Optimization CPU Usage -- Single Core vs Multi-Core vs Hyperthread
viewtopic.php?t=10811
[FAQ] Backtesting vs Optimization CPU Usage -- Single Core vs Multi-Core vs Hyperthread
viewtopic.php?t=10811
- 25 Oct 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 1384
Re: Optimization Max Core Usage
Virtual cores are not real money. It is like having 20-x$1 dollar bills. It takes longer to count. The key is the real core size. In an optimization, you want brute force, you want horsepower, real horsepower, not fake horses. Using virtual cores will add a layer of housekeeping by the OS and the CPU.
- 24 Oct 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 1384
Re: Optimization Max Core Usage
Which worth more money? a $20 bill? or 20x$1 dollar bill?
Which one takes longer to count?
Which one takes longer to count?
- 13 Oct 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 3755
Re: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
Thanks for your answer TJ. Thanks for your answer Kate as well. But sincerely I can’t understand at all that such an important issue hasn’t been addressed yet. If the problem comes from LMax then, you, Multicharts as a professional company you should inform and protect your customers displaying a h...
- 13 Oct 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 3755
Re: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
most of the data feed only provide "Aggregated" ticks.
- 07 Oct 2021
- Forum: MultiCharts
- Topic: Stoploss at Specific Dollar Amount
- Replies: 6
- Views: 1141
Re: Stoploss at Specific Dollar Amount
Thank you for the reply. But a stop order is not an alternative for a stoploss, because it expires after one bar, correct? On a 15 minute chart what good does it do to try to use a stop order as a stoploss if it expires after 15 minutes if the specified price isn't hit during that bar? After that b...
- 06 Oct 2021
- Forum: MultiCharts
- Topic: Fast way to convert strategy to data2 incoming data source
- Replies: 4
- Views: 850
Re: Fast way to convert strategy to data2 incoming data source
I don't trade CL. I haven't traded CL since 1980s. I afraid I don't have much experience or knowledge of the current market rhythm.
- 05 Oct 2021
- Forum: MultiCharts
- Topic: Fast way to convert strategy to data2 incoming data source
- Replies: 4
- Views: 850
Re: Fast way to convert strategy to data2 incoming data source
CL is a different animal. For most of the instruments, you simply roll one contract into another. For CL, there are contracts for every month, but not all the months are actively traded by most traders. People skip certain months when they roll over. You can check the volume to see which is the acti...
- 24 Sep 2021
- Forum: MultiCharts
- Topic: Strategy problem
- Replies: 3
- Views: 753
Re: Strategy problem
If this is a coding question, you will need to post your codes.
- 23 Sep 2021
- Forum: MultiCharts
- Topic: Strategy problem
- Replies: 3
- Views: 753
Re: Strategy problem
How did you do your testin?
Back test? or Forward test? Real time Papertrading account?
Back test? or Forward test? Real time Papertrading account?
- 09 Sep 2021
- Forum: MultiCharts
- Topic: TV as Monitor?
- Replies: 3
- Views: 1504
TV as Monitor?
Anyone using TV as monitor?
Any tips?
I am not using it on my desk. I am planning to mount it on the wall where I can glance at a distance.
What size a TV are you using?
What kind of resolution?
Any thing to watch out for?
Any tips?
I am not using it on my desk. I am planning to mount it on the wall where I can glance at a distance.
What size a TV are you using?
What kind of resolution?
Any thing to watch out for?
- 07 Sep 2021
- Forum: MultiCharts
- Topic: Detect If Backtest Or AutoTrading [SOLVED]
- Replies: 2
- Views: 741
Re: Detect If Backtest Or AutoTrading [SOLVED]
Go to Wiki
7 PowerLanguage Keyword Reference
under
Environment Information (16 P)
Look up
GetAppInfo
7 PowerLanguage Keyword Reference
under
Environment Information (16 P)
Look up
GetAppInfo
- 02 Sep 2021
- Forum: MultiCharts
- Topic: Proper Exit Strategy Code For Each Entry Name
- Replies: 4
- Views: 871
- 01 Sep 2021
- Forum: MultiCharts
- Topic: plot yesterdays close [SOLVED]
- Replies: 7
- Views: 1582
Re: plot yesterdays close [SOLVED]
Try this
Code: Select all
Var: close1(0);
if d>d[1] then Close1 = Close[1];
Plot10( Close1, "Close1");
- 01 Sep 2021
- Forum: MultiCharts
- Topic: plot yesterdays close [SOLVED]
- Replies: 7
- Views: 1582
Re: plot yesterdays close [SOLVED]
How do you want to plot yesterday's close line?
Where do you want to plot yesterday's close line?
Please draw a mock up diagram with notes indicating the specifics.
Where do you want to plot yesterday's close line?
Please draw a mock up diagram with notes indicating the specifics.
- 26 Aug 2021
- Forum: MultiCharts
- Topic: Modeling Limit order fills in an indicator [SOLVED]
- Replies: 6
- Views: 1166
Re: Modeling Limit order fills in an indicator [SOLVED]
I am glad you've got it working.
Thanks for the update.
Thanks for the update.
- 25 Aug 2021
- Forum: MultiCharts
- Topic: Modeling Limit order fills in an indicator [SOLVED]
- Replies: 6
- Views: 1166
Re: Modeling Limit order fills in an indicator [SOLVED]
. . . So if i wanted to simulate a limit order fill in an indicator I could calculate my entire signal on OHLCV[1] and see if the current bar fills it? would this be correct? for some context I am trying to track the PnL of a signal that I am not trading for observation purposes. I don't understand...
- 25 Aug 2021
- Forum: MultiCharts
- Topic: Modeling Limit order fills in an indicator [SOLVED]
- Replies: 6
- Views: 1166
Re: Modeling Limit order fills in an indicator [SOLVED]
I am not sure if I understand what you are getting at. Allow me to explain the process. [IntrabarOrderGeneration=false] At the end of the bar (EOB), MultiCharts will calculate your trading logic, if your trading criteria is met, your order will be sent. (ie next tick will be the opening tick of next...
- 19 Aug 2021
- Forum: MultiCharts
- Topic: work space wsp.
- Replies: 7
- Views: 1274
Re: work space wsp.
When I make changes to my wsp, I always make back up copies.
- 19 Aug 2021
- Forum: MultiCharts
- Topic: work space wsp.
- Replies: 7
- Views: 1274
Re: work space wsp.
You should use LiveChat to connect to techsupport.
They can review you file and tell you what happened.
They can review you file and tell you what happened.
- 02 Aug 2021
- Forum: MultiCharts
- Topic: Multicharts Not sending orders to IB for Futures [SOLVED]
- Replies: 7
- Views: 1485
Re: Multicharts Not sending orders to IB for Futures [SOLVED]
Call IB. This is a problem between you and IB.
Your MultiCharts program does not know the difference between a future contract and a stock order.
Your MultiCharts program does not know the difference between a future contract and a stock order.
- 31 Jul 2021
- Forum: User Contributed Studies and Indicator Library
- Topic: Converting 1 minute bar scripts to 1 second bar scripts
- Replies: 3
- Views: 1346
Re: Converting 1 minute bar scripts to 1 second bar scripts
if CurrentBar = 1 then begin You can also use the keyword ONCE . It might save some processing cycles. Because MultiCharts will re-evaluate the IF statement at every new tick to see if it meets the criteria. While the ONCE statement is only evaluated once when you load the indicator into the chart....
- 23 Jul 2021
- Forum: MultiCharts
- Topic: High utilisation of computer resources, while working with Binance.
- Replies: 8
- Views: 6405
Re: High utilisation of computer resources, while working with Binance.
A software can only calculate as fast as the CPU clock cycle A CPU can only process as fast as the internal bus can transfer The internal bus can only transfer as fast as the memory can read and write The memory can only take whatever the internet buffer can handle It is a cycle of a cycle, there is...
- 10 Jul 2021
- Forum: MultiCharts
- Topic: OpenEntryPrice
- Replies: 3
- Views: 778
Re: OpenEntryPrice
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- 08 Jul 2021
- Forum: MultiCharts
- Topic: Historic Data for MC
- Replies: 4
- Views: 1042
Re: Historic Data for MC
All exchanges have data services. You can either buy direct, or through their agents.
- 04 Jul 2021
- Forum: MultiCharts
- Topic: Custom future contract, expect a notification when roll?
- Replies: 9
- Views: 1573
Re: Custom future contract, expect a notification when roll?
Please indicate your version and build number.
- 30 Jun 2021
- Forum: MultiCharts
- Topic: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
- Replies: 7
- Views: 1616
Re: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
I have already tested for real time trade but failed. If do simple subtraction, it may have logical issue. For example, 135900 - 135859, the subtraction result is 41 second, but actually it is only 1 second. if currenttime_s - settle_s >5 then . . . Right, I forgotten about the 1/60 part. Please ch...
- 30 Jun 2021
- Forum: MultiCharts
- Topic: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
- Replies: 7
- Views: 1616
Re: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
You do not need the convoluted codes.
All you need is a simple subtraction:
Without seeing the whole code, this is the best I can suggest.
All you need is a simple subtraction:
Code: Select all
if currenttime_s - settle_s >5 then . . .
- 30 Jun 2021
- Forum: MultiCharts
- Topic: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
- Replies: 7
- Views: 1616
Re: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
Please note: CurrentTime_s does not work in back test. It is for real time trade only.
- 30 Jun 2021
- Forum: MultiCharts
- Topic: Best practice for Bid/Ask auto trading. [SOLVED]
- Replies: 4
- Views: 1484
Re: Best practice for Bid/Ask auto trading. [SOLVED]
There are many ways to achieve what you want to do . . .
You don't have to have data2.
You can try IOG IntraBarOrderGeneration.
You don't have to have data2.
You can try IOG IntraBarOrderGeneration.
- 28 Jun 2021
- Forum: MultiCharts
- Topic: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
- Replies: 7
- Views: 1616
Re: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
Instead of Time_s
try CurrentTime_s
ps. Please check wiki for the CurrentTime_s format.
try CurrentTime_s
ps. Please check wiki for the CurrentTime_s format.
- 26 Jun 2021
- Forum: MultiCharts
- Topic: Create file with date format as file name [SOLVED]
- Replies: 1
- Views: 696
Re: Create file with date format as file name [SOLVED]
Please go to the Wiki
8 PowerLanguage Keyword Reference
Date and Time Routines (55 P)
look up FormatDate
There are usage syntax examples
8 PowerLanguage Keyword Reference
Date and Time Routines (55 P)
look up FormatDate
There are usage syntax examples
- 21 Jun 2021
- Forum: MultiCharts
- Topic: GetAppInfo(aioptimizing) doesn't work?
- Replies: 7
- Views: 1297
Re: GetAppInfo(aioptimizing) doesn't work?
Correct. That's my intention. This is a print log function. I only want to do it while NOT in optimization. Quote: "aiOptimizing — returns a value of 1 if the calling application is currently performing an optimization, and a value of 0 in all other cases." https://www.multicharts.com/trading-softw...
- 21 Jun 2021
- Forum: MultiCharts
- Topic: GetAppInfo(aioptimizing) doesn't work?
- Replies: 7
- Views: 1297
Re: GetAppInfo(aioptimizing) doesn't work?
Hi TJ, Thanks for the reply. I see that all codes within the first begin/end, including the two "GVGetName" should not be executed during optimization (when GetAppInfo(aioptimizing) = 0). Sorry, I don't know what you are trying to point out. Your codes says if GetAppInfo(aioptimizing) = 0 then do i...
- 20 Jun 2021
- Forum: MultiCharts
- Topic: GetAppInfo(aioptimizing) doesn't work?
- Replies: 7
- Views: 1297
Re: GetAppInfo(aioptimizing) doesn't work?
I have formated your code for easy reading. You should indent the BEGIN to match the END, so that you can see which loop is operating. What do you see? Inputs: level(Numeric), s(string); Var: errorCode(0), printDir(0), content(""); if GetAppInfo(aioptimizing) = 0 then begin {B1} // GVGet 1 printDir ...
- 18 Jun 2021
- Forum: MultiCharts
- Topic: Free quotes stopped working May 17th?
- Replies: 12
- Views: 3211
Re: Free quotes stopped working May 17th?
I would not even attempt to install the trial on the same PC. I would either use another PC or use VMWare and download the latest Windows 10 development environment from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ I have already used the latter approach for previous ve...
- 13 Jun 2021
- Forum: MultiCharts
- Topic: intrabarpersist var doesn’t work in real time trade [SOLVED]
- Replies: 8
- Views: 1656
Re: intrabarpersist var doesn’t work in real time trade [SOLVED]
Try this:
Code: Select all
var: mp(0);
if mp > 0 and marketposition=0 then
begin
// reset variable
end;
if marketposition>mp then mp = marketposition;
- 11 Jun 2021
- Forum: MultiCharts
- Topic: intrabarpersist var doesn’t work in real time trade [SOLVED]
- Replies: 8
- Views: 1656
Re: intrabarpersist var doesn’t work in real time trade [SOLVED]
Why are you using intrabarpersist ?
- 11 Jun 2021
- Forum: MultiCharts
- Topic: Price reach limit order, but cannot close position [SOLVED]
- Replies: 6
- Views: 1342
Re: Price reach limit order, but cannot close position [SOLVED]
You an use any time frame; it does not matter.
As soon as the market reached X ticks of your price, you can start a counter.
I would suggest you to engage a professional programmer to help you with your project.
As soon as the market reached X ticks of your price, you can start a counter.
I would suggest you to engage a professional programmer to help you with your project.
- 09 Jun 2021
- Forum: MultiCharts
- Topic: Disappearing Text
- Replies: 10
- Views: 4284
Re: Disappearing Text
If you need help with a coding problem, please post your codes.
- 07 Jun 2021
- Forum: MultiCharts
- Topic: Price reach limit order, but cannot close position [SOLVED]
- Replies: 6
- Views: 1342
Re: Price reach limit order, but cannot close position [SOLVED]
You have a situation. You have to describe WHAT or HOW do you want to handle this situation. There are millions of different ways . . . unless you can pinpoint a specific action, no one can help you. Let me give you an example: 1. if the market came within X ticks of your price (say 2 ticks), start ...
- 05 Jun 2021
- Forum: MultiCharts
- Topic: VPS/Cloud recommendations
- Replies: 7
- Views: 1959
Re: VPS/Cloud recommendations
The link is fixed. Please try again.Tammy, your link is not working. Can you check and resend?
- 17 May 2021
- Forum: MultiCharts
- Topic: Options trading in MC?
- Replies: 1
- Views: 998
Re: Options trading in MC?
It's not worth the trouble.
If you want to do well in options, you need an options software that has options data feed.
Analysing options data is a 3 dimensional endeavor.
If you want to do well in options, you need an options software that has options data feed.
Analysing options data is a 3 dimensional endeavor.
- 04 May 2021
- Forum: MultiCharts
- Topic: Reducing the usage computer resources
- Replies: 10
- Views: 1657
Re: Reducing the usage computer resources
You can use LiveChat with techsupport. They can give you help.
- 04 May 2021
- Forum: MultiCharts
- Topic: Reducing the usage computer resources
- Replies: 10
- Views: 1657
Re: Reducing the usage computer resources
Your memory is at the limit.
Probably some process crashed. You need to reboot.
Probably some process crashed. You need to reboot.
- 30 Apr 2021
- Forum: MultiCharts
- Topic: Multicharts + IB a bar late or a glitch?
- Replies: 3
- Views: 885
Re: Multicharts + IB a bar late or a glitch?
MultiCharts uses EOB (End of Bar) timing.
Most charting software use EOB timing.
Most charting software use EOB timing.