Search found 6634 matches

by TJ
16 Jan 2018
Forum: MultiCharts
Topic: install error [SOLVED]
Replies: 3
Views: 14

Re: install error [SOLVED]

That's good to hear.

Good trading to you.
by TJ
16 Jan 2018
Forum: MultiCharts
Topic: install error [SOLVED]
Replies: 3
Views: 14

Re: install error [SOLVED]

did you run as administrator?
by TJ
15 Jan 2018
Forum: MultiCharts
Topic: Won't connect to IB
Replies: 1
Views: 19

Re: Won't connect to IB

Reboot
by TJ
07 Jan 2018
Forum: MultiCharts
Topic: Wingdings 3 Arrows on Chart [SOLVED]
Replies: 1
Views: 42

Re: Wingdings 3 Arrows on Chart [SOLVED]

I've done some searching, but unable to find what I'm looking for. Is there a way to print arrows next to the bars of a chart, preferably using arrows from the Wingdings 3 keyboard? Double arrows, single arrows, sideways arrows etc. I see there is a feature request for something similar which I jus...
by TJ
06 Jan 2018
Forum: MultiCharts
Topic: Trading on weekends (Sat and Sun)
Replies: 3
Views: 50

Re: Trading on weekends (Sat and Sun)

Maybe you do not have the data?

Try this:

Right Click on your chart
Select "Format Window"
Under the "X-Time Scale" tab
check the box for "Show Empty Periods"
by TJ
06 Jan 2018
Forum: MultiCharts
Topic: Trading on weekends (Sat and Sun)
Replies: 3
Views: 50

Re: Trading on weekends (Sat and Sun)

Take a look at your session template.

Do you have it set to 24/7 ?
by TJ
03 Jan 2018
Forum: MultiCharts
Topic: Automatic OCO order?
Replies: 9
Views: 79

Re: Automatic OCO order?

firemag wrote:
TJ wrote:Where did I say the bar should only be evaluated once at close?
Implied when you said "Orders are sent at EOB (End of Bar)". If that's not what you meant, then misinterpretation.



Please see my first answer to you in the third post.
by TJ
03 Jan 2018
Forum: MultiCharts
Topic: Automatic OCO order?
Replies: 9
Views: 79

Re: Automatic OCO order?

Orders are sent at EOB (End of Bar) unless you have set IOG (IntrabarOrderGeneration=True) IOG is not enabled. However, the only way I can figure a sell-stop entry being put in by MC for 6 contracts after canceling the OCO order is if it re-evaluated the bar. If it did this, then the 6 contracts ma...
by TJ
02 Jan 2018
Forum: MultiCharts
Topic: Automatic OCO order?
Replies: 9
Views: 79

Re: Automatic OCO order?

firemag wrote:
TJ wrote:. . .

So, again... how is it that, after the OCO order was canceled, that MC generated a new sell-stop order for double the contracts?

That's getting under the hood...



SELLSHORT is an entry keyword. It will flatten your position before going short.

SELL is used to exit your positions.
by TJ
02 Jan 2018
Forum: MultiCharts
Topic: Automatic OCO order?
Replies: 9
Views: 79

Re: Automatic OCO order?

The computer is dumb. It will do EXACTLY what you tell it to do. It will continue to do what you tell it to do... until you tell it not to do anymore, or if you don't tell it to do anything. Each instruction is good for ONE bar -- the current bar. The instruction will REPEAT every tick, until the e...
by TJ
02 Jan 2018
Forum: MultiCharts
Topic: Automatic OCO order?
Replies: 9
Views: 79

Re: Automatic OCO order?

. . . The entry code is pretty straightforward: If SignalDay then begin if ( MarketPosition <> 1 ) then Buy next bar at LBreakoutPrice stop; if ( MarketPosition <> -1 ) then Sellshort next bar at SBreakoutPoints stop ; end; After one of the stops is hit, does MC reevaluate the strategy code for the...
by TJ
27 Dec 2017
Forum: MultiCharts
Topic: Signal Input Parameter Change in Real-Time
Replies: 3
Views: 81

Re: Signal Input Parameter Change in Real-Time

If you change the input parameters, the strategy will recalculate.
When it restarts, you can enter your open position in strategy.
by TJ
27 Dec 2017
Forum: MultiCharts
Topic: Help with multidimensional arrays [SOLVED]
Replies: 2
Views: 89

Re: Help with multidimensional arrays [SOLVED]

Try this:

Code: Select all


stats[ 3, 1 ] = 2.0 ;

by TJ
23 Dec 2017
Forum: MultiCharts
Topic: Futures Continius - Custom Futures
Replies: 1
Views: 97

Re: Futures Continius - Custom Futures

Hi everyone, when i open a continius futures custom i got always the following message: "Message: To construct Custom Futures please add the following: M contract for DB root for 2017 H contract for DB root for 2017 Z contract for DB root for 2017 ... " What can i do to fix it. Right now ...
by TJ
23 Dec 2017
Forum: MultiCharts
Topic: Could MC provide Set_IntraBar_Trailing( PriceLevel,ATR*0.5~1.0~ )?
Replies: 1
Views: 85

Re: Could MC provide Set_IntraBar_Trailing( PriceLevel,ATR*0.5~1.0~ )?

zfsamzfsam wrote:Touch the price level withdraw ATR*0.5~1.0~,Exit
eg:Set_IntraBar_Trailing( PriceLevel,ATR*0.5~~1.0 )



Can you describe your thoughts a bit more?

With examples?

Charts?

Diagram?
by TJ
20 Dec 2017
Forum: MultiCharts
Topic: I add continuous future to MC from ib gateway
Replies: 3
Views: 97

Re: I add continuous future to MC from ib gateway

Please use LiveChat to contact Technical Support.
They can sort this out for you.
by TJ
20 Dec 2017
Forum: MultiCharts
Topic: I add continuous future to MC from ib gateway
Replies: 3
Views: 97

Re: I add continuous future to MC from ib gateway

chaoruixinxi wrote:but the continuous future chart don‘t move,6AH8 can move.




What is the contract expiration date?
by TJ
19 Dec 2017
Forum: MultiCharts
Topic: Erase a previous plotted dot [SOLVED]
Replies: 7
Views: 137

Re: Erase a previous plotted dot [SOLVED]

Try this:

Code: Select all


Plot1 [ BarNumber - PVH1Pos ] ( 0 );

by TJ
19 Dec 2017
Forum: MultiCharts
Topic: Erase a previous plotted dot [SOLVED]
Replies: 7
Views: 137

Re: Erase a previous plotted dot [SOLVED]

There's a NoPlot(1) in the fourth line from the end. The code finds and marks the high in the first indentation. The second indentation checks for an higher high then it (tries to) delete the dot previously plotted and marks the new one. The noplot removes the plot in the CURRENT BAR , not the prev...
by TJ
19 Dec 2017
Forum: MultiCharts
Topic: Number of decimal places for each symbol output [SOLVED]
Replies: 2
Views: 70

Re: Number of decimal places for each symbol output [SOLVED]

I ran the following code Print(File("Mypass"),Date,Time,Open,High,Low,Close ); When applying this script to the euro doll, the OHLC becomes like 1.10, 1.10, 1.10, and so on. Is there a way to read the number of decimal places for each symbol and output it to a file? Thanks. Go to wiki Go ...
by TJ
19 Dec 2017
Forum: MultiCharts
Topic: Erase a previous plotted dot [SOLVED]
Replies: 7
Views: 137

Re: Erase a previous plotted dot [SOLVED]

Hi guys, I'm writing an indicator for pattern recognition. The indicator looks for lower highs and it starts looking for an high and marks it with a dot. But if an higher high occurs I want to mark this recent one as the high and erase provious plotted dot. This is the code but it doesn't erase pre...
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: daily hi low indicator [SOLVED]
Replies: 9
Views: 139

Re: daily hi low indicator [SOLVED]

OK, I have just tested the indicator.

This indicator is not suitable for instruments (or charts) that cross the 24 hr line.
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: daily hi low indicator [SOLVED]
Replies: 9
Views: 139

Re: daily hi low indicator [SOLVED]

I would like to have the ability to change the daily hi low indicator in multicharts to reflect the new York close for forex. The daily hi low indicator included included is 24 hours from 2400-2400. how can I change it to 1700- 1700? Hope someone can help? What is your chart resolution??? What is t...
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: daily hi low indicator [SOLVED]
Replies: 9
Views: 139

Re: daily hi low indicator [SOLVED]

kdmezzo wrote:Here is the code:
...
end ;



In the future, please tag your codes

See post #1 & post #2
viewtopic.php?t=11713
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: PosTradeCount with Different Filled Prices [SOLVED]
Replies: 6
Views: 108

Re: PosTradeCount with Different Filled Prices [SOLVED]

My broker is Interactive Brokers. For example, buy("Entry 1") 10 contracts next bar at 1000 stop; 8 contracts are filled at 1000 and the other 2 contracts are filled at 1001. Thanks! Please use IB's paper trading account to test your trading system. IB's paper trading account is a 100% co...
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: daily hi low indicator [SOLVED]
Replies: 9
Views: 139

Re: daily hi low indicator [SOLVED]

kdmezzo wrote:Thanks TJ for the reply. I have indeed done that but there is a daily hi low lines indicator that comes with multicharts
and I am looking to modify it so that it will reflect my custom sessions template. Any ideas?




What is the EXACT name of the indicator?

Please post the codes here.
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: daily hi low indicator [SOLVED]
Replies: 9
Views: 139

Re: daily hi low indicator [SOLVED]

