This is a coding issue.
Please post your codes.
Search found 7775 matches
- Sep 08 2024
- Forum: MultiCharts
- Topic: Auto trading in replay - positions don't reverse
- Replies: 5
- Views: 388
- Aug 28 2024
- Forum: MultiCharts
- Topic: how update file txt
- Replies: 16
- Views: 2784
Re: how update file txt
File print is a Windows operation. I doubt MC can do much about it.
- Aug 28 2024
- Forum: MultiCharts
- Topic: Trading Day of the onth
- Replies: 6
- Views: 1298
Re: Trading Day of the onth
What you need is a counter to count the number of days since the beginning of the month. The idea is like this: Var: tradingday(0); // counter If MONTH > MONTH[1] then // a new month has begun tradingday = 0; // reset the counter IF DATE > DATE[1] then tradingday = tradingday + 1; // increment the c...
- Aug 28 2024
- Forum: MultiCharts
- Topic: Trading Day of the onth
- Replies: 6
- Views: 1298
Re: Trading Day of the onth
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Aug 27 2024
- Forum: MultiCharts
- Topic: Trading Day of the onth
- Replies: 6
- Views: 1298
- Aug 27 2024
- Forum: MultiCharts
- Topic: Trading Day of the onth
- Replies: 6
- Views: 1298
Re: Trading Day of the onth
You have to be more specific with your question. ie give a real-life scenario.
There are millions of permutations based on your description, and many ways to tackle the problem depending on the situation.
There are millions of permutations based on your description, and many ways to tackle the problem depending on the situation.
- Aug 06 2024
- Forum: MultiCharts
- Topic: Missing data2 error
- Replies: 9
- Views: 3065
Re: Missing data2 error
OK, I got your question now.
You want to use an indicator written for 2 data streams and apply it to a single data stream.
No, that will generate an error message.
You want to use an indicator written for 2 data streams and apply it to a single data stream.
No, that will generate an error message.
- Jul 31 2024
- Forum: MultiCharts
- Topic: Retrieving Data from an Indicator
- Replies: 1
- Views: 2254
Re: Retrieving Data from an Indicator
I am not quite sure what you are asking.
- Jul 29 2024
- Forum: MultiCharts
- Topic: Missing data2 error
- Replies: 9
- Views: 3065
- Jul 28 2024
- Forum: MultiCharts
- Topic: Missing data2 error
- Replies: 9
- Views: 3065
Re: Missing data2 error
Please post your code.
- Jul 26 2024
- Forum: MultiCharts
- Topic: Missing data2 error
- Replies: 9
- Views: 3065
Re: Missing data2 error
Please change AverageFC to regular Average.
Please do not use AverageFC in the future.
AverageFC is a function, not a keyword. It was designed in the early days when CPU computing power was low and this is a shortcut to make calculations faster. It is a shortcut, ie it has limitations.
Please do not use AverageFC in the future.
AverageFC is a function, not a keyword. It was designed in the early days when CPU computing power was low and this is a shortcut to make calculations faster. It is a shortcut, ie it has limitations.
- Jul 26 2024
- Forum: MultiCharts
- Topic: Asking Guidance on MultiChart Optimisation for High-Frequency Trading Techniques
- Replies: 1
- Views: 1934
Re: Asking Guidance on MultiChart Optimisation for High-Frequency Trading Techniques
HFT is not an amateur game.
GIGO, have you tested your hops?
GIGO, have you tested your hops?
- Jul 18 2024
- Forum: MultiCharts
- Topic: Intersection of moving averages
- Replies: 1
- Views: 1271
Re: Intersection of moving averages
You can start here:
viewtopic.php?t=6929
viewtopic.php?t=6929
- Jul 10 2024
- Forum: MultiCharts
- Topic: how to set protfit target and stop lose based on percentage
- Replies: 1
- Views: 1250
- Jul 10 2024
- Forum: MultiCharts
- Topic: Paint Bar Study for Multicharts
- Replies: 1
- Views: 1235
- Jul 06 2024
- Forum: MultiCharts
- Topic: Comparing instrument data within strategy
- Replies: 2
- Views: 1331
Re: Comparing instrument data within strategy
You will need 2 data streams on the chart.
Data1 is always the trading instrument.
You can use Data2 for your SPY ATR.
This is a start.
Look for multi-data analysis in your search.
The FAQ is a good resource.
Data1 is always the trading instrument.
You can use Data2 for your SPY ATR.
This is a start.
Look for multi-data analysis in your search.
The FAQ is a good resource.
- Jun 26 2024
- Forum: MultiCharts
- Topic: 2 Data Series not working [SOLVED]
- Replies: 6
- Views: 3105
- Jun 26 2024
- Forum: MultiCharts
- Topic: Invalid trade route
- Replies: 6
- Views: 2505
Re: Invalid trade route
You should make a screenshot of the error message and post it with your question.
- Jun 26 2024
- Forum: MultiCharts
- Topic: 2 Data Series not working [SOLVED]
- Replies: 6
- Views: 3105
Re: 2 Data Series not working [SOLVED]
See posts #1&2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Jun 26 2024
- Forum: MultiCharts
- Topic: 2 Data Series not working [SOLVED]
- Replies: 6
- Views: 3105
- Jun 21 2024
- Forum: MultiCharts
- Topic: Need MC code snipit: Hide/Delete 1000/100 place in price [SOLVED]
- Replies: 3
- Views: 2575
Re: Need MC code snipit: Hide/Delete 1000/100 place in price [SOLVED]
Try this:
Code: Select all
FracPortion( Close/100 ) * 100 ;
- Jun 19 2024
- Forum: MultiCharts
- Topic: Parentheses [SOLVED]
- Replies: 1
- Views: 2241
- Jun 17 2024
- Forum: MultiCharts
- Topic: Signal Format
- Replies: 5
- Views: 1233
Re: Signal Format
If this is a coding question, you have to post the codes.
- Jun 13 2024
- Forum: MultiCharts
- Topic: Saving Current Bar
- Replies: 8
- Views: 1941
Re: Saving Current Bar
I am not sure.
You can give that a try.
You can give that a try.
- Jun 12 2024
- Forum: MultiCharts
- Topic: Saving Current Bar
- Replies: 8
- Views: 1941
Re: Saving Current Bar
BarNumber is a function BarNumber (Function) The BarNumber series function assigns a reference number to each bar after MaxBarsBack is satisfied. Syntax BarNumber Returns (Integer) A positive numeric reference value for each bar on the chart. Parameters None Remarks MaxBarsBack is the minimum numbe...
- Jun 12 2024
- Forum: MultiCharts
- Topic: Plot a dot above/below a bar. [SOLVED]
- Replies: 3
- Views: 2644
Re: Plot a dot above/below a bar. [SOLVED]
The setting is applied to the chart as it is drawn on the screen.
- Jun 12 2024
- Forum: MultiCharts
- Topic: Plot a dot above/below a bar. [SOLVED]
- Replies: 3
- Views: 2644
Re: Plot a dot above/below a bar. [SOLVED]
First, you need to decide the "Offset" -- the distance between the H and the dot.
Try this:
ps. This is a start; I have not verified the code.
Try this:
Code: Select all
var: offset(1);
if H > H[1] then
PLOT1 ( H + offset, "NewHigh") // set plot type to POINT
ELSE
Noplot(1);
ps. This is a start; I have not verified the code.
- Jun 12 2024
- Forum: MultiCharts
- Topic: Saving Current Bar
- Replies: 8
- Views: 1941
Re: Saving Current Bar
If there is a will, there is a way.
You need to articulate your idea with step-by-step descriptions, flowcharts, diagrams, examples and mock-up illustrations.
You need to articulate your idea with step-by-step descriptions, flowcharts, diagrams, examples and mock-up illustrations.
- Jun 10 2024
- Forum: MultiCharts
- Topic: Renko ATR
- Replies: 1
- Views: 967
Re: Renko ATR
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Jun 05 2024
- Forum: MultiCharts
- Topic: MC moves auto-attached SLs beyond market after add to position, gets filled immediately
- Replies: 11
- Views: 3528
Re: MC moves auto-attached SLs beyond market after add to position, gets filled immediately
Is this a coding problem? or a logic problem?
- May 18 2024
- Forum: MultiCharts
- Topic: AWS EC2 Instance Types for automated Trading
- Replies: 1
- Views: 950
Re: AWS EC2 Instance Types for automated Trading
If you search the forum for AWS, you will find a few past discussions.
- May 10 2024
- Forum: MultiCharts
- Topic: Swing/Pivot Points
- Replies: 9
- Views: 2253
Re: Swing/Pivot Points
First, you have to define what is a swing/pivot?
Do you have an indicator calculating the swing/pivot?
If you do, then it is a matter of creating a variable to store the high/lows so that you can recall them later.
Do you have an indicator calculating the swing/pivot?
If you do, then it is a matter of creating a variable to store the high/lows so that you can recall them later.
- Apr 22 2024
- Forum: MultiCharts
- Topic: Code issues [SOLVED]
- Replies: 9
- Views: 2990
Re: Code issues [SOLVED]
You should post a screen shot of the error message.
- Apr 13 2024
- Forum: MultiCharts
- Topic: Strategy not producing same values as indicators putting out .
- Replies: 9
- Views: 1727
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).
- Apr 09 2024
- Forum: MultiCharts
- Topic: Orders Partial Take Profit
- Replies: 4
- Views: 1114
Re: Orders Partial Take Profit
See Posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Mar 26 2024
- Forum: MultiCharts
- Topic: Counting Bars on Chart
- Replies: 3
- Views: 1012
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...
- Mar 14 2024
- Forum: MultiCharts
- Topic: Alert -- If Realtime Data is Disconnected between time
- Replies: 3
- Views: 1109
Re: Alert -- If Realtime Data is Disconnected between time
Why are you using intrabarpersist ?
- Feb 25 2024
- Forum: MultiCharts
- Topic: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
- Replies: 4
- Views: 1400
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.
- Feb 25 2024
- Forum: MultiCharts
- Topic: Is it possible to access indicator values across chart windows and workspaces in MC (PowerLanguage version)
- Replies: 4
- Views: 1400
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.
- Feb 17 2024
- Forum: MultiCharts
- Topic: PC Autotrading
- Replies: 4
- Views: 1192
Re: PC Autotrading
What fell asleep?
Your computer?
or the IB account timed out?
Your computer?
or the IB account timed out?
- Jan 25 2024
- Forum: MultiCharts
- Topic: Adding money management to my script
- Replies: 2
- Views: 1089
Re: Adding money management to my script
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Jan 24 2024
- Forum: MultiCharts
- Topic: News and events indicator that controls Signals?
- Replies: 2
- Views: 1145
- Jan 19 2024
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 13
- Views: 3822
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.
- Jan 18 2024
- Forum: MultiCharts
- Topic: Use python to compile C++ DLL that is usable by Multicharts
- Replies: 18
- Views: 4862
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
- Jan 13 2024
- Forum: MultiCharts
- Topic: How to modify CloseW into XAverageCloseW ?
- Replies: 2
- Views: 1009
- Jan 08 2024
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 13
- Views: 3822
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
- Dec 25 2023
- Forum: MultiCharts
- Topic: Data loading speed improvement
- Replies: 11
- Views: 4190
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.
- Dec 24 2023
- Forum: MultiCharts
- Topic: MA Extension
- Replies: 2
- Views: 951
Re: MA Extension
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Dec 24 2023
- Forum: MultiCharts
- Topic: Array Error
- Replies: 1
- Views: 873
Re: Array Error
This is a coding question.
- Dec 13 2023
- Forum: MultiCharts
- Topic: signal arrows above each bar as long as the condition is true [SOLVED]
- Replies: 2
- Views: 1989
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.
- Dec 12 2023
- Forum: MultiCharts
- Topic: help with vert TrendLine/Timeline coding question [SOLVED]
- Replies: 4
- Views: 2669
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...
- Dec 11 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 2997
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.
- Dec 10 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 2997
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; Se...
- Dec 10 2023
- Forum: MultiCharts
- Topic: SetStopLoss [SOLVED]
- Replies: 5
- Views: 2997
Re: SetStopLoss [SOLVED]
This is a coding question. You need to post your codes.
- Dec 09 2023
- Forum: MultiCharts
- Topic: Convert Stop oders into Stop limit oders
- Replies: 1
- Views: 905
Re: Convert Stop oders into Stop limit oders
See Posts#1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Dec 04 2023
- Forum: MultiCharts
- Topic: help with vert TrendLine/Timeline coding question [SOLVED]
- Replies: 4
- Views: 2669
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.
- Dec 04 2023
- Forum: MultiCharts
- Topic: renko chart ma cross not matching up [SOLVED]
- Replies: 2
- Views: 2316
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
- Dec 04 2023
- Forum: MultiCharts
- Topic: multicharts/powerlanguage tutor?
- Replies: 1
- Views: 1018
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
- Nov 23 2023
- Forum: MultiCharts
- Topic: New Bar appearing as a dot [SOLVED]
- Replies: 2
- Views: 2013
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.
- Nov 13 2023
- Forum: MultiCharts
- Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
- Replies: 4
- Views: 2858
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.
- Nov 06 2023
- Forum: MultiCharts
- Topic: How to add to an open position
- Replies: 8
- Views: 2430
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 = ...
- Oct 26 2023
- Forum: MultiCharts
- Topic: Coding Gap down strategy
- Replies: 1
- Views: 1047
Re: Coding Gap down strategy
See posts #1 & #2
viewforum.php?f=16
viewforum.php?f=16
- Oct 24 2023
- Forum: MultiCharts
- Topic: Multiple Positions + Multiple exit targets [SOLVED]
- Replies: 2
- Views: 2590
- Oct 20 2023
- Forum: MultiCharts
- Topic: 2 set of strategies for Profit target
- Replies: 1
- Views: 959
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.
- Oct 20 2023
- Forum: MultiCharts
- Topic: Multiple Positions + Multiple exit targets [SOLVED]
- Replies: 2
- Views: 2590
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.
- Oct 19 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 3271
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
- Oct 17 2023
- Forum: MultiCharts
- Topic: HIGH CPU LOAD
- Replies: 4
- Views: 1393
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.
- Oct 16 2023
- Forum: MultiCharts
- Topic: VWAP Bands Problem with Exception Floating-point division by zero
- Replies: 11
- Views: 2328
- Oct 11 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 2983
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...
- Oct 11 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 2983
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?
- Oct 11 2023
- Forum: MultiCharts
- Topic: When the profit target is reached, I would like auto-trading automatically stop [SOLVED]
- Replies: 5
- Views: 2983
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;
- Oct 10 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 3271
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.
- Oct 09 2023
- Forum: MultiCharts
- Topic: LINE GRAPH BUT BASED ON HIGH/LOW INSTEAD OF CLOSE [SOLVED]
- Replies: 7
- Views: 3271
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 );
- Oct 05 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 1716
Re: Buy Next Bar at Price Limit
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- Oct 04 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 1716
- Oct 04 2023
- Forum: MultiCharts
- Topic: Buy Next Bar at Price Limit
- Replies: 4
- Views: 1716
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 . . .
- Sep 18 2023
- Forum: MultiCharts
- Topic: Signal did not calculate all available price data
- Replies: 2
- Views: 1262
- Sep 18 2023
- Forum: MultiCharts
- Topic: Array, variable or refinput expected [SOLVED]
- Replies: 2
- Views: 2288
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);
- Sep 18 2023
- Forum: MultiCharts
- Topic: SessionLastBar in live trading [SOLVED]
- Replies: 7
- Views: 3402
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...
- Sep 17 2023
- Forum: MultiCharts
- Topic: Can the ColorRGB Function be used in Functions? [SOLVED]
- Replies: 2
- Views: 2285
- Sep 17 2023
- Forum: MultiCharts
- Topic: SessionLastBar in live trading [SOLVED]
- Replies: 7
- Views: 3402
- Sep 16 2023
- Forum: MultiCharts
- Topic: Is there is shortcut key to make the cursor go to the begining of the code? [SOLVED]
- Replies: 2
- Views: 2143
- Sep 04 2023
- Forum: MultiCharts
- Topic: DCA or multiples orders and exit
- Replies: 1
- Views: 923
Re: DCA or multiples orders and exit
You can start here:
viewtopic.php?t=10811
viewtopic.php?t=10811
- Aug 21 2023
- Forum: MultiCharts
- Topic: Condition Countif [SOLVED]
- Replies: 1
- Views: 2015
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;
- Aug 01 2023
- Forum: MultiCharts
- Topic: Find top X S&P500 companies
- Replies: 4
- Views: 1290
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?
- Jul 04 2023
- Forum: MultiCharts
- Topic: send text message telegram channel
- Replies: 13
- Views: 3822
Re: send text message telegram channel
MultiCharts can send email.
Can your Telegram accept email?
Can your Telegram accept email?
- Jun 29 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 2265
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.
- Jun 24 2023
- Forum: MultiCharts
- Topic: faulty backtest results when dataindex is used
- Replies: 12
- Views: 2265
- May 24 2023
- Forum: MultiCharts
- Topic: Help with a study - StopLoss
- Replies: 5
- Views: 1512
- May 18 2023
- Forum: MultiCharts
- Topic: Limit Orders
- Replies: 2
- Views: 1167
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
- May 03 2023
- Forum: MultiCharts
- Topic: Precise backtesting on Renko charts
- Replies: 5
- Views: 1816
Re: Precise backtesting on Renko charts
This is a trial and tribulation every backtester must go through.
- Apr 19 2023
- Forum: MultiCharts
- Topic: Adaptive Candlestick Pattern Recognition System convert to Powerlanguage
- Replies: 2
- Views: 1176
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.
- Apr 11 2023
- Forum: MultiCharts
- Topic: what does this mean? restart computer and restart mc, still got error
- Replies: 3
- Views: 1478
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?
- Apr 09 2023
- Forum: MultiCharts
- Topic: Signals based on Trade data series and buy and sell based on bid and ask data series
- Replies: 3
- Views: 1471
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
- Apr 09 2023
- Forum: MultiCharts
- Topic: Signals based on Trade data series and buy and sell based on bid and ask data series
- Replies: 3
- Views: 1471
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.
- Apr 07 2023
- Forum: MultiCharts
- Topic: Volume for Data2
- Replies: 2
- Views: 1360
- Apr 07 2023
- Forum: MultiCharts
- Topic: Volume for Data2
- Replies: 2
- Views: 1360
Re: Volume for Data2
See post #5
viewtopic.php?f=16&t=6929
viewtopic.php?f=16&t=6929
- Apr 05 2023
- Forum: MultiCharts
- Topic: "maximum number of bars study will reference"
- Replies: 4
- Views: 1980
Re: "maximum number of bars study will reference"
For most situations, you should set it to Auto.
- Apr 05 2023
- Forum: MultiCharts
- Topic: "maximum number of bars study will reference"
- Replies: 4
- Views: 1980
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 num...
- Mar 28 2023
- Forum: MultiCharts
- Topic: How to code one trade a day or...
- Replies: 9
- Views: 2303
Re: How to code one trade a day or...
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Mar 21 2023
- Forum: MultiCharts
- Topic: How to create a trend reversal chart based on FlexRenko chart?
- Replies: 2
- Views: 1294
- Mar 20 2023
- Forum: MultiCharts
- Topic: lost my strategy
- Replies: 7
- Views: 2270
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?
- Mar 19 2023
- Forum: MultiCharts
- Topic: lost my strategy
- Replies: 7
- Views: 2270
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...
- Mar 17 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 2152
Re: About displaying moving averages
Take your chart and draw on it to show what you want to see.
- Mar 16 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 2152
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.
- Mar 16 2023
- Forum: MultiCharts
- Topic: About intraday highs
- Replies: 2
- Views: 1122
Re: About intraday highs
See post #5
viewtopic.php?t=11713
viewtopic.php?t=11713
- Mar 16 2023
- Forum: MultiCharts
- Topic: About RateofChange Documentation
- Replies: 6
- Views: 1547
Re: About RateofChange Documentation
You can google and download the free ebook
EasyLanguage Functions and Reserved Words
EasyLanguage Functions and Reserved Words
- Mar 16 2023
- Forum: MultiCharts
- Topic: About displaying moving averages
- Replies: 6
- Views: 2152
Re: About displaying moving averages
i don't understand your question
- Mar 04 2023
- Forum: MultiCharts
- Topic: Replicating session closing price on TS & MC
- Replies: 1
- Views: 986
Re: Replicating session closing price on TS & MC
Have you reloaded the data on both programs?
- Feb 24 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 3199
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...
- Feb 23 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 3199
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...
- Feb 23 2023
- Forum: MultiCharts
- Topic: SetStopLoss with highs and lows.
- Replies: 12
- Views: 3199
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.
- Feb 18 2023
- Forum: MultiCharts
- Topic: TV as Monitor?
- Replies: 3
- Views: 2628
- Feb 15 2023
- Forum: MultiCharts
- Topic: Pre-Processing
- Replies: 11
- Views: 2855
Re: Pre-Processing
Buy a faster CPU ?Do you have a suggestion of how to preprocess this Moving average array to speed up optimization?
- Feb 14 2023
- Forum: MultiCharts
- Topic: Pre-Processing
- Replies: 11
- Views: 2855
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.
- Feb 11 2023
- Forum: MultiCharts
- Topic: Problem with Portfolio_OpenPositionProfit
- Replies: 5
- Views: 1665
- Feb 11 2023
- Forum: MultiCharts
- Topic: Line Chart/Graph Based on High or Low and not based on Closed Prices
- Replies: 4
- Views: 1699
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 ...
- Feb 11 2023
- Forum: MultiCharts
- Topic: Line Chart/Graph Based on High or Low and not based on Closed Prices
- Replies: 4
- Views: 1699
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.
- Jan 22 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 3069
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/"
- Jan 22 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 3069
Re: Why is only UP Volume counted in this print statement? [SOLVED]
These might help:
- Jan 22 2023
- Forum: MultiCharts
- Topic: Why is only UP Volume counted in this print statement? [SOLVED]
- Replies: 4
- Views: 3069
- Jan 15 2023
- Forum: MultiCharts
- Topic: Sell signal not working for me [SOLVED]
- Replies: 2
- Views: 2356
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
- Jan 12 2023
- Forum: MultiCharts
- Topic: Adv / Decl Line Indicator
- Replies: 1
- Views: 1055
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.
- Jan 07 2023
- Forum: MultiCharts
- Topic: Advice for new user/ testing out first strategies .
- Replies: 3
- Views: 1702
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
- Jan 07 2023
- Forum: MultiCharts
- Topic: Advice for new user/ testing out first strategies .
- Replies: 3
- Views: 1702
Re: Advice for new user/ testing out first strategies .
The best way to learn coding is to examine the pre-built codes.
- Jan 07 2023
- Forum: MultiCharts
- Topic: Pre-built Signals.
- Replies: 4
- Views: 1537
Re: Pre-built Signals.
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Dec 29 2022
- Forum: MultiCharts
- Topic: Breakout Session Strategy
- Replies: 6
- Views: 2070
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) ...
- Dec 29 2022
- Forum: MultiCharts
- Topic: Breakout Session Strategy
- Replies: 6
- Views: 2070
Re: Breakout Session Strategy
you can use the HighD function.
- Dec 29 2022
- Forum: MultiCharts
- Topic: Saving Modified Signals Confusion
- Replies: 1
- Views: 1012
Re: Saving Modified Signals Confustion
You should use LiveChat to let techsupport look at your computer and see if any setting is amiss.
- Dec 21 2022
- Forum: MultiCharts
- Topic: General question about computational speed
- Replies: 2
- Views: 1184
- Nov 30 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 3414
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...
- Nov 29 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 3414
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...
- Nov 29 2022
- Forum: MultiCharts
- Topic: Help with coding indicator pls [SOLVED]
- Replies: 6
- Views: 3414
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 ...
- Nov 23 2022
- Forum: MultiCharts
- Topic: DOM Quantities are incorrect
- Replies: 9
- Views: 2032
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
- Nov 17 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 2823
Re: Weekly timeframe buy in close bar
Is that a backtest you had on the first post?
- Nov 13 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 2823
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.
- Nov 13 2022
- Forum: MultiCharts
- Topic: smoothed moving average in MS
- Replies: 3
- Views: 1753
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 / ...
- Nov 13 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 2823
- Nov 12 2022
- Forum: MultiCharts
- Topic: smoothed moving average in MS
- Replies: 3
- Views: 1753
Re: smoothed moving average in MS
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Nov 07 2022
- Forum: MultiCharts
- Topic: Weekly timeframe buy in close bar
- Replies: 7
- Views: 2823
- Oct 04 2022
- Forum: MultiCharts
- Topic: Can MultiCharts handle hundreds or thousands of strategies?
- Replies: 22
- Views: 5929
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
- Oct 04 2022
- Forum: MultiCharts
- Topic: Can MultiCharts handle hundreds or thousands of strategies?
- Replies: 22
- Views: 5929
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...
- Sep 26 2022
- Forum: MultiCharts
- Topic: Daily Hi Low Lines
- Replies: 5
- Views: 2216
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
- Sep 26 2022
- Forum: MultiCharts
- Topic: Daily Hi Low Lines
- Replies: 5
- Views: 2216
Re: Daily Hi Low Lines
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Sep 07 2022
- Forum: MultiCharts
- Topic: How to reset studies every x second
- Replies: 2
- Views: 1694
- Sep 01 2022
- Forum: MultiCharts
- Topic: How to calculate the Highest High / Lowest Low for "N' sessions
- Replies: 6
- Views: 2741
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...
- Aug 31 2022
- Forum: MultiCharts
- Topic: How to calculate the Highest High / Lowest Low for "N' sessions
- Replies: 6
- Views: 2741
- Aug 29 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 5129
Re: vertical line on chart [SOLVED]
You can make the line with PLOT1[ -1 ] .
- Aug 29 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 5129
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...
- Aug 27 2022
- Forum: MultiCharts
- Topic: vertical line on chart [SOLVED]
- Replies: 10
- Views: 5129
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.
- Aug 20 2022
- Forum: MultiCharts
- Topic: Clickable Button that toggles a boolean
- Replies: 4
- Views: 1998
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)
- Aug 19 2022
- Forum: MultiCharts
- Topic: Clickable Button that toggles a boolean
- Replies: 4
- Views: 1998
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?
- Aug 14 2022
- Forum: MultiCharts
- Topic: Getting date time of n-th bar before current bar [SOLVED]
- Replies: 3
- Views: 2930
Re: Getting date time of n-th bar before current bar [SOLVED]
You are welcome !
- Aug 14 2022
- Forum: MultiCharts
- Topic: Plot horizontal line at LL or HH x bars back Powerlanguage Study [SOLVED]
- Replies: 2
- Views: 2649
Re: Plot horizontal line at LL or HH x bars back Powerlanguage Study [SOLVED]
The indicator name is
Price Channel
Price Channel
- Aug 13 2022
- Forum: MultiCharts
- Topic: Getting date time of n-th bar before current bar [SOLVED]
- Replies: 3
- Views: 2930
Re: Getting date time of n-th bar before current bar [SOLVED]
KEYWORD [ n-th bar ]
eg
datetime[5]
eg
datetime[5]
- Aug 06 2022
- Forum: MultiCharts
- Topic: Temporary entry level [SOLVED]
- Replies: 3
- Views: 2678
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.
- Jul 21 2022
- Forum: MultiCharts
- Topic: Indicator messing up my charts [SOLVED]
- Replies: 11
- Views: 4579
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
- Jul 19 2022
- Forum: MultiCharts
- Topic: Indicator messing up my charts [SOLVED]
- Replies: 11
- Views: 4579
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.
- Jul 05 2022
- Forum: MultiCharts
- Topic: I ask for help with the script Power Language.
- Replies: 2
- Views: 1574
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.
- Jul 04 2022
- Forum: MultiCharts
- Topic: I ask for help with the script Power Language.
- Replies: 2
- Views: 1574
Re: I ask for help with the script Power Language.
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Jul 01 2022
- Forum: MultiCharts
- Topic: Best practice for Bid/Ask auto trading. [SOLVED]
- Replies: 4
- Views: 3570
- Jun 28 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 3337
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...
- Jun 27 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 3337
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.
- Jun 21 2022
- Forum: MultiCharts
- Topic: Create a line label within a script
- Replies: 1
- Views: 1210
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.
- Jun 20 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 2803
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.
- Jun 20 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 2803
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 ...
- Jun 20 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 2803
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?
- Jun 20 2022
- Forum: MultiCharts
- Topic: Indicator Signal not plotting
- Replies: 6
- Views: 2803
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.
- Jun 10 2022
- Forum: MultiCharts
- Topic: Why do I cann't register my MC12
- Replies: 2
- Views: 1401
- Jun 09 2022
- Forum: MultiCharts
- Topic: Scaling out code
- Replies: 1
- Views: 1176
Re: Scaling out code
Make a counter.
Reset the counter when the new swing begins.
Reset the counter when the new swing begins.
- May 30 2022
- Forum: MultiCharts
- Topic: Problem with the Custom 1 Line indicator
- Replies: 6
- Views: 2098
Re: Problem with the Custom 1 Line indicator
My guess is, that this is a coding error.
- May 19 2022
- Forum: MultiCharts
- Topic: Using SetExitOnClose with Custom Session
- Replies: 5
- Views: 1880
- May 14 2022
- Forum: MultiCharts
- Topic: To signal mixed between Short and long
- Replies: 2
- Views: 1341
- May 14 2022
- Forum: MultiCharts
- Topic: Trading Multiple Strategies on the Same Instrument
- Replies: 5
- Views: 2272
Re: Trading Multiple Strategies on the Same Instrument
Didn't you just ask this question a few days ago? What happened to the thread?
- May 14 2022
- Forum: MultiCharts
- Topic: day open indicator question
- Replies: 2
- Views: 1573
Re: day open indicator question
What is your chart resolution?
What is your session time?
What is your session time?
- May 14 2022
- Forum: MultiCharts
- Topic: day open indicator question
- Replies: 2
- Views: 1573
Re: day open indicator question
See posts #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- May 02 2022
- Forum: MultiCharts
- Topic: OHLC Yesterday + Today Open [SOLVED]
- Replies: 3
- Views: 2938
Re: OHLC Yesterday + Today Open [SOLVED]
You can copy and paste the code here.
- May 02 2022
- Forum: MultiCharts
- Topic: OHLC Yesterday + Today Open [SOLVED]
- Replies: 3
- Views: 2938
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.
- May 02 2022
- Forum: MultiCharts
- Topic: Request: dark theme for MultiCharts!
- Replies: 10
- Views: 4300
Re: Request: dark theme for MultiCharts!
I thought a "Dark mode" is a function of the Windows operating system.
- Apr 18 2022
- Forum: MultiCharts
- Topic: Using EntriesToday / TradeToday on short sessions IE Softs / Agro
- Replies: 2
- Views: 1393
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.
- Apr 17 2022
- Forum: MultiCharts
- Topic: Help converting some EasyLanguage
- Replies: 3
- Views: 1913
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.)
- Apr 16 2022
- Forum: MultiCharts
- Topic: Help converting some EasyLanguage
- Replies: 3
- Views: 1913
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.
- Apr 12 2022
- Forum: MultiCharts
- Topic: How to plot yesterday's 1st session close on today's chart
- Replies: 2
- Views: 1342
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...
- Apr 11 2022
- Forum: MultiCharts
- Topic: plot yesterdays close [SOLVED]
- Replies: 7
- Views: 4241
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 star...
- Apr 04 2022
- Forum: MultiCharts
- Topic: Data1 Data2
- Replies: 6
- Views: 2971
Re: Data1 Data2
Can you explain, in your view, the function and purpose of "intrabarpersist" ?
- Apr 03 2022
- Forum: MultiCharts
- Topic: Better Volume Indicator not showing
- Replies: 2
- Views: 1425
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.
- Mar 22 2022
- Forum: MultiCharts
- Topic: Data1 Data2
- Replies: 6
- Views: 2971
Re: Data1 Data2
See post #5
viewtopic.php?t=6929
viewtopic.php?t=6929
- Mar 15 2022
- Forum: MultiCharts
- Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
- Replies: 4
- Views: 2968
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
- Mar 15 2022
- Forum: MultiCharts
- Topic: Data1 Data2 update
- Replies: 2
- Views: 1412
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?
- Mar 10 2022
- Forum: MultiCharts
- Topic: Kasebar-problem
- Replies: 3
- Views: 1560
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.
- Mar 05 2022
- Forum: MultiCharts
- Topic: Using Global Variable for Strings
- Replies: 2
- Views: 1524
Re: Using Global Variable for Strings
have you read the doc?
- Mar 02 2022
- Forum: MultiCharts
- Topic: RS(vsIndex)
- Replies: 3
- Views: 2296
Re: RS(vsIndex)
See post #8
viewtopic.php?t=11713
viewtopic.php?t=11713
- Mar 02 2022
- Forum: MultiCharts
- Topic: RS(vsIndex)
- Replies: 3
- Views: 2296
Re: RS(vsIndex)
See post #1 & #2
viewtopic.php?t=11713
viewtopic.php?t=11713
- Feb 25 2022
- Forum: MultiCharts
- Topic: Same code and inputs between MultiCharts and TS, different outputs
- Replies: 4
- Views: 1894
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?
- Feb 25 2022
- Forum: MultiCharts
- Topic: Same code and inputs between MultiCharts and TS, different outputs
- Replies: 4
- Views: 1894
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.
- Feb 13 2022
- Forum: MultiCharts
- Topic: Buy Sell Line
- Replies: 5
- Views: 2233
Re: Buy Sell Line
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- Feb 13 2022
- Forum: MultiCharts
- Topic: Buy Sell Line
- Replies: 5
- Views: 2233
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, ...
- Feb 13 2022
- Forum: MultiCharts
- Topic: What/Where are MC`s limits??? [SOLVED]
- Replies: 3
- Views: 2921
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...
- Feb 12 2022
- Forum: MultiCharts
- Topic: Daily bar calculation but intraday order entry [SOLVED]
- Replies: 9
- Views: 6118
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.
- Feb 11 2022
- Forum: MultiCharts
- Topic: Daily bar calculation but intraday order entry [SOLVED]
- Replies: 9
- Views: 6118
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.
- Feb 07 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 6636
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 ...
- Feb 07 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 6636
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.
- Feb 06 2022
- Forum: MultiCharts
- Topic: Calculate the distance in points from close to moving average [SOLVED]
- Replies: 18
- Views: 6636
Re: Calculate the distance in points from close to moving average [SOLVED]
Your PRINT statement is wrong.
- Jan 27 2022
- Forum: MultiCharts
- Topic: Plotting True & False variables in imported indicators
- Replies: 4
- Views: 1967
- Jan 25 2022
- Forum: MultiCharts
- Topic: PL equivalent of [SOLVED]
- Replies: 1
- Views: 2524
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;
- Jan 19 2022
- Forum: MultiCharts
- Topic: Plotting True & False variables in imported indicators
- Replies: 4
- Views: 1967
Re: Plotting True & False variables in imported indicators
If this is a coding question, you have to post your codes.
- Jan 19 2022
- Forum: MultiCharts
- Topic: Help with Missing Bar
- Replies: 4
- Views: 1878
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.
- Jan 18 2022
- Forum: MultiCharts
- Topic: Help with Missing Bar
- Replies: 4
- Views: 1878
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.
- Jan 16 2022
- Forum: MultiCharts
- Topic: PlotPaintBar Compliler Error
- Replies: 2
- Views: 1664
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); Set...
- Jan 15 2022
- Forum: MultiCharts
- Topic: PlotPaintBar Compliler Error
- Replies: 2
- Views: 1664
- Jan 13 2022
- Forum: MultiCharts
- Topic: How to combine ASCII and real time data
- Replies: 1
- Views: 1262
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.
- Jan 12 2022
- Forum: MultiCharts
- Topic: Trouble with getting flat while pyramiding orders
- Replies: 3
- Views: 1598
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.
- Jan 06 2022
- Forum: MultiCharts
- Topic: Loading data for Delta-Chart tries to load too many days
- Replies: 4
- Views: 1723
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.
- Jan 06 2022
- Forum: MultiCharts
- Topic: CQG Chart freeze
- Replies: 4
- Views: 1799
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.
- Jan 05 2022
- Forum: MultiCharts
- Topic: Trendline Indicator Slowing Down MC
- Replies: 2
- Views: 1377
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 ...
- Jan 05 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 3275
Re: MC using IB as datasource
You can use LiveChat to connect to MC techsupport; they can sort it out for you.
- Jan 05 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 3275
Re: MC using IB as datasource
Can you open the IB Trader Workstation and see if you can open the TLSA chart?
- Jan 05 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 2525
- Jan 05 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 2525
Re: Inconsistent back testing for strategy
IOG = Intrabar Order Generation
- Jan 05 2022
- Forum: MultiCharts
- Topic: MC using IB as datasource
- Replies: 5
- Views: 3275
Re: MC using IB as datasource
What symbols have you subscribed in IB ?
- Jan 03 2022
- Forum: MultiCharts
- Topic: DEbug Script
- Replies: 1
- Views: 1294
- Jan 01 2022
- Forum: MultiCharts
- Topic: Inconsistent back testing for strategy
- Replies: 5
- Views: 2525
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 ?
- Dec 22 2021
- Forum: MultiCharts
- Topic: Error creating a function [SOLVED]
- Replies: 2
- Views: 2645
Re: Error creating a function [SOLVED]
What name did you use for this function?
- Dec 19 2021
- Forum: MultiCharts
- Topic: change order of indicators [SOLVED]
- Replies: 9
- Views: 3504
Re: change order of indicators [SOLVED]
Right click on the scale.
- Dec 19 2021
- Forum: MultiCharts
- Topic: Add additional securities to indicator
- Replies: 6
- Views: 1824
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.
- Dec 09 2021
- Forum: MultiCharts
- Topic: How can I prevent this?
- Replies: 8
- Views: 2923
Re: How can I prevent this?
is there any reason you do not want to use IB data?
- Dec 09 2021
- Forum: MultiCharts
- Topic: Profitable week's open [SOLVED]
- Replies: 3
- Views: 2762
Re: Profitable week's open [SOLVED]
What if Monday is a holiday? What would you like to do?
- Nov 24 2021
- Forum: MultiCharts
- Topic: Volume Indicator
- Replies: 3
- Views: 1668
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...
- Nov 22 2021
- Forum: MultiCharts
- Topic: Fixed step trailing
- Replies: 2
- Views: 1647
- Nov 22 2021
- Forum: MultiCharts
- Topic: Fixed step trailing
- Replies: 2
- Views: 1647
Re: Fixed step trailing
See post #6
viewtopic.php?t=11713
viewtopic.php?t=11713
- Nov 18 2021
- Forum: MultiCharts
- Topic: stop loss order cannot be executed
- Replies: 2
- Views: 1313
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.
- Nov 17 2021
- Forum: MultiCharts
- Topic: current price and intraday order?
- Replies: 1
- Views: 1246
- Nov 16 2021
- Forum: MultiCharts
- Topic: ascii mapping but no data.
- Replies: 2
- Views: 1323
Re: ascii mapping but no data.
You can use LiveChat to connect to the techsupport, so that they can examin your files.
- Oct 28 2021
- Forum: MultiCharts
- Topic: Chart time
- Replies: 1
- Views: 1276
- Oct 26 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 5985
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...
- Oct 25 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 3290
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! . . . ...
- Oct 25 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 3290
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
- Oct 25 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 3290
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.
- Oct 24 2021
- Forum: MultiCharts
- Topic: Optimization Max Core Usage
- Replies: 5
- Views: 3290
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?
- Oct 13 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 5985
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...
- Oct 13 2021
- Forum: MultiCharts
- Topic: Issue: great discrepancy between ticks charts from live session vs ticks charts from historical data feed
- Replies: 22
- Views: 5985
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.
- Oct 07 2021
- Forum: MultiCharts
- Topic: Stoploss at Specific Dollar Amount
- Replies: 6
- Views: 2044
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...
- Oct 06 2021
- Forum: MultiCharts
- Topic: Fast way to convert strategy to data2 incoming data source
- Replies: 4
- Views: 1998
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.
- Oct 05 2021
- Forum: MultiCharts
- Topic: Fast way to convert strategy to data2 incoming data source
- Replies: 4
- Views: 1998
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...
- Sep 24 2021
- Forum: MultiCharts
- Topic: Strategy problem
- Replies: 3
- Views: 1840
Re: Strategy problem
If this is a coding question, you will need to post your codes.
- Sep 23 2021
- Forum: MultiCharts
- Topic: Strategy problem
- Replies: 3
- Views: 1840
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?
- Sep 09 2021
- Forum: MultiCharts
- Topic: TV as Monitor?
- Replies: 3
- Views: 2628
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?
- Sep 07 2021
- Forum: MultiCharts
- Topic: Detect If Backtest Or AutoTrading [SOLVED]
- Replies: 2
- Views: 2599
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
- Sep 02 2021
- Forum: MultiCharts
- Topic: Proper Exit Strategy Code For Each Entry Name
- Replies: 4
- Views: 1696
- Sep 01 2021
- Forum: MultiCharts
- Topic: plot yesterdays close [SOLVED]
- Replies: 7
- Views: 4241
Re: plot yesterdays close [SOLVED]
Try this
Code: Select all
Var: close1(0);
if d>d[1] then Close1 = Close[1];
Plot10( Close1, "Close1");