Search found 39 matches

by Spikehog
17 May 2017
Forum: MultiCharts
Topic: Volume
Replies: 2
Views: 1196

Volume

Hello, I want to make use of the built-in function: Volume to do analysis on intraday volume. The problem comes as I run it on current session. There is a discrepancy between values of the chart and output of the powerlangauge editor. Here is the example at 1515 on 17/5/2017 the volume was 3,318 as ...
by Spikehog
26 Jan 2017
Forum: MultiCharts
Topic: Exit problem for specific entries
Replies: 7
Views: 1818

Re: Exit problem for specific entries

Mazinguer, I put entries and exits in different signals. As you can see on the picture above, the 'DayTightRange_EC' and 'CL75BoxV2.2_EC' are the entry signals and the 'ExitControl_SwitchCase' is the exit signal which is the heart of risk control to give exit instructions to both entry signals. In t...
by Spikehog
26 Jan 2017
Forum: MultiCharts
Topic: Exit problem for specific entries
Replies: 7
Views: 1818

Re: Exit problem for specific entries

Mazinguer, thank you for your detailed and clear explanation. I have checked again if the the problem is to do with variables. I printed out every single variable (which was related to the exit orders) when the conditions were met. The entry name and exit price were right. And I do not have a clue w...
by Spikehog
25 Jan 2017
Forum: MultiCharts
Topic: Exit problem for specific entries
Replies: 7
Views: 1818

Re: Exit problem for specific entries

HJ, I just updated the code. Please advise where the problem is. Thanks
by Spikehog
25 Jan 2017
Forum: MultiCharts
Topic: Exit problem for specific entries
Replies: 7
Views: 1818

Exit problem for specific entries

I have 2 SELL entries which have separate exits. I use PRINT to make sure that all conditions are met. And the PRINT statements are shown in the output as per the conditions. However both BUYTOCOVER orders are not executed when stop prices (where the orange lines are) are met. I do not know what has...
by Spikehog
05 Oct 2016
Forum: MultiCharts
Topic: Unknow Error in StudyServer [SOLVED]
Replies: 1
Views: 1175

Unknow Error in StudyServer [SOLVED]

Hi there, I keep getting this message:

------ Compiled with error(s): ------
Unknown Error in StudyServer
line 0, column 0
Unknown Error in StudyServer
line 0, column 0

Can anyone help?

Thanks!
by Spikehog
07 Aug 2016
Forum: MultiCharts
Topic: Discrepancy while using PosTradeIsOpen
Replies: 2
Views: 1230

Re: Discrepancy while using PosTradeIsOpen

The chart resolution is 1 minute.
by Spikehog
07 Aug 2016
Forum: MultiCharts
Topic: Discrepancy while using PosTradeIsOpen
Replies: 2
Views: 1230

Discrepancy while using PosTradeIsOpen

On last Friday Hong Kong time, I had two strategies on a same workspace, they were strategies A and B. The entry order of strategy A was completed at 9:47:17 AM and the entry order of strategy B was completed at 10:18:48 AM. Strategy A has an end of day exit when time is >= 2344 and Strategy B has a...
by Spikehog
28 Apr 2016
Forum: MultiCharts
Topic: I am stuck and need helps on debugging
Replies: 3
Views: 1596

Re: I am stuck and need helps on debugging

JoshM, it's stop order I want, not stop limit order. Thanks for your help anyway.

I have emailed the all the details to Henry to have a look. Hopefully, Henry will give me positive feedback.

Best regards!
by Spikehog
28 Apr 2016
Forum: MultiCharts
Topic: Something wrong with the function I created
Replies: 1
Views: 1096

Something wrong with the function I created

I created a function: DrawDown which is based on the keyword "OpenEntryMinProfit". Below is what I have written: Variables: var0( 0 ); var0 = absvalue(OpenEntryMinProfit(0)*0.02); If Date[0] <> Date[1] or marketposition = 0 then var0 = 0; If BarsSinceEntry = 19 then DrawDown = var0; Then, I created ...
by Spikehog
26 Apr 2016
Forum: MultiCharts
Topic: I am stuck and need helps on debugging
Replies: 3
Views: 1596

I am stuck and need helps on debugging