This is a 2 step process Step 1. Create a custom template for the trading session 1700-1700. Go to your QuoteManager Under the "Tools" tab select "Session Templates" a new window will pop up (Custom Session Templates) select "Add..." another new window will pop up (Sess...
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: PosTradeCount with Different Filled Prices [SOLVED]
Replies: 6
Views: 108

Re: PosTradeCount with Different Filled Prices [SOLVED]

scotthkao wrote:If the paper trading account does not fill an order with varying prices, which is most likely the case,
the situation can not be observed in that way.



Who is your broker?

What do you mean by " not fill an order with varying prices"?
by TJ
15 Dec 2017
Forum: MultiCharts
Topic: PosTradeCount with Different Filled Prices [SOLVED]
Replies: 6
Views: 108

Re: PosTradeCount with Different Filled Prices [SOLVED]

I don't have the answer for you.

Does your broker offer a paper trading account?

You should always test your strategy to gain a better understanding of how the codes work.
by TJ
14 Dec 2017
Forum: MultiCharts
Topic: New windows cannot be created [SOLVED]
Replies: 4
Views: 93

Re: New windows cannot be created [SOLVED]

This is a Micorsoft limitation. Please google "GDI" for more information. You can run multiple instances of MC to overcome this limitation. Thanks, TJ. Interesting... and I also found other posts in the forum concerning this issue. I did a search and came up empty before posting, so must ...
by TJ
14 Dec 2017
Forum: MultiCharts
Topic: New windows cannot be created [SOLVED]
Replies: 4
Views: 93

Re: New windows cannot be created [SOLVED]

I got the following error when trying to open another workspace: 2017-12-14_19-24-06.jpg I have 56 windows spread across several tabs in one desktop. This does not seem excessive, especially for a 64-bit program. Before I try to reorganize the charts across multiple desktops (which I would rather n...
by TJ
14 Dec 2017
Forum: MultiCharts
Topic: Multicharts and R
Replies: 17
Views: 1997

Re: Multicharts and R

I know someone who has commissioned a programmer to do the link. It cost him US$12,000. No, I do not have a copy of the said software. And I don't think he is interested in sharing either. Actually this is a big deal, if properly modeled, and linked without flaws. I'd like your opinion an a side pr...
by TJ
10 Dec 2017
Forum: MultiCharts
Topic: PowerLanguage words for Volume Imbalance and Delta [SOLVED]
Replies: 5
Views: 188

Re: PowerLanguage words for Volume Imbalance and Delta [SOLVED]

momentum wrote:https://www.multicharts.com/trading-software/index.php/Imbalance_Delta



The answer you are looking for is in the first line of the article.
by TJ
10 Dec 2017
Forum: MultiCharts
Topic: PowerLanguage words for Volume Imbalance and Delta [SOLVED]
Replies: 5
Views: 188

Re: PowerLanguage words for Volume Imbalance and Delta [SOLVED]

momentum wrote:Are there yet any PowerLanguage words that can be used in an indicator and strategy to describe delta and volume imbalance conditions? If so, please link me and if not, are there any plans for implementing this?




Can you describe and explain "volume imbalance"?
by TJ
09 Dec 2017
Forum: MultiCharts
Topic: output textfile with symbolname [SOLVED]
Replies: 4
Views: 99

Re: output textfile with symbolname [SOLVED]

takehana13 wrote:Hello

I'd like to output a text file with the File name as the symbol name in the File function.
Is this possible?


It is possible.

Please go to the wiki,
look under the keyword for coding examples.
by TJ
06 Dec 2017
Forum: MultiCharts
Topic: Plz Help: Volume on Renko
Replies: 5
Views: 124

Re: Plz Help: Volume on Renko

jiaqiangmit wrote:How can I do that? For Renko Charts, the volume is build on Trade Volume, cannot choose to build on Tick Count.

Thanks very much.



Please see post #2
by TJ
06 Dec 2017
Forum: MultiCharts
Topic: Plz Help: Volume on Renko
Replies: 5
Views: 124

Re: Plz Help: Volume on Renko

jiaqiangmit wrote:No codes. I think if I can make an indicator to count ticks during each Renko brick, that would solve the problem. On renko, MC can only Build Volume On Trade Volume, but Forex data has no trade volume, only tick volume.



You can already do that with EasyLanguage.
by TJ
06 Dec 2017
Forum: MultiCharts
Topic: Plz Help: Volume on Renko
Replies: 5
Views: 124

Re: Plz Help: Volume on Renko

Please post your codes.
by TJ
01 Dec 2017
Forum: MultiCharts
Topic: Massive data slowdown (IQfeed) [SOLVED]
Replies: 3
Views: 118

Re: Massive data slowdown (IQfeed) [SOLVED]

What is "lots of charts"?
by TJ
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 148

Re: calendar data on instrument [SOLVED]

every day from 01.01. to 31.12, 365 days per year Do you mean you want to see the "Empty periods"? ( but no data ) ie Saturdays, Sundays, holidays, etc.,? Right Click on your chart Select "Format Window" Under the "X-Time Scale" tab check the box for "Show Empty P...
by TJ
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 148

Re: calendar data on instrument [SOLVED]

no erocla wrote:Hi TJ thank you for response.
I mean not market data, but calendar data.
So i mean, every day in calendar data, including weekend too.

No Erocla



What are the calendar data you are looking for?

Can you give some examples?
by TJ
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 148

Re: calendar data on instrument [SOLVED]

no erocla wrote:There is a way to show all calendar data on chart regardless the instrument ?

Thank you
No Erocla



Please explain what do you mean by "Calendar data"?
by TJ
30 Nov 2017
Forum: MultiCharts
Topic: Unprocessed Quotes [SOLVED]
Replies: 4
Views: 495

Re: Unprocessed Quotes [SOLVED]

This can also be a result of another program consuming a lot of the hard drive resources. For example, I noticed that whenever Windows Antimalware scan runs (windows 10) I have a lot of unprocessed quotes. Good point. But why would you do a virus scan during market hours? You should schedule the sc...
by TJ
28 Nov 2017
Forum: MultiCharts
Topic: What's wrong with this parabolic data1 and data2 ? [SOLVED]
Replies: 2
Views: 96

Re: What's wrong with this parabolic data1 and data2 ? [SOLVED]

I have a chart where I plotted same instrument with different time frames data1 = 5 minutes data2 = 30 minutes Then I created following indicator. Ideia is to plot parabolic of 30 minutes (data2) in the 5 minutes chart (data1) - I know that could be done directly but this is something I'm testing t...
by TJ
22 Nov 2017
Forum: MultiCharts
Topic: Parabolic SAR rules in EL [SOLVED]
Replies: 3
Views: 121

Re: Parabolic SAR rules in EL [SOLVED]

Any place where I can check the rules of Parabolic SAR, specifically when the previous bar Parabolic is violated and a new Parabolic is calculated ? I know that this is in extreme past range of Hi-Lo of previous bars (it's easy to see that visually) but there is any link to read specific rules, pre...
by TJ
21 Nov 2017
Forum: MultiCharts
Topic: Non Equidistant Candle Bars [SOLVED]
Replies: 5
Views: 118

Re: Non Equidistant Candle Bars [SOLVED]

Is there a way (or is it possible) to obtain candle bars that are not spaced evenly from each other? This would be useful when using tick or volume charts, where one may want to space them based on time only. I know one platform has this feature (NT) and it would be great if MC has it as well. Inte...
by TJ
18 Nov 2017
Forum: MultiCharts
Topic: Integration with local tick data provider
Replies: 1
Views: 102

Re: Integration with local tick data provider

Hi, I would like to integrate a local platform called profichart that provides real time and historical tick data (unsupported by multicharts) in order to use it on multicharts. If you know how to develop it, let me know. Not interested in the universal DDE alternative. I want to access data as if ...
by TJ
17 Nov 2017
Forum: MultiCharts
Topic: Multicharts and R
Replies: 17
Views: 1997

Re: Multicharts and R

AHAHAH 12.000$ it's crazy things, no sense. R is open source and a great community, your friend should wake up. TJ suggests that guys for next time to take a freelancer from India or Ukraine and have the same for 200$. Your poor acquaintance has enough money to throw away, better for him. If you ca...
by TJ
17 Nov 2017
Forum: MultiCharts
Topic: Multicharts and R
Replies: 17
Views: 1997

Re: Multicharts and R

I know someone who has commissioned a programmer to do the link. It cost him US$12,000.
No, I do not have a copy of the said software. And I don't think he is interested in sharing either.
by TJ
17 Nov 2017
Forum: MultiCharts
Topic: Oanda issues
Replies: 10
Views: 260

Re: Oanda issues

Unfortunately, it happens all the time -- the brokers make changes without fully testing the changes, and without fully disclosing the changes to the 3rd party software. InteractiveBrokers was like that too. :oops:
by TJ
17 Nov 2017
Forum: MultiCharts
Topic: Oanda issues
Replies: 10
Views: 260

Re: Oanda issues

Using the latest version of 11, I have tried both legacy and V20. It takes a really really long time for a chart to open. More important than that, it seems that since OANDA made changes to its data, the live traded signals are no longer in sync with a historic chart 100% of the time. This last iss...
by TJ
17 Nov 2017
Forum: MultiCharts
Topic: RAM optimization with Portfolio Trader / Global Variables
Replies: 2
Views: 109

Re: RAM optimization with Portfolio Trader / Global Variables

Thanks for your tests.

What is your computer spec?
by TJ
11 Nov 2017
Forum: MultiCharts
Topic: Authentication server down yesterday [SOLVED]
Replies: 7
Views: 257

Re: Authentication server down yesterday [SOLVED]

There are 3 authentication servers located around the world.

MC is programmed to search out another server if one is down.
by TJ
11 Nov 2017
Forum: MultiCharts
Topic: Mapping symbols [SOLVED]
Replies: 7
Views: 290

Re: Mapping symbols [SOLVED]

Zheka wrote:Will installing a 32-bit MC and a 64-bit MC help? These would be 2 QMs and 2 databases, right?



You will need 2 licenses to run 2 copies of MC at the same time.
by TJ
08 Nov 2017
Forum: MultiCharts
Topic: HighD and HighS in renko charts [SOLVED]
Replies: 3
Views: 159

Re: HighD and HighS in renko charts [SOLVED]

HighD (Function) The HighD series function allows you to reference the daily high of a previous day in an intraday chart (minute 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) Returns (...
by TJ
31 Oct 2017
Forum: MultiCharts
Topic: keep orders open for set number of bars
Replies: 8
Views: 191

Re: keep orders open for set number of bars

i thought the code below would turn trade_on to false. So 1. when an order is placed above a high and i'm filled. 2. When bars between time order is placed is greater than bars_valid. if marketposition = 1 then trade_on = false; if (BarNumber - bar_number) > Bars_valid then trade_on= false Read my ...
by TJ
31 Oct 2017
Forum: MultiCharts
Topic: keep orders open for set number of bars
Replies: 8
Views: 191

Re: keep orders open for set number of bars

I'm trying to figure out how i can keep an order open for set number of bars. At the moment the code below is what i can come up with. The trade_on variable doesn't seem to be resetting, so after an entry, buy stops are still placed even though the long condition is false. if long_condition then be...
by TJ
29 Oct 2017
Forum: MultiCharts
Topic: Results of an indicator change as I load a different number of bars [SOLVED]
Replies: 13
Views: 421

Re: Results of an indicator change as I load a different number of bars [SOLVED]

Please post your code in text format. Not everybody wants to compile an unknown code into their PLE because duplicate functions can overwrite existing functions.

What is your MaxBarsBack?
by TJ
21 Oct 2017
Forum: MultiCharts
Topic: Scanner do not load data / load data for very long time
Replies: 11
Views: 326

Re: Scanner do not load data / load data for very long time

Hello, ppc! What data range is selected for the stocks in Scanner? Is the "Build from minutes" option enabled in Format Instruments window -> Settings tab? Do you get pacing violation messages? https://www.multicharts.com/trading-software/index.php/Interactive_Brokers_Pacing_Violation Are...
by TJ
18 Oct 2017
Forum: MultiCharts
Topic: PC config at $4000 [SOLVED]
Replies: 4
Views: 241

Re: PC config at $4000 [SOLVED]

Notes about multi-cores and optimization. There is a general belief that the more cores the better. There is a false belief that virtual cores are just as good as real cores. Please note that virtual cores are ONLY useful if you are running multiple programs. When you are doing optimization, the pr...
by TJ
17 Oct 2017
Forum: MultiCharts
Topic: Volume mismatch [SOLVED]
Replies: 4
Views: 113

Re: Volume mismatch [SOLVED]

Please go to the wiki and look up the definition of the following keywords: volume ticks ps. this is a legacy idiosyncrasy I went to the wiki page: https://www.multicharts.com/trading-software/index.php/Volume And it really doesn't help. I do have "Build Volume On" set to "Trade Volu...
by TJ
17 Oct 2017
Forum: MultiCharts
Topic: Volume mismatch [SOLVED]
Replies: 4
Views: 113

Re: Volume mismatch [SOLVED]

There is a mismatch between the volume displayed on the chart (Total Vol in left-click price data box) and from "Volume" keyword in a strategy. The "correct" volume I want is displayed in the chart. Why does "Volume" in a strategy not match this value and how can I get...
by TJ
16 Oct 2017
Forum: MultiCharts
Topic: DRMS question [SOLVED]
Replies: 2
Views: 182

Re: DRMS question [SOLVED]

Does the Multicharts license allow for the following installation scenario: 1) one computer with live data connection 2) another computer used offline only for backtesting purposes How to use your license on two computers at the same time https://www.multicharts.com/trading-software/index.php/How_t...
by TJ
12 Oct 2017
Forum: MultiCharts
Topic: Interactive Brokers new version problem with data feed - new IB API to come
Replies: 9
Views: 495

Re: Interactive Brokers new version problem with data feed - new IB API to come

You do not have to download the the Latest TWS.
You can select to download the stable version of TWS, which updates less frequently.
by TJ
10 Oct 2017
Forum: MultiCharts
Topic: 7500 GDI Objects limit
Replies: 3
Views: 152

Re: 7500 GDI Objects limit

Which MC version?

Which Windows version?

Have you googled GDI Object limit?
by TJ
08 Oct 2017
Forum: MultiCharts
Topic: call indicator in strategy [SOLVED]
Replies: 2
Views: 109

Re: call indicator in strategy [SOLVED]

Look up these keywords:

i_getplotvalue
i_setplotvalue
by TJ
07 Oct 2017
Forum: MultiCharts
Topic: problem with ASCII history in my instrument when I change resolution [SOLVED]
Replies: 5
Views: 125

Re: problem with ASCII history in my instrument when I change resolution [SOLVED]

ps: is there any reason why you do not want to use the custom futures function in MultiCharts?
MC can automatically create continuous future for you, in any format and resolution.
by TJ
07 Oct 2017
Forum: MultiCharts
Topic: problem with ASCII history in my instrument when I change resolution [SOLVED]
Replies: 5
Views: 125

Re: problem with ASCII history in my instrument when I change resolution [SOLVED]

You should always state the symbols you have a problem with. Different exchanges and different symbols have different characteristics. Most data suppliers send the quotes in three formats: tick, 1 min, and daily. That is how MC saves them in your database. All the intermediate chart resolutions are ...
by TJ
06 Oct 2017
Forum: MultiCharts
Topic: Generation of blank trades
Replies: 7
Views: 316

Re: Generation of blank trades

Hello all, I would like to try testing some new strategy ideas that I have by isolating various entries. The strategy I have in mind has several different options for entering trades both long and short. What I would like to do is isolate one individual entry at a time as the only entry that actual...
by TJ
05 Oct 2017
Forum: MultiCharts
Topic: Screen of Workspace and quote manager mess up [SOLVED]
Replies: 13
Views: 319

Re: Screen of Workspace and quote manager mess up [SOLVED]

Please check your graphics card driver to make sure it is up-to-date.
by TJ
03 Oct 2017
Forum: MultiCharts
Topic: Screen of Workspace and quote manager mess up [SOLVED]
Replies: 13
Views: 319

Re: Screen of Workspace and quote manager mess up [SOLVED]

Which MC version?

What is your Windows version?

How many monitors do you have?

What is the spec of your graphics card?
by TJ
29 Sep 2017
Forum: MultiCharts
Topic: convert DateTIme in Really date and time of bar chart [SOLVED]
Replies: 1
Views: 96

Re: convert DateTIme in Really date and time of bar chart [SOLVED]

Try this

Code: Select all


Print( date + 19000000 , time ) ;

by TJ
26 Sep 2017
Forum: MultiCharts FAQ
Topic: [FAQ] How to Get Help
Replies: 6
Views: 5834

7. Error Messages

7. POST YOUR ERROR MESSAGE How could people help you if you do not let them know the error? https://www.multicharts.com/discussion/download/file.php?id=10468 https://www.multicharts.com/discussion/download/file.php?id=10502 http://i.imgur.com/nV4329t.png
by TJ
26 Sep 2017
Forum: MultiCharts
Topic: close position
Replies: 3
Views: 172

Re: close position

please someone could take a look on this strategy and say why it non close position when time is reached. [LegacyColorValue = TRUE]; inputs: ATRLength(2), ATRMult(2.4), UpColor(green), DnColor(red),TICKSAWAY(1), starttrade (0800), endtrade(1600), dailyprofit(20), dailyloss(50), vEndTimeS(162000); v...
by TJ
25 Sep 2017
Forum: MultiCharts
Topic: Always having RSI/%R value show in right scale (2 workaround solutions exist)
Replies: 9
Views: 230

Re: Putting RSI plot ahead of over bought/sold in right scale

In your code,
do you have plot1 and plot2 first, then plot3?

This is a procedural language,
the codes are executed line-by-line, from top to bottom.
by TJ
25 Sep 2017
Forum: MultiCharts
Topic: Always having RSI/%R value show in right scale (2 workaround solutions exist)
Replies: 9
Views: 230

Re: Putting RSI plot ahead of over bought/sold in right scale

The plots are layered according to the plot number.

Plot1 is at the lowest bottom, and plot2 is above it, and so on.
by TJ
21 Sep 2017
Forum: MultiCharts
Topic: Debugging window
Replies: 2
Views: 125

Re: Debugging window

Go to your PowerLanguage Editor,

look at the bottom half of the window,

click on the "Output" tab.
by TJ
18 Sep 2017
Forum: MultiCharts
Topic: Error Plot [SOLVED]
Replies: 1
Views: 93

Re: Error Plot [SOLVED]

Try this:


If ( UP ) then Plot1( High[0] );

by TJ
15 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

I have no dollar index data feed, I have no way of testing it.
Maybe someone else can help.
by TJ
15 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

chipeur_le_renard wrote:thx TJ
... code with no error inside but it don t work just two lines on screen

interval time is 5 mn on the chart



If you need help,
the minimum you have to do is to post a screen shot.
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

Try this: Var: EURUSD( Close Data1 ), EURUSD.h( H, Data1 ), EURUSD.L( L, Data1 ), USDJPY( Close Data2 ), USDJPY.h( H, Data2 ), USDJPY.L( L, Data2 ), GBPUSD( Close Data3 ), GBPUSD.h( H, Data3 ), GBPUSD.L( L, Data3 ), USDCAD( Close Data4 ), USDCAD.h( H, Data4 ), USDCAD.L( L, Data4 ), USDSEK( Close Dat...
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

I have never charted dollar index.
Does it come with daily and minute OHLC data?
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

What is your chart resolution?
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: how to optimize with 2 cpu server (36 cores with 72 threads) [SOLVED]
Replies: 54
Views: 4610

Re: how to optimize with 2 cpu server (36 cores with 72 threads) [SOLVED]

Hyperthreads are not real threads.

Threadrippers are not real threads.

They do not add performance gains to optimizations.
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: INDICATOR WITH CANDLES
Replies: 12
Views: 338

Re: INDICATOR WITH CANDLES

See post #1 and #2
viewtopic.php?t=11713
by TJ
14 Sep 2017
Forum: MultiCharts
Topic: What is difference between HighS and HighD? [SOLVED]
Replies: 1
Views: 162

Re: What is difference between HighS and HighD? [SOLVED]

hi, HighD = Value1 = OHLCPeriodsAgo( 1, PeriodsAgo, var0, var1, var2, var3 ) ; HighS=Value1 = OHLCPeriodsAgo( 0, PeriodsAgo, var0, var1, var2, var3 ) ; The Plot is the same...but HighD would plot High Daily and HighS would plot High Intraday-- But i don't see any difference HighD The new measuremen...
by TJ
12 Sep 2017
Forum: MultiCharts
Topic: Why can't signals plot?
Replies: 11
Views: 366

Re: Why can't signals plot?

Okay thanks. Unfortunately at present this error comes up when I click the link. Hopefully only temp. 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. .... This MC website automatically parses certain w...
by TJ
11 Sep 2017
Forum: MultiCharts
Topic: does anyone have the code for the TTM Squeezeindicator?
Replies: 1
Views: 140

Re: does anyone have the code for the TTM Squeezeindicator?

quantum777 wrote:does anyone have the code for the TTM Squeezeindicator?


See this thread:
viewtopic.php?f=5&t=5230
by TJ
10 Sep 2017
Forum: MultiCharts
Topic: Why can't signals plot?
Replies: 11
Views: 366

Re: Why can't signals plot?

bowlesj3 wrote:Hi,

Just curious. Why can we not put plots in a signal? ...





I suspect it has to do with speed.

It takes time to make a plot on the screen.
In a signal, you want to execute the orders without delay; you don't want a plot to hold you up, even for microseconds.
by TJ
09 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

fibdax wrote:mc turns on a cloud can you do the same?tks


No. I have not tried.
by TJ
09 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

fibdax: Please use LiveChat to contact techsupport. They can connect to your computer to sort thing out.
by TJ
09 Sep 2017
Forum: MultiCharts
Topic: Why can't signals plot?
Replies: 11
Views: 366

Re: Why can't signals plot?

This is not an answer to your question,
but a work around.

Look up these keywords:

I_getplotvalue
I_setplotvalue
by TJ
07 Sep 2017
Forum: MultiCharts
Topic: Custom Resolution Library?
Replies: 5
Views: 432

Re: Custom Resolution Library?

Hi, I think it is great that MC implemented the ability to develop custom resolutions. I was thinking that we would get some more chart types with the rollout of this functionality (i.e. Different Renko charts and such). Is there anywhere on this site, or others, where one can find user or MC contr...
by TJ
06 Sep 2017
Forum: MultiCharts
Topic: Hiding/Disabling an Indicator [SOLVED]
Replies: 36
Views: 975

Re: Hiding/Disabling an Indicator [SOLVED]

AdrianP wrote:Hi,
...

And even more puzzling, its been like that for years, and end users sit there and put up with it without saying a word. WHY???



My guess is... because nobody needs such a feature?

How many votes have you got on your PM?
by TJ
06 Sep 2017
Forum: MultiCharts
Topic: bridge between MT and MC [SOLVED]
Replies: 10
Views: 397

Re: bridge between MT and MC [SOLVED]

chipeur_le_renard wrote:and in realtime too ?



If MT is allowed to stream their data out...
by TJ
06 Sep 2017
Forum: MultiCharts
Topic: bridge between MT and MC [SOLVED]
Replies: 10
Views: 397

Re: bridge between MT and MC [SOLVED]

If you can export the data to an ASCII file, it can be imported to MC.
by TJ
05 Sep 2017
Forum: MultiCharts
Topic: A few backtesting/autotrading questions [SOLVED]
Replies: 6
Views: 347

Re: A few backtesting/autotrading questions [SOLVED]

Is it possible to put all the "Waves" in one chart?
That would eliminate the need for GV.
With the 64bit MC, you can expand the size of your data in one chart, making multi-data analysis (and backtest) a lot easier.
by TJ
02 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

OK. I misunderstood you. I thought you were importing an ASCII data file. You are using MC11. It has built-in Backup and Restore function. Please read the following links for instruction. https://www.multicharts.com/trading-software/index.php/Backup_Application https://www.multicharts.com/trading-so...
by TJ
02 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

Where did you get this data?
How did you make this data file?
by TJ
02 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

Your data is corrupted.
by TJ
02 Sep 2017
Forum: MultiCharts
Topic: Problem Import data Quotemanager
Replies: 12
Views: 354

Re: Problem Import data Quotemanager

Please open your data file with your notepad program and take a screenshot.
by TJ
01 Sep 2017
Forum: MultiCharts
Topic: Problems with IB TWS 967.1 and TWS-Start program! [SOLVED]
Replies: 2
Views: 199

Re: Problems with IB TWS 967.1 and TWS-Start program! [SOLVED]

Have you checked the TWS-Start forum?
by TJ
27 Aug 2017
Forum: MultiCharts
Topic: SSD Hard Drive does not speed up opening charts [SOLVED]
Replies: 22
Views: 1450

Re: SSD Hard Drive does not speed up opening charts [SOLVED]

Have you tried turning off indexing service in w10?
by TJ
26 Aug 2017
Forum: MultiCharts
Topic: How many cores can MC11 use? [SOLVED]
Replies: 8
Views: 704

Re: How many cores can MC11 use? [SOLVED]

The biggest bottleneck in a computer system is not in the CPU,
nor the size of the RAM,
but the speed of the internal bus in the motherboard.

Image
by TJ
21 Aug 2017
Forum: MultiCharts
Topic: Continuous Futures Contracts with Interactive Brokers
Replies: 14
Views: 1058

Re: Continuous Futures Contracts with Interactive Brokers

Unavailable Historical Data Data for continuous futures contracts TJ, if i set the Resolution to 1 minute i get at least the history for 50 Days. Not tested if the data is 100 percent accurate but there seems to be a history stored somewhere on their server. Have you tried a 1-second chart?
by TJ
21 Aug 2017
Forum: MultiCharts
Topic: Continuous Futures Contracts with Interactive Brokers
Replies: 14
Views: 1058

Re: Continuous Futures Contracts with Interactive Brokers

https://interactivebrokers.github.io/tws-api/historical_limitations.html#gsc.tab=0 Unavailable Historical Data Tick-by-tick historical data. The smallest bar size is 1 second. Studies and indicators such as Weighted Moving Averages or Bollinger Bands. Bars which size is 30 seconds or less older than...
by TJ
19 Aug 2017
Forum: MultiCharts
Topic: counting of hourly bars for current daily session in the code.... help
Replies: 4
Views: 228

Re: counting of hourly bars for current daily session in the code.... help

auato wrote:...
I am not able to realize the fisrt conditions:
if I am in the first/second bar...





First bar of the current day:

Code: Select all


var:
First.Bar( false );

First.Bar = Date > Date[1];


If First.Bar = true then
Begin
     // your trading logic here
End;

by TJ
18 Aug 2017
Forum: MultiCharts
Topic: IB pacing violation (other reason) ?
Replies: 5
Views: 302

Re: IB pacing violation (other reason) ?

Please double check your QM,
make sure all the boxes are checked.
by TJ
18 Aug 2017
Forum: MultiCharts
Topic: IB pacing violation (other reason) ?
Replies: 5
Views: 302

Re: IB pacing violation (other reason) ?

What symbols are you getting the Pacing Violation? Is it possible that you are requesting for data that are not there? eg. if you want January data for a contract that begun in March, MC would keep asking for the data, and IB would give you a Pacing Violation. This pacing violation has nothing to do...
by TJ
07 Aug 2017
Forum: MultiCharts
Topic: Portfolio Money Management questions
Replies: 10
Views: 431

Re: Portfolio Money Management questions

[FAQ] Portfolio Trader / Portfolio Backtester
viewtopic.php?t=47045
by TJ
04 Aug 2017
Forum: MultiCharts
Topic: PowerLanguage for Backtesting Multiple Signals
Replies: 11
Views: 525

Re: PowerLanguage for Backtesting Multiple Signals

... 2. Perhaps more importantly, how do I make sure my buy and sell commands consider the overall position of the portfolio at the time of the trade? For example, how to make the overall position 3 units long, and not just say to buy 3 units? -You will see that in my current code, the command in th...
by TJ
04 Aug 2017
Forum: MultiCharts
Topic: PowerLanguage for Backtesting Multiple Signals
Replies: 11
Views: 525

Re: PowerLanguage for Backtesting Multiple Signals

... In your last post, by "lot size", do you mean the closest value to the value amount of the order for each trade (in my case, $10,000)? ... Thanks again for all your help so far. If you trade stocks, most of the lots are 100 shares. if you base your criteria on capital, $10,000 can buy...
by TJ
04 Aug 2017
Forum: MultiCharts
Topic: PowerLanguage for Backtesting Multiple Signals
Replies: 11
Views: 525

Re: PowerLanguage for Backtesting Multiple Signals

One of the errors I am getting is for the command to buy shares.to.trade (with the cursor selecting the "s" on "shares.to.trade"), which says, "'Next Bar' can only be applied to 'Open', 'Date', 'Time', 'DateTime', or 'Time_s'" Is it clear why this might be? ... Thanks ...
by TJ
03 Aug 2017
Forum: MultiCharts
Topic: any limitation on number of lines in one study? [SOLVED]
Replies: 2
Views: 210

Re: any limitation on number of lines in one study? [SOLVED]

Hi. is there any limitations on how many lines can be there in one study? i tried to paste about 5000 lines from excel sheet, and it stopped. i pasted 1000 lines over and over again and tried to compile, and it stopped again. is it for my computer capability? or any limitations on study itself? tha...
by TJ
31 Jul 2017
Forum: MultiCharts
Topic: PowerLanguage for Backtesting Multiple Signals
Replies: 11
Views: 525

Re: PowerLanguage for Backtesting Multiple Signals

... 1. How do I buy a certain value of stock (say, if I wanted to treat "one unit" as $10,000)? -I have only been able to find ways to buy a certain number of shares/contracts. Should I consider making a variable? What would that look like? ... Thank you in advance for your help! You can ...
by TJ
27 Jul 2017
Forum: MultiCharts
Topic: SPI 200 Futures Sessions
Replies: 8
Views: 278

Re: SPI 200 Futures Sessions

You're spot on there. I would be using approximately 1400 minute bars. The 1400 minute charts simulates a daily chart when I have a 16:30 session end No, you do not have to use a 1400 minute bar. You use a DAILY bar, but built with minute data . This option is available when you create your chart.
by TJ
27 Jul 2017
Forum: MultiCharts
Topic: SPI 200 Futures Sessions
Replies: 8
Views: 278

Re: SPI 200 Futures Sessions

The last entry should be Saturday.

Image
by TJ
27 Jul 2017
Forum: MultiCharts
Topic: SPI 200 Futures Sessions
Replies: 8
Views: 278

Re: SPI 200 Futures Sessions

Thanks for the reply but I already had that. Sorry I should have been clearer on what I was trying to achieve I want to create daily bars Open = start of night session (17:10) Close = close of day session (16:30) That way I look at end of day (at a daily bar - that's why I need day session = 16:30)...
by TJ
17 Jul 2017
Forum: MultiCharts
Topic: MC won't start [SOLVED]
Replies: 2
Views: 144

Re: MC won't start [SOLVED]

Sounds like a hardware problem... or Windows problem.

I trust that you have rebooted the computer?

Have you installed anything new?
Did any program crash recently?
by TJ
16 Jul 2017
Forum: MultiCharts
Topic: Computer Hardware - CPU Selection
Replies: 4
Views: 424

Re: Computer Hardware - CPU Selection

Always use Intel.

I would not bother with AMD.

YMMV
by TJ
13 Jul 2017
Forum: MultiCharts
Topic: bar countdown off by 30 seconds [SOLVED]
Replies: 12
Views: 466

Re: bar countdown off by 30 seconds [SOLVED]

Please add this line to your code. You can find the explanation in the Wiki. RecalcLastBarAfter( 1 ); TJ, you mean to add this line to my indicator ? I have one oscillator. I added that line to the oscillator code and it did not change the countdown, still off by 30 seconds Sorry I read your questi...
by TJ
13 Jul 2017
Forum: MultiCharts
Topic: IB Advisor Account: allocation to individual accounts
Replies: 2
Views: 155

Re: IB Advisor Account: allocation to individual accounts

I am looking to trade a strategy for multiple clients in an IB advisor account. However, I am confused about the methods IB offers to allocate shares to the individual (client) accounts. Here are the situations I see as problematic: Scenario A: onboarding a new client * account #1: existing client,...
by TJ
13 Jul 2017
Forum: MultiCharts
Topic: Coders needed [SOLVED]
Replies: 5
Views: 398

Re: Coders needed [SOLVED]

massedou wrote:Thanks TJ.
Do you have any link to access these reports?
Kind regads.



You can find the testaments in this forum; a few people here have engaged his service and posted their reports.
Chris is a regular contributor to this forum, a quick search should be able to locate them.
by TJ
13 Jul 2017
Forum: MultiCharts
Topic: Coders needed [SOLVED]
Replies: 5
Views: 398

Re: Coders needed [SOLVED]

I have heard numerous good reports on works done by Chris of ABC. ( http://www.abctradinggroup.com/ )

I don't know Chris and have never met him, but I have seen the codes he shared in this forum. They are of professional quality.
by TJ
13 Jul 2017
Forum: MultiCharts
Topic: bar countdown off by 30 seconds [SOLVED]
Replies: 12
Views: 466

Re: bar countdown off by 30 seconds [SOLVED]

Please add this line to your code.
You can find the explanation in the Wiki.


RecalcLastBarAfter( 1 );
by TJ
12 Jul 2017
Forum: MultiCharts
Topic: bar countdown off by 30 seconds [SOLVED]
Replies: 12
Views: 466

Re: bar countdown off by 30 seconds [SOLVED]

How busy is the forex that you are trading?
by TJ
12 Jul 2017
Forum: MultiCharts
Topic: differences among real trading and chart/backtest
Replies: 2
Views: 233

Re: differences among real trading and chart/backtest

You might be interested in these articles in the Wiki: - Backtesting vs Live Trading - Understanding Backtesting - Why is Data Playback strategy performance different from Backtesting results? - Intra-bar Price Movement Assumptions - Precise Backtesting - Understanding Precise Backtesting - Using Pr...
by TJ
12 Jul 2017
Forum: MultiCharts
Topic: MC very slow to update chart
Replies: 5
Views: 207

Re: MC very slow to update chart

8h chart? is this a new symbol? You should download the one minute data first. because 8h chart is built on the fly with minute data. 1. make sure IB is giving you one minute data back to Jan 2016 2. MC is probably waiting for empty periods. ie holidays and weekends. Go to your QuoteManager, you can...
by TJ
12 Jul 2017
Forum: MultiCharts
Topic: MC very slow to update chart
Replies: 5
Views: 207

Re: MC very slow to update chart

MC Version?

Windows verions?

When was the last time you reboot the computer?
by TJ
11 Jul 2017
Forum: MultiCharts
Topic: marketposition skips stop alert
Replies: 6
Views: 314

Re: marketposition skips stop alert

What is your chart resolution?
by TJ
05 Jul 2017
Forum: MultiCharts
Topic: IOG when backtesting help. [SOLVED]
Replies: 1
Views: 162

Re: IOG when backtesting help. [SOLVED]

Hi, Can someone point me in the direction of where I can read more about how intrabarordergeneration functions in backtesting please? When backtesting with IOG on, what events trigger script calculation and order submission?..... Does bar magnifier effect this? Thanks! See post #4 FAQ https://www.m...
by TJ
02 Jul 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 3117

Re: MULTICHARTS 11.0 BETA 1

I need to sync to PCs: home and office. Could I use automatic backup/restore function via Google Drive to have mirrored MC platforms? I know this is not the main purpouse of this new feature but it is what I need now. Thanks a lot and welcome all User Data Backup/Restore One can now easily do a bac...
by TJ
30 Jun 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 3117

Re: MULTICHARTS 11.0 BETA 1

sptrader wrote:Does MC 11.0 beta1 seem stable enough to trade with ? (I know no guarantees but anyone having crashes, functions not working etc ?).
I thought I might install it over the weekend..


https://en.wikipedia.org/wiki/Software_ ... life_cycle

People who use beta versions are called Beta Testers.
by TJ
29 Jun 2017
Forum: MultiCharts
Topic: Switching from FreeQuotes to IB
Replies: 4
Views: 258

Re: Switching from FreeQuotes to IB

... The MC data does not go that far back (the daily bars and weekly bars do not go that far back - the minute bars are fine). Is there any way to merge the freequotes daily bars weekly bars data to extend the charts back? ... Thanks, John MultiCharts saves the data in 3 formats -- tick, 1 minute, ...
by TJ
29 Jun 2017
Forum: MultiCharts
Topic: Switching from FreeQuotes to IB
Replies: 4
Views: 258

Re: Switching from FreeQuotes to IB

... How would I clear the three MC database files and start fresh with the IB data (but not reload MC itself or loose all my custom tool settings etc). I had a note on this but lost if and it may be too old now anyway. ... Thanks, John You can go to C:\ProgramData\TS Support\MultiCharts64\Databases...
by TJ
27 Jun 2017
Forum: MultiCharts
Topic: MULTICHARTS 11.0 BETA 1
Replies: 36
Views: 3117

Re: MULTICHARTS 11.0 BETA 1

User Data Backup/Restore One can now easily do a backup of all platform data in just a few clicks! Whether you need to move to a new PC, want to import your data into a different MultiCharts product or simply want to avoid data loss, these two new built-in applications will help you with this goal....
by TJ
26 Jun 2017
Forum: MultiCharts
Topic: marketposition skips stop alert
Replies: 6
Views: 314

Re: marketposition skips stop alert

Please see post #1 and post #2
viewtopic.php?t=11713
by TJ
26 Jun 2017
Forum: MultiCharts
Topic: Calculating Swing based on a specific event
Replies: 5
Views: 352

Re: Calculating Swing based on a specific event

Dear TJ, I have tagged my code. Part of my strategy for entry is ... With regret my code ( below) is wrong. Please can somone help me.. In advance, Thanks.. You have a complex logic with multiple conditions. ie this is an advanced level programming project. ie. this is not a question that can be an...
by TJ
23 Jun 2017
Forum: MultiCharts
Topic: WilliamPercentR Indicaror
Replies: 1
Views: 175

Re: WilliamPercentR Indicaror

Please see post #1 and post #2
viewtopic.php?t=11713
by TJ
23 Jun 2017
Forum: MultiCharts
Topic: Relative strength in Power Language [SOLVED]
Replies: 7
Views: 560

Re: Relative strength in Power Language [SOLVED]

This is not a direct answer to your question,
just a programming note you should be aware of.

See post #5
viewtopic.php?t=6929
by TJ
18 Jun 2017
Forum: MultiCharts
Topic: why ? [SOLVED]
Replies: 8
Views: 539

Re: why ? [SOLVED]

I am not a computer graduate. I am not a professional programmer Most of the people here are not trained in computer. EasyLanguage is designed for people without programming experience. The key is not in programming, but in identifying the problem. Please see post #5 https://www.multicharts.com/disc...
by TJ
18 Jun 2017
Forum: MultiCharts
Topic: why ? [SOLVED]
Replies: 8
Views: 539

Re: why ? [SOLVED]

Welcome back Redberlin:

Please see post #1 and post #2
viewtopic.php?t=11713
by TJ
09 Jun 2017
Forum: MultiCharts
Topic: Problem installing EL Collection
Replies: 5
Views: 2287

Re: Problem installing EL Collection

Can you try using all variables as double?
by TJ
09 Jun 2017
Forum: MultiCharts
Topic: Please VOTE : QM: Add tools for cleaning data
Replies: 2
Views: 193

Re: Please VOTE : QM: Add tools for cleaning data

The data editor desperately needs update and improvements.
The problem is, most of us do not need to edit data very often.
Naturally, a low usage function falls on the low side of the priority list.
But that does not mean improvements are not needed.
by TJ
01 Jun 2017
Forum: MultiCharts
Topic: Wishlist [SOLVED]
Replies: 2
Views: 166

Re: Wishlist [SOLVED]

by TJ
31 May 2017
Forum: MultiCharts
Topic: Signal - time condition and crosses above
Replies: 5
Views: 198

Re: Signal - time condition and crosses above

You need to post your chart.

You need to point out the location where you think the order should be triggered.


The error is in your logic.

Your code snippet is not enough for debugging.
You need to post more codes, and more explanation.
by TJ
31 May 2017
Forum: MultiCharts
Topic: Signal - time condition and crosses above
Replies: 5
Views: 198

Re: Signal - time condition

No need to apologise for your English; it is fine. MultiCharts is an International community with people from countries around the World.


What is your chart resolution?
by TJ
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 272

Re: Floating error [SOLVED]

What is zero times 1.0000001 ?
by TJ
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 272

Re: Floating error [SOLVED]

Hi, Hope that someone can help. I have problem with floating error. I know that it is because you are deviding with zero. I have tried though to multiply with 1.0000001 but it does not help. Anyone that can suggest a better way to write the code below? Thanks in advance. Best regards Stefan Value1=...
by TJ
29 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 455

Re: vix continuos custom futures problem [SOLVED]

Hi TJ, thank you for your response. I've to count the third friday and then go back 30 days, and i can't do it using bars. How can i count days diffently ? Regards No Erocla What do you mean by 30 day? 30 calendar days? not 30 trading days? What about long months and short months? What if the 30 da...
by TJ
29 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 455

Re: vix continuos custom futures problem [SOLVED]

no erocla wrote:Hi Angelina,

there is some function like: 30DaysBefore3rdFridayNextMonth for powerlaunguage ?

Regards
No Erocla



If the expiration is on the 3rd Friday,
then all you need is to find the "30 Days Before".
by TJ
26 May 2017
Forum: MultiCharts
Topic: ELExcel.dll: Any info on how to get it? [SOLVED]
Replies: 13
Views: 2032

Re: ELExcel.dll: Any info on how to get it? [SOLVED]

It is good to hear that it works.

Thanks for keeping us posted.
by TJ
25 May 2017
Forum: MultiCharts
Topic: Help please
Replies: 9
Views: 495

Re: Help please

Hello there, I am wondering if anyone out there can help me with this issue. Lets say that I have 4 different charts, different markets On each chart I insert the ATR. I would like to write a code that will give me the the average of all the ATR and the Lowest of all the ATR Does anyone know how to...
by TJ
25 May 2017
Forum: MultiCharts
Topic: ELExcel.dll: Any info on how to get it? [SOLVED]
Replies: 13
Views: 2032

Re: ELExcel.dll: Any info on how to get it? [SOLVED]

You might want to put the DLL in any and every directory where a DLL might reside. The program and windows have mysterous ways of looking for things in unexpected places.
by TJ
25 May 2017
Forum: MultiCharts
Topic: TL Alert: How to set the audio via code
Replies: 4
Views: 250

Re: TL Alert: How to set the audio via code

@Angellina: What Martin proposing is to add one more parameter to the keyword. eg. TL_SetAlert ( TL_ID , AlertStatus , "PathFilename" ) Where PathFilename - a string expression specifying the path and filename of the wave file to be played. example: Value1 = TL_SetAlert ( 3 , 2 , "C:\...
by TJ
25 May 2017
Forum: MultiCharts
Topic: ELExcel.dll: Any info on how to get it? [SOLVED]
Replies: 13
Views: 2032

Re: ELExcel.dll: Any info on how to get it? [SOLVED]

.

This is advanced programming. You might need to engage a professional programmer.
by TJ
25 May 2017
Forum: MultiCharts
Topic: Question on Timestamp on Orders Generated
Replies: 3
Views: 229

Re: Question on Timestamp on Orders Generated

Hi Guys, Sorry if this is a silly question but am trying to troubleshoot around my own latency so hopefully I could get some pointers from you guys. 1. Under Order and Position Tracker > Orders > Generated - Is the time stamp for this: a) Then time when it is generated by MC on your trading compute...
by TJ
21 May 2017
Forum: MultiCharts
Topic: Time_s to milliseconds
Replies: 2
Views: 194

Re: Time_s to milliseconds

by TJ
21 May 2017
Forum: MultiCharts
Topic: Time_s to milliseconds
Replies: 2
Views: 194

Re: Time_s to milliseconds

Is there a time_s function equivalent that gives time to milliseconds The short answer is -- No. For a complete list of time-related keywords, go to Wiki Look under Category:Date and Time Routines https://www.multicharts.com/trading-software/index.php/Main_Page#PowerLanguage_Keyword_Reference ps. p...
by TJ
19 May 2017
Forum: MultiCharts
Topic: Rounding problem?
Replies: 3
Views: 235

Re: Rounding problem?

MultiCharts uses Double Precision.

That means MultiCharts is doing your calculations internally using 15 decimal places.

(unless you specified the variable is an integer)
by TJ
18 May 2017
Forum: MultiCharts
Topic: Close at end of the week [SOLVED]
Replies: 6
Views: 289

Re: Close at end of the week [SOLVED]

What is your chart resolution?
by TJ
18 May 2017
Forum: MultiCharts
Topic: Close at end of the week [SOLVED]
Replies: 6
Views: 289

Re: Close at end of the week [SOLVED]

Hi All, I want my trade to automatically close at the end of the week. I know there is a study for the end of the day close but what can I use for the end of the week. For example close at the New York Close on Friday. Thank you in advance. Bryan You will need to find ways to account for non-tradin...
by TJ
18 May 2017
Forum: MultiCharts
Topic: Possible: Acquiring the PC date and time [SOLVED]
Replies: 2
Views: 235

Re: Possible: Acquiring the PC date and time [SOLVED]

Hello To complete my preceding question https://www.multicharts.com/discussion/viewtopic.php?t=50745 Is it possible to acquire the PC DateTime. The goal is to start an indicator only after the actual DateTime od the PC. Martin Go to Wiki Look under Category:Date and Time Routines https://www.multic...
by TJ
18 May 2017
Forum: MultiCharts
Topic: Stating the indicator only after the actual bar [SOLVED]
Replies: 1
Views: 176

Re: Stating the indicator only after the actual bar [SOLVED]

Code: Select all


If lastbaronchart and barstatus[1] = 2

AND TIME = CurrentTime

then FileLog = FileLogging;

by TJ
17 May 2017
Forum: MultiCharts
Topic: Volume
Replies: 2
Views: 275

Re: Volume

Please go to Wiki and look up the definition of the following keywords:

TICKS
VOLUME



Please go back to your indicator and observe how these two keywords are used in the code.
by TJ
14 May 2017
Forum: MultiCharts
Topic: Portfolio trader : IOG for automatic trading
Replies: 5
Views: 350

Re: Portfolio trader : IOG for automatic trading

Based on the above, I do not see why your MultiCharts should freeze up.

Probably your code needs some clean up and optimization.
by TJ
14 May 2017
Forum: MultiCharts
Topic: Indicator property: Is it possible to set # bars a study will reference [SOLVED]
Replies: 6
Views: 337

Re: Indicator property: Is it possible to set # bars a study will reference [SOLVED]

You have a misunderstanding of MaxBarsBack. I thought we have gone through this before. MBB is a nisnomer. MBB is a chart level setting -- it determines how many bars the indicator needs to do a proper calculation . MBB is NOT about how far the indicator goes back from the current bar. eg. For a 10 ...
by TJ
14 May 2017
Forum: MultiCharts
Topic: Indicator property: Is it possible to set # bars a study will reference [SOLVED]
Replies: 6
Views: 337

Re: Indicator property: Is it possible to set # bars a study will reference [SOLVED]

arjfca wrote:Hello

Indicator property: Could we set from the code the value for :Max number of bars study will reference

Martin



This might sound insensitive, but why would you want to do that?
by TJ
13 May 2017
Forum: MultiCharts
Topic: Portfolio trader : IOG for automatic trading
Replies: 5
Views: 350

Re: Portfolio trader : IOG for automatic trading

Hello, I'm currently using MC for automatic trading but it sometimes freezes because i've 20 charts/ workspace and have 6 workspaces running at the same time. My strategy use IOG so i can't move to portfolio trader to apply my strategy in live autotrading. Do you plan in the future to have IOG for ...
by TJ
13 May 2017
Forum: MultiCharts
Topic: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]
Replies: 6
Views: 369

Re: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]

arjfca wrote:I just saw that in the Trendline Format option, there is an Invisible setup

I did a test and the GetStyle for an invisible is 6 once tl_setStyle(1,6);

Problem resolve
Invisible.png



Very good. I did not know this option.
by TJ
13 May 2017
Forum: MultiCharts
Topic: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]
Replies: 6
Views: 369

Re: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]

The easiest workaround would be to change the TL color to the chart background color. I tried it but was not applicable because once change, how do I know what was the color attached to the trendline My process is a semi automatic code that draw a trendline that surround a desire region of interest...
by TJ
13 May 2017
Forum: MultiCharts
Topic: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]
Replies: 6
Views: 369

Re: Vote for: New Keyword TL_SetHide TL_SetVisible [SOLVED]

The easiest workaround would be to change the TL color to the chart background color.
by TJ
12 May 2017
Forum: MultiCharts
Topic: How to calculate margin? [SOLVED]
Replies: 12
Views: 2245

Re: How to calculate margin? [NOT SOLVED] [SOLVED]

Hi rrams, is there not any kind of formula to have the margin at EOD of futures? I just want test a target or stop based into historical margin, does it be possible? You can make a PM request to create a new keyward -- MARGIN . You can make another PM request to create a new column in the database....
by TJ
10 May 2017
Forum: MultiCharts
Topic: How to diagnose an Underflow/Overflow error
Replies: 1
Views: 213

Re: How to diagnose an Underflow/Overflow error

Hello Once in a while one of my indicator do give me an Underflow/Overflow error . It happen sometime when I'm drawing a new trendline. This indicator is looking for an active Trendline. Active_TL = mc_tl_getactive; What could I look for? Martin underflow_Overflow.png It is mostly likely that you h...
by TJ
08 May 2017
Forum: MultiCharts
Topic: If/Then = false but still get signal.
Replies: 3
Views: 196

Re: If/Then = false but still get signal.

This is a coding error.

The devil is in the details.

Not sure how anybody can help you without the codes.
by TJ
08 May 2017
Forum: MultiCharts
Topic: If/Then = false but still get signal.
Replies: 3
Views: 196

Re: If/Then = false but still get signal.

So I've identified at least 3 variables that will return a false yet I will get a signal as if they were true. I've restarted program, created a new signal via copy/paste, moved variables around, even did a repair but am still getting signals where they shouldn't be. Just looking for some new idea'...
by TJ
08 May 2017
Forum: MultiCharts
Topic: Ichimoku Cloud - Plot with Forward offset [SOLVED]
Replies: 6
Views: 448

Re: Ichioku Cloud - Plot with Forward offset [SOLVED]

brunor wrote:Appreciate the response TJ. I would like to plot the indicator ahead of the current bar. Altering the inputs changes the calculations.
Is it possible to offset the entire plot forward as seen in this image.
Thank You.
Bruno

Cloud.bmp



You can use a negative number to shift the plot forward.
by TJ
08 May 2017
Forum: MultiCharts
Topic: Ichimoku Cloud - Plot with Forward offset [SOLVED]
Replies: 6
Views: 448

Re: Ichioku Cloud - Plot with Forward offset [SOLVED]

Found this code for the ichimoku Cloud on line ... it works fine but plots behind the leading price bar (see image). Is it possible to offset the plot ahead of the leading price bar as it should be? Thanks. Cloud.bmp // Type: Indicator // Name: Ichimoku - Cloud { Chart style: Weight PlotName Style ...
by TJ
08 May 2017
Forum: MultiCharts
Topic: Proper way to use TL_SetAlert: [SOLVED]
Replies: 4
Views: 248