I have a strategy(let's say strategy A) in which there are about 50 lines of coding I want to reuse them again in other strategies. So I created few custom functions based on these lines and used these newly created functions instead of the 50 lines of coding in strategy B(everything remains the sam...
by Spikehog
26 Feb 2016
Forum: MultiCharts
Topic: Exits using stop [SOLVED]
Replies: 2
Views: 1245

Exits using stop [SOLVED]

If marketposition <> 0 and Time >= 1400 then Begin If OpenEntryMaxProfitPerContract(0)*0.02 > 400 then LXNight = PosTradeEntryPrice(0,0) + (OpenEntryMaxProfitPerContract(0)*0.02*0.800) else If OpenEntryMaxProfitPerContract(0)*0.02 > 350 and OpenEntryMaxProfitPerContract(0)*0.02 <= 400 then LXNight ...
by Spikehog
20 Nov 2015
Forum: MultiCharts
Topic: Adding more contracts [SOLVED]
Replies: 5
Views: 2685

Re: Adding more contracts [SOLVED]

Hello Henry, is there anything to do with intrabarordergeneration?
by Spikehog
19 Nov 2015
Forum: MultiCharts
Topic: Adding more contracts [SOLVED]
Replies: 5
Views: 2685

Re: Adding more contracts [SOLVED]

Henry, Thanks for the reply. I have done it according to your suggestion. However, the same entries came out again when I did the backtest. Is it something to do with coding or backtesting?
by Spikehog
17 Nov 2015
Forum: MultiCharts
Topic: Adding more contracts [SOLVED]
Replies: 5
Views: 2685

Adding more contracts [SOLVED]

I want to add more contracts when the direction is favorable to me. Here is my logic: after a first buy entry is completed, a second buy entry will be added at stop price(entryprice + 65 pips), a third buy entry will be added at stop price(entryprice + 130 pips) and a fourth buy entry will be added ...
by Spikehog
04 Nov 2015
Forum: MultiCharts
Topic: NumericRank Function
Replies: 1
Views: 1169

NumericRank Function

Regarding the "NumbericRank" function, it returns the rank of a specified price in a sorted price series. To my understanding, it basically looks for the location (rank) of the value PriceToRank in the list. Correct me if I am wrong: it can return any number between 0 to 9 if the number of bars to c...
by Spikehog
11 Sep 2015
Forum: MultiCharts
Topic: To print out the variables on every five minutes [SOLVED]
Replies: 4
Views: 1889

Re: To print out the variables on every five minutes [SOLVED]

Done. I unclick the "Update on every tick" under the Advanced section of Properties in the Format Study window. And I used to "mod" reserved word which saved o lot of rows and kept the codings nice & tidy. Thank you very much for your help.
by Spikehog
09 Sep 2015
Forum: MultiCharts
Topic: To print out the variables on every five minutes [SOLVED]
Replies: 4
Views: 1889

To print out the variables on every five minutes [SOLVED]

Hello there, I want to print out the variables on every five minutes in the output of powerlanguage editor. However, the codes I have written below do more than I need i.e. it keeps printing out the same variables as new ticks come in. Can you please have a look what went wrong? Thanks Inputs: H1(0)...
by Spikehog
16 Jul 2015
Forum: MultiCharts
Topic: To recall the existing variables at any moment [SOLVED]
Replies: 3
Views: 2638

Re: To recall the existing variables at any moment [SOLVED]

I am sorry. I didn't make myself clear. Those values on y-axis were calculated based on Data1 and Data2. And Data1 and Data2 were on two different time resolution i.e. 1 min for Data1 and 1 hr Data2. What I observed was that the values based on Data2 were updated every hour, even though I printed ou...
by Spikehog
04 Jun 2015
Forum: MultiCharts
Topic: To recall the existing variables at any moment [SOLVED]
Replies: 3
Views: 2638

To recall the existing variables at any moment [SOLVED]

Hello there, those values on the y-axis keep changing when the market is opened. I was wondering how I can recall those variables at any moment before its bars closed. For example, those values are circled in orange on the y-axis as per the screenshot, is it possible to get those values before each ...
by Spikehog
14 Jan 2015
Forum: MultiCharts
Topic: Looking for brokerage firms in Taiwan
Replies: 1
Views: 927

Looking for brokerage firms in Taiwan

Hi there, I am using the Multicharts English version now and I understand there is a Multicharts Chinese version in Taiwan. I would like to use my Multicharts to send orders to the brokers based in Taiwan. I was wondering if you know any local brokerage firms in Taiwan would be able to support my or...
by Spikehog
06 Jan 2015
Forum: MultiCharts
Topic: Scaling of chart setting
Replies: 1
Views: 958

Scaling of chart setting

Hi there, I have four indicators on the chart which are MACD on different timeframe resolution. And all of them are put into the same subchart. As time goes by, its output changes. Therefore I have to keep adjusting the maximum and minimum values under the User Defined of the Scaling section in orde...
by Spikehog
05 Dec 2014
Forum: MultiCharts
Topic: The output values in editor do not match with the chart
Replies: 6
Views: 2071

Re: The output values in editor do not match with the chart

Without seeing your code, it's hard to tell exactly what's going wrong. If you want to post the code (while removing any proprietary secrets), that would help in troubleshooting this. As an aside, I have never really trusted the "crosses below" command. What I do, instead, is see whether the previo...
by Spikehog
05 Dec 2014
Forum: MultiCharts
Topic: The output values in editor do not match with the chart
Replies: 6
Views: 2071

Re: The output values in editor do not match with the chart

Without seeing your code, it's hard to tell exactly what's going wrong. If you want to post the code (while removing any proprietary secrets), that would help in troubleshooting this. As an aside, I have never really trusted the "crosses below" command. What I do, instead, is see whether the previo...
by Spikehog
04 Dec 2014
Forum: MultiCharts
Topic: The output values in editor do not match with the chart
Replies: 6
Views: 2071

The output values in editor do not match with the chart

Hi there, I got two instruments on the same chart. Both are HSIZ14, data1 is in 1 min and data2 is in 5 mins(which is hidden). And I got MACD on data2 and its parameters are (12, 26, 9) which forms as an exit signal if MACDdivergence crosses under zero. Its coding is as following: If MACDDivergence ...
by Spikehog
25 Nov 2014
Forum: MultiCharts
Topic: Hang-Seng Index futures pre marketing opening period
Replies: 1
Views: 1116

Hang-Seng Index futures pre marketing opening period

does multicharts support auction orders during the daily pre marketing opening period?

https://www.hkex.com.hk/eng/market/dv_t ... market.htm

Thanks
by Spikehog
04 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Re: Email Alert

I tried out the outlook mail as well and I am afraid that it is not working neither. This function is very useful and important. I look forward to hearing from you soon when it is fully available. Thank you so much!
by Spikehog
03 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Re: Email Alert

I used the setting as the post #13 and I got the same error message. What can I do now? Please advise.
by Spikehog
03 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Re: Email Alert

I have never used this function since I bought MC. And I started using it few days ago, but its just not working. Are you using gmail?
by Spikehog
03 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Re: Email Alert

And this is the error message I got when I tested it.
by Spikehog
03 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Re: Email Alert

Hi TJ, I tried using gmail & yahoo, and it wasnt working at all. Let me show you the email alert setting as per attached. Thank you so much.
by Spikehog
03 Sep 2014
Forum: MultiCharts
Topic: Email Alert
Replies: 10
Views: 1972

Email Alert

Hi there, its just a quick question. The email alert is not working under the current version 8.8, isnt it? No matter is gmail, hotmail or whatsoever I am using, am I right?

Best regards,
Stephen
by Spikehog
20 Jul 2014
Forum: MultiCharts
Topic: Open, High, Low, Close on the status line in the chart
Replies: 1
Views: 832

Open, High, Low, Close on the status line in the chart

Hi there, is it possible to call a function which is able to get the Open, High, Low, Close on the status line in the chart? As the daily open, high, low, close from the bars might be not as same as those values on the status line and I need these four data as precise as possible which my calculatio...
by Spikehog
08 Jul 2014
Forum: MultiCharts
Topic: Day high of a 5 mins Chart is not correct
Replies: 1
Views: 1024

Day high of a 5 mins Chart is not correct

Hi there, The day high of HSI is 23424 as per the candlestick of chart attached which is different from the day high of the status line i.e. 23457. I tried a few times to reload the the data and the day high according to the bars was 23424 still. However when I adjusted its resolution to 1 day, the ...
by Spikehog
04 Jun 2014
Forum: MultiCharts
Topic: Handling signals from different strategies
Replies: 3
Views: 1043

Handling signals from different strategies

is MC able to handle signals from different strategies for the same instrument and same month at the same time(I dont want the strategies to be not affectd by each others even though one is to long and one is to short)?
by Spikehog
22 May 2014
Forum: MultiCharts .NET
Topic: Stop trading till next day
Replies: 1
Views: 1093

Stop trading till next day

Hi, is it possible to stop the system trading if the daily loss is over amount of money? I would be grateful if anyone could share the codes here. Thanks a lot.
by Spikehog
15 Apr 2014
Forum: MultiCharts .NET
Topic: Time and sales for an instrument
Replies: 5
Views: 1650

Re: Time and sales for an instrument

The multicharts I am using is not .net version. Is it possible to convert it into a .pla format please? Thanks!
by Spikehog
14 Apr 2014
Forum: MultiCharts .NET
Topic: Time and sales for an instrument
Replies: 5
Views: 1650

Re: Time and sales for an instrument

Hi Henry, I am very new to multicharts. The link you refer to is a .pln file. Please show how to import it into powerlanguage editor. Is this particular indicator applicable in all instruments such as HSI and HHI of HKFE which I am currently working on. Thanks
by Spikehog
13 Apr 2014
Forum: MultiCharts .NET
Topic: Time and sales for an instrument
Replies: 5
Views: 1650

Time and sales for an instrument

I would like to make a chart displaying time, price, volume & trade type ( ask/bid/below bid/above offer/between bid and ask). Does anyone know how the codes for this please? Thank you so much!

Go to advanced search