Re: Proper way to use TL_SetAlert: [SOLVED]

Hello TJ WIKI: TL_SetAlert(TL_ID, AlertStatus) TL_ID - a numerical expression specifying the trendline ID number. AlertStatus - a numerical expression specifying the alert status for the trendline: 0 - Alert disabled. 1 - Breakout intra-bar. Alert triggering conditions are evaluated intra-bar. An a...
by TJ
08 May 2017
Forum: MultiCharts
Topic: Proper way to use TL_SetAlert: [SOLVED]
Replies: 4
Views: 248

Re: Proper way to use TL_SetAlert: [SOLVED]

Hello The goal is to trigger an alert if price cross a given trendline. The indicator alert is set to Enable. What should be expected when price cross a trendline that has an alert set to it? Martin The TL_alert is set when a trendline has been set with style = 2 ActualStyle = TL_GetStyle(Active_TL...
by TJ
05 May 2017
Forum: MultiCharts
Topic: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
Replies: 7
Views: 566

Re: What are: // Bamboo DLLs and TicToc DLL [SOLVED]

Those are antiques; I would not waste my precious time on them. :lol: Maybe I could use it to measure the time that you / ABC and other do spend to help us. I would probably bust the variable. hehe! Have a nice weekend Martin These DLL were created by Bamboo many years ago when TS had no EasyLangua...
by TJ
05 May 2017
Forum: MultiCharts
Topic: What are: // Bamboo DLLs and TicToc DLL [SOLVED]
Replies: 7
Views: 566

Re: What are: // Bamboo DLLs and TicToc DLL [SOLVED]

Martin, it's for regular MC and a DLL that you can download here https://www.multicharts.com/discussion/viewtopic.php?f=16&t=10094&p=51526&hilit=TicToc#p51526, but it appears it's just the DLL without the demo code. It's used as a performance timer to see how long certain code or code b...
by TJ
04 May 2017
Forum: MultiCharts
Topic: Found the Origin of a trendline: [SOLVED]
Replies: 4
Views: 267

Re: Found the Origin of a trendline: [SOLVED]

Thanks for the illustration...


but I am getting a headache.

:roll: :oops:


:lol:
by TJ
04 May 2017
Forum: MultiCharts
Topic: Found the Origin of a trendline: [SOLVED]
Replies: 4
Views: 267

Re: Found the Origin of a trendline: [SOLVED]

arjfca wrote:I need my code to affect some trendline created by an indicator, but not the trendline created by another one.

How can I get the Origin of a trend line? I know that I could use the TL_Getfirst(Origin) and loop but is there a way to find it directly?


Martin



You need to make an illustration.
by TJ
04 May 2017
Forum: MultiCharts
Topic: True/False return error. [SOLVED]
Replies: 2
Views: 172

Re: True/False return error. [SOLVED]

While debugging using Expert Commentary I am running into this which I'm having a problem solving so thought maybe someone would have something else to suggest. A= Indicator value. A = 7.59 ; A[1] = 7.29 ; (A[1] + .10) = 7.39 ; A > (A[1] + .10) = False ; A = True does it not, but it returns false. ...
by TJ
04 May 2017
Forum: MultiCharts
Topic: A string with multiple color: Is there a way to create it? [SOLVED]
Replies: 2
Views: 234

Re: A string with multiple color: Is there a way to create it? [SOLVED]

Hello Another interrogation. Is there a way to create a single string that will have some characters colored differently from the others? I did create 4 différents Text_New and use the Barnumber but it cause me some difficulty to properly aligned them when I change the scale. Martin Aligned string_...
by TJ
02 May 2017
Forum: MultiCharts
Topic: Is there a function to replace Multiple "OR" [SOLVED]
Replies: 3
Views: 294

Re: Is there a function to replace Multiple "OR" [SOLVED]

Hello TJ Absolutely nothing wrong with the OR. Just to be fancy and reduce the coding line Martin The design philosophy of the EasyLanguage/PowerLanguage is to have a programming language that is easy to learn (English-like), easy to program, easy to read, and easy to understand. Would you make a s...
by TJ
02 May 2017
Forum: MultiCharts
Topic: Is there a function to replace Multiple "OR" [SOLVED]
Replies: 3
Views: 294

Re: Is there a function to replace Multiple "OR" [SOLVED]

arjfca wrote:Hello

Is there a function that could replace multiple OR in this code

Code: Select all

ActualColor = TL_GetColor(TLNumber);

If (ActualColor = Magenta) or (ActualColor = Orange) or (ActualColor = Red) or (ActualColor = Fushia)  then TlColor= Actualcolor ;


Martin



What is wrong with OR ?
by TJ
26 Apr 2017
Forum: MultiCharts
Topic: How to get the barnumber of the first displayed bar on the screen [SOLVED]
Replies: 6
Views: 443

Re: How to get the barnumber of the first displayed bar on the screen [SOLVED]

Hello Is there a way to know what is the BarNumber of the first bar displayed (visible) on the screen? I want to evenly space info on an horizontal line across my chart. I can't use a date/time reference because it won't be applicable to a tick charts Martin Please create a Project Management reque...
by TJ
26 Apr 2017
Forum: MultiCharts
Topic: unwanted resizing of a rectangle
Replies: 11
Views: 804

Re: unwanted resizing of a rectangle

Right click on chart,
Go to Format Window
Under X-Time Scale tab
Setting Chart Shift
Select Bars instead of %
by TJ
26 Apr 2017
Forum: MultiCharts
Topic: unwanted resizing of a rectangle
Replies: 11
Views: 804

Re: unwanted resizing of a rectangle

What is your chart resolution?
by TJ
25 Apr 2017
Forum: MultiCharts
Topic: Quote Manage After Upgrade [SOLVED]
Replies: 6
Views: 369

Re: Quote Manage After Upgrade [SOLVED]

Your QM is hidden in the "other" monitor.

Right click on the task bar,

select to cascade the windows.
by TJ
25 Apr 2017
Forum: MultiCharts
Topic: Quote Manage After Upgrade [SOLVED]
Replies: 6
Views: 369

Re: Quote Manage After Upgrade [SOLVED]

Do you use multiple monitors?
by TJ
25 Apr 2017
Forum: MultiCharts
Topic: Quote Manage After Upgrade [SOLVED]
Replies: 6
Views: 369

Re: Quote Manage After Upgrade [SOLVED]

I just upgraded to MultiCharts64 Version 10.0 Release (Build 14188) after not using MC for a year or so. After the update, the quote manager window will not display. I see the icon show up on the toolbar, but the screen never maximizes. Is this a known bug with a fix? I have restarted the computer,...
by TJ
25 Apr 2017
Forum: MultiCharts
Topic: How to get the barnumber of the first displayed bar on the screen [SOLVED]
Replies: 6
Views: 443

Re: How to get the barnumber of the first displayed bar on the screen [SOLVED]

Hello Is there a way to know what is the BarNumber of the first bar displayed (visible) on the screen? I want to evenly space info on an horizontal line across my chart. I can't use a date/time reference because it won't be applicable to a tick charts Martin What do you mean by "evenly space i...
by TJ
23 Apr 2017
Forum: MultiCharts
Topic: Reloading charts: Is there a way to do it from code? [SOLVED]
Replies: 5
Views: 275

Re: Reloading charts: Is there a way to do it from code? [SOLVED]

if you want a function,
then put the commandline in the function.
Nobody is stopping you from doing that.
by TJ
23 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 783

Re: Pre-loop a chart [SOLVED]

Someone asked the same question not too long ago.

I have already given the solution.
It is in the forum somewhere.
No pre-loop required.
by TJ
23 Apr 2017
Forum: MultiCharts
Topic: Reloading charts: Is there a way to do it from code? [SOLVED]
Replies: 5
Views: 275

Re: Reloading charts: Is there a way to do it from code? [SOLVED]

arjfca wrote:Hello

I know that I use CTRL +R or a command line but, is it possible to use a code to reload the chart by itself. I need to do it at least every week for all my charts

Martin



put the commandline in your code.
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Repeating Bar counter for trade exit [SOLVED]
Replies: 5
Views: 312

Re: Repeating Bar counter for trade exit [SOLVED]

I thought I would post this in case it might help some in the future. TJ thanks for the input as it got me thinking. I know the concepts are basic but sometimes the easy stuff still trips me up. So I solved the issue by creating a simple counter. It now works on historical data only and places a re...
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOG script [SOLVED]

One more thing... in my code I also have: if ((o-c)/o)<THR this means that the entry will be triggered only for the next tick of the next hourly bar as in the moment of the calculation I don't know the close of the current bar. Is it correct? Please use a streaming papertrading account to test your...
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOG script [SOLVED]

Without IOG, Your logic is evaluated at the end of the bar (EOB). If the BUY/SELL condition is MET ... the order will be generated at the NEXT bar. With IOG, Your logic is evaluated EVERY tick. If the BUY/SELL condition is MET ... the order will be generated at the NEXT tick. IOG is about ORDER GEN...
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOG script [SOLVED]

auato wrote:oh Thank you @TJ. I was convinced that after IOG enabling all would become related to tick.




That's why I asked you to read AGAIN and read CAREFULLY.
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOB script [SOLVED]

auato: Let's go through the Wiki together Let's get a few things straight: 1. The keyword is IntraBarOrderGeneration . ie as the name implies, it is for Order Generation , nothing else. 2. The first line in the definition: Toggles intra-bar order generation flag on or off. 3. Keyword Usage: If set t...
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOB script [SOLVED]

Sorry for the typo. Yes, I mean IOG. :D :: I would like to think on the current hourly bar and not the current tick. I will say it again, Please go to wiki and read the definition again carefully . If you need help interpreting any specific passage , please copy and paste the passage here. ie. whic...
by TJ
22 Apr 2017
Forum: MultiCharts
Topic: Hourly bars values in IOG script [SOLVED]
Replies: 11
Views: 474

Re: Hourly bars values in IOB script [SOLVED]

In a IOB script running with hourly time resolution how can I get easily the high, close, low, open values for the previous hourly bars? Thank you What is IOB? Do you mean IOG? Please go to wiki and read the definition again carefully. If you need help interpreting any specific passage, please copy...
by TJ
21 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 783

Re: Pre-loop a chart [SOLVED]

Hello, is it possible to pre-loop a complete chart and start a final calculation after that? Idea: I need the lastDayOfWeek, lastDayOfMonth and lastDayOfYear for a calculation. I can calc that with i.e. dayOfMonth(date) < dayofMonth(date[1]). Here I need the value a day earlier ( at the lastDayOfWe...
by TJ
20 Apr 2017
Forum: MultiCharts
Topic: HOW to Update Plotting
Replies: 5
Views: 382

Re: HOW to Update Plotting

I'm searching a way to update the TLines and texts of my code without RECALCULATE all the code. I have a code which identifies some levels at certain conditions and when it finds that level, it plots an orizontal trendline with some text at the end of the trend line. This way the code claculate the...
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Repeating Bar counter for trade exit [SOLVED]
Replies: 5
Views: 312

Re: Repeating Bar counter for trade exit [SOLVED]

So...it will exit on the exact bar number specified (with the proper exit displayed "ExitL/ExitS). In this case 240 but if I change that to any other number say 500 it then exits on 500 etc..... It seems to start of properly but fails to repeat at the specified interval. My loop programing is ...
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Not valid float point operation [SOLVED]
Replies: 7
Views: 241

Re: Not valid float point operation [SOLVED]

andriuking: You need to develop some good coding habits. The most important being... do one thing at a time. You need to layout your variables in detail. This is especially important when you are dealing with multiple data in your logic. Here's how I would code it: var: c10( c, data10 ); c11( c, dat...
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Alternate editor for Powerlanguage [SOLVED]
Replies: 7
Views: 319

Re: Alternate editor for Powerlanguage [SOLVED]

I recall someone here once said he uses another editor for coding,
and with one click he could transfer the code back to PLE for compiling.

I don't remember which editor he was using; he said it was a free download, and the editor has a lot of customization capabilities.
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Alternate editor for Powerlanguage [SOLVED]
Replies: 7
Views: 319

Re: Alternate editor for Powerlanguage [SOLVED]

TJ, dunno how long you've been programming, but I've been doing it for 35 years. It's not that languages are smart, just the opposite. Gotta remember they were written by humans ;) :: Lew If you have been programming for 35 yrs, then you are using the wrong tools. MultiCharts.net might be more suit...
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Not valid float point operation [SOLVED]
Replies: 7
Views: 241

Re: Not valid float point operation [SOLVED]

Please see post #1 and post #2
viewtopic.php?t=11713
by TJ
19 Apr 2017
Forum: MultiCharts
Topic: Alternate editor for Powerlanguage [SOLVED]
Replies: 7
Views: 319

Re: Alternate editor for Powerlanguage [SOLVED]

:: variables don't seem to get updated well in functions called from a signal program, :: This is a Procedural Language. The script is read line-by-line, from the top to the bottom. All variables will be updated according to its place in the script. If your variables are not updated, you should che...
by TJ
18 Apr 2017
Forum: MultiCharts
Topic: 1 min SPY heidin ashi IB data- chart is messed up. [SOLVED]
Replies: 3
Views: 226

Re: 1 min SPY heidin ashi IB data- chart is messed up. [SOLVED]

the chart called cobra turned out to be a internet problem according to IB. there were multiple reloads in the morning to try and fix the problem. near the end of the trading session the chart looked normal after a reload. Hmmmm. TJ, its sort of weird that you mostly are the only one who cares and ...
by TJ
18 Apr 2017
Forum: MultiCharts
Topic: Repeating Bar counter for trade exit [SOLVED]
Replies: 5
Views: 312

Re: Repeating Bar counter for trade exit [SOLVED]

In your code, you have:

Code: Select all

If ..... Symbol_CurrentBar = 100 then begin


What happens when Symbol_CurrentBar = 101 ?
by TJ
17 Apr 2017
Forum: MultiCharts
Topic: Setstoploss, Setprofittarget in SA mode.
Replies: 3
Views: 274

Re: Setstoploss, Setprofittarget in SA mode.

tony wrote:I'm 99% certain price filled at the broker. I'm 100% certain outside of setstoploss and setprofittarget.



If you are not sure, then why are you answering? There are no brownie points for participation.
by TJ
17 Apr 2017
Forum: MultiCharts
Topic: 1 min SPY heidin ashi IB data- chart is messed up. [SOLVED]
Replies: 3
Views: 226

Re: 1 min SPY heidin ashi IB data- chart is messed up. [SOLVED]

please view chart and tell me what happened. Jeffib 1 min spy heikin ashi ib data 170417.jpg A cobra just woke up? Can't tell you more without background detail. Can you describe what is wrong? Do you have a reference chart for comparison? What time in the morning did you start the MultiCharts? Do ...
by TJ
17 Apr 2017
Forum: MultiCharts
Topic: Powerlanguage Function/studies Reference [SOLVED]
Replies: 15
Views: 908

Re: Powerlanguage Function/studies Reference [SOLVED]

Oh..REALLY? The only place built-in functions/studies were described must have been in the Easylanguage "Function and Reserved Words Reference" on the TS site. And the link is dead for at least a year. Yes, download the free ebook and you are all set. There are lots of copies on the web.
by TJ
17 Apr 2017
Forum: MultiCharts
Topic: Powerlanguage Function/studies Reference [SOLVED]
Replies: 15
Views: 908

Re: Powerlanguage Function/studies Reference [SOLVED]

Zheka wrote:Actually, other basic array functions (VarianceArray and SortArray) process arrays from an index of 1 rather than 0!



This has been a long time EasyLanguage legacy.

It is part of programming's idiosyncrasies.
Just ignore the zero and always start with one and you will be ok.
by TJ
14 Apr 2017
Forum: MultiCharts
Topic: MC 9+ auto trade settings for renko bricks causes multiple buys [SOLVED]
Replies: 6
Views: 442

Re: MC 9+ auto trade settings for renko bricks causes multiple buys [SOLVED]

Thank you TJ, unfortunately the signal that I use is a paid for/protected code signal. One that I purchased after much research. It works supremely well on Candles, Heikin Ashi, OHLC Bars. However on symbols SSO and also SDS (the inverse of SSO) using: Renko (box size 0.01 fixed price, 1 day resolu...
by TJ
13 Apr 2017
Forum: MultiCharts
Topic: MC 9+ auto trade settings for renko bricks causes multiple buys [SOLVED]
Replies: 6
Views: 442

Re: MC 9+ auto trade settings for renko bricks causes multiple buys [SOLVED]

MC 9+ auto trade settings for renko bricks causes multiple buys in a short period of time. Lucky it was a IB paper trade account and not my real IB cash account as the multiple trades maxed out the 500k real quick (1min)! I have used renko as the back tests provide superior profits, settings .01 pe...
by TJ
13 Apr 2017
Forum: MultiCharts
Topic: Rounding before the zero [SOLVED]
Replies: 3
Views: 230

Re: Rounding before the zero [SOLVED]

Hi all there are some way to round the numbers before the zero? for example, i have the function: TrdQty = IntPortion (Capital / close); this results should be for eg: 3663 but i would like to have 3660 - 3665 etc... i know perfectly the function: JK_Math_RoundToNearest. but that works only for fra...
by TJ
12 Apr 2017
Forum: MultiCharts
Topic: Keeping Trendline drawn by indicator
Replies: 2
Views: 196

Re: Keeping Trendline drawn by indicator

Hello How can I keep on the chart trendlines that are drawn with an indicator. I lost them whenever I change the scale and the indicator recalculated. Martin The TL should stay on the chart even when you change the scale or recalculate. Unless... your code logic is transient. ie. after your recalc,...
by TJ
11 Apr 2017
Forum: MultiCharts
Topic: How to set Orange color on trend line [SOLVED]
Replies: 7
Views: 402

Re: How to set Orange color on trend line [SOLVED]

Code: Select all


Tl_SetColor( TLNumber , Orange);

by TJ
11 Apr 2017
Forum: MultiCharts
Topic: How to set Orange color on trend line [SOLVED]
Replies: 7
Views: 402

Re: How to set Orange color on trend line [SOLVED]

arjfca wrote:Hello

I want to draw a trendline with the Orange color

Variable:
Orange (rgb(255,116,21));

Tl_SetColor(TL, Orange);
The trendline color is grey

Any idea

Martin



Please post your code, including the declaration and drawing of the TL.
by TJ
08 Apr 2017
Forum: MultiCharts
Topic: workspaces are not version specific [SOLVED]
Replies: 1
Views: 221

Re: workspaces are not version specific [SOLVED]

This is due to your Windows operating system's file association.

Open the File Manager,
find the file,
then click on the property,
you can make your settings there.
by TJ
07 Apr 2017
Forum: MultiCharts
Topic: Calculate Forex Pip Value
Replies: 4
Views: 323

Re: Calculate Forex Pip Value

mcjohn wrote:Thanks, however, that did not get me what I was looking for. For example, if there is a 10,000 size lot of EURUSD the value of a pip is $1.00. Using the formula above it returns a value of 100,000.



You have to change the symbol's Big Point Value in the QuoteManager.
by TJ
06 Apr 2017
Forum: MultiCharts
Topic: Rejected orders at 17 ET ( IB and LMAX) [SOLVED]
Replies: 3
Views: 283

Re: Rejected orders at 17 ET ( IB and LMAX) [SOLVED]

Hello everyone, I've got a problem with LMAX and InteractiveBrokers. I'm testing some demo strategies on these two brokers and both of them show me the same mistake : when an order is sent at 17 et (11 pm in Italy) it gets refused or cancelled by the broker. With IB the signal stays active whilst w...
by TJ
05 Apr 2017
Forum: MultiCharts
Topic: Scanner data issues
Replies: 3
Views: 212

Re: Scanner data issues

Still, the charts count the days bars, although with different amounts of data from the two sources. Suppose there is history to build charts and there is a test to find the start of the day that the scanner cannot. Maybe I could try storing the data in the study. Have you read the explanation abou...
by TJ
04 Apr 2017
Forum: MultiCharts
Topic: Scanner data issues
Replies: 3
Views: 212

Re: Scanner data issues

IB data are compressed to approx 250~300 milliseconds. Please see IB website for detail.

Go to advanced search