Hi Henry.
Thanks for the help. I will try those code options you mentioned.
Kind regards.
Search found 23 matches
- 09 Oct 2012
- Forum: MultiCharts
- Topic: Placing an exceptional intrabar order even with IOG = false [SOLVED]
- Replies: 2
- Views: 1083
- 08 Oct 2012
- Forum: MultiCharts
- Topic: Placing an exceptional intrabar order even with IOG = false [SOLVED]
- Replies: 2
- Views: 1083
Placing an exceptional intrabar order even with IOG = false [SOLVED]
Hi. I would like to know if is possible to code an intrabar order even with IOG = false. I mean, all my strategy is calculated on a closing basis and all orders are placed only after a new bar is generated. But there is one rare case, after knowing that the Opening price meets certain criteria, I wo...
- 01 Oct 2012
- Forum: MultiCharts
- Topic: Getting date and time
- Replies: 7
- Views: 1833
Re: Getting date and time
Hi. Finally I made some progress. I used the "for" loop to count the bars back until the Close Bar = Pivot Price is found. arrays: Pivpoint[](0), // this array stores all the pivot point prices Pivtime[](0); // this array stores all the pivot point times Value1 = LF_Pivots(RetraceTicks, SwingPrice, ...
- 30 Sep 2012
- Forum: MultiCharts
- Topic: Getting date and time
- Replies: 7
- Views: 1833
Re: Getting date and time
Hi Bowlesj3.
Thanks for the reply.
I think I have tried all the loops and got nothing. Maybe the code wasn't correct, which is not surprising as I am not an experienced programmer. I will try again and let you know if I achieved what I want.
Kind regards.
Thanks for the reply.
I think I have tried all the loops and got nothing. Maybe the code wasn't correct, which is not surprising as I am not an experienced programmer. I will try again and let you know if I achieved what I want.
Kind regards.
- 29 Sep 2012
- Forum: MultiCharts
- Topic: Getting date and time
- Replies: 7
- Views: 1833
Re: Getting date and time
Hi Henry, Thanks for the reply. I have a function somehow similar to Zig-Zag points that gives me the pivot points after the occurrence of some retracement on a closing basis. So, in almost instances, I only know the pivot price after some bars. I have all the pivot points stored in an array. After ...
- 27 Sep 2012
- Forum: MultiCharts
- Topic: Getting date and time
- Replies: 7
- Views: 1833
Getting date and time
Hi, I am having trouble on how to get the date and time of a certain bar and so I would like to ask MC or someone who wants to share its knowledge, if is possible to get the Date and Time of the last bar that closed at a certain price. I don't know if I am making myself clear, but the last bar is no...
- 17 Sep 2012
- Forum: MultiCharts
- Topic: Signal text in more than one line [SOLVED]
- Replies: 2
- Views: 1082
Re: Signal text in more than one line [SOLVED]
Hi Henry,
Thanks, that's what I was looking for.
Kind regards.
Thanks, that's what I was looking for.
Kind regards.
- 14 Sep 2012
- Forum: MultiCharts
- Topic: Signal text in more than one line [SOLVED]
- Replies: 2
- Views: 1082
Signal text in more than one line [SOLVED]
Hi,
Is there a way to show the signal text on the chart in more than one line?
Kind regards.
Is there a way to show the signal text on the chart in more than one line?
Kind regards.
- 11 Sep 2012
- Forum: MultiCharts
- Topic: Got an error "STD exception: invalid argument" [SOLVED]
- Replies: 3
- Views: 1841
Re: Got an error "STD exception: invalid argument" [SOLVED]
Hey Henry,
You rule!!
It worked.
This functions are so important to simplify the code and to maximize the strategy.
Just one more question, the "once cleardebug;" instruction should be placed in the beginning of the signal or is it irrelevant?
Thank you very much for the help.
Kind regards.
You rule!!
It worked.
This functions are so important to simplify the code and to maximize the strategy.
Just one more question, the "once cleardebug;" instruction should be placed in the beginning of the signal or is it irrelevant?
Thank you very much for the help.
Kind regards.
- 10 Sep 2012
- Forum: MultiCharts
- Topic: Got an error "STD exception: invalid argument" [SOLVED]
- Replies: 3
- Views: 1841
Got an error "STD exception: invalid argument" [SOLVED]
Hi,
After adding the following code:
I got this message "STD exception: invalid argument".
What is the problem with it?
Kind regards.
After adding the following code:
Code: Select all
condition3 = PosTradeEntryName(1,PosTradeCount(1)) <> "XXXXXXXXXXXX" ;
I got this message "STD exception: invalid argument".
What is the problem with it?
Kind regards.
- 10 Sep 2012
- Forum: MultiCharts
- Topic: Is it a glitch in Interactive Broker data [SOLVED]
- Replies: 15
- Views: 3222
Re: Is it a glitch in Interactive Broker data [SOLVED]
Hi.
Lately, in the last weeks I have seen some unusual spike lows and highs in ESTX50 and DAX futures.
Kind regards.
Lately, in the last weeks I have seen some unusual spike lows and highs in ESTX50 and DAX futures.
Kind regards.
- 03 Sep 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
Re: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi. Once again, thanks for your help. Your function _ZigZagV1 was really of my interest as it returns the turning points, so I could code some conditions and apply it on a strategy. I set up the inputs, changed the Pct to Pnts code, but I couldn't solve the "oReversingBar" issue. My programming leve...
- 03 Sep 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
Re: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi.
SP, thank you very much.
I would like to ask what should be the initial value for "oReversingBar".
I think it is "SwingPrice[1]", but I get error when compiling.
Kind regards.
SP, thank you very much.
I would like to ask what should be the initial value for "oReversingBar".
I think it is "SwingPrice[1]", but I get error when compiling.
Kind regards.
- 03 Sep 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
Re: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi again. I made some progression. Now I replicated the zigzag trend lines in an indicator only after the occurrence of the turning points, but I don't know why this code doesn't work when I try to use it as a function (without the plot code), and that is how I need it to work in order to implement ...
- 02 Sep 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
Re: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi Henry. After trying everything, I really couldn't make it. I don't know how to take only the inflection points. The best I could do was to replicate the zigzag trend lines in an indicator but with intermediate points in some cases between the inflection points. In these cases, it doesn't work cor...
- 28 Aug 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
Re: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi Henry,
Many thanks for the explanation.
I guess I need to code an array and store all the inflection points in order to reference the last three whenever I need them.
Again, thank you very much.
Kind regards.
Many thanks for the explanation.
I guess I need to code an array and store all the inflection points in order to reference the last three whenever I need them.
Again, thank you very much.
Kind regards.
- 26 Aug 2012
- Forum: MultiCharts
- Topic: How to take the inflection points on ZIG-ZAG indicator [SOLVED]
- Replies: 11
- Views: 7415
How to take the inflection points on ZIG-ZAG indicator [SOLVED]
Hi, I would like some help from MS support, if possible, on how to take the inflection points of ZIG-ZAG indicator. I need to code the last 3 inflection points in order to detect higher highs, lower highs, lower lows and higher lows. I can't really figure out how to do it. It seems more complex than...
- 18 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Re: Renko chart in live strategy running
Hi Katrin.
If IOG enabled means "Enable Intra-bar Order Generation" checked, so I must say I didn't enable IOG.
I tried everything and I can't see where is the problem.
Kind regards.
If IOG enabled means "Enable Intra-bar Order Generation" checked, so I must say I didn't enable IOG.
I tried everything and I can't see where is the problem.
Kind regards.
- 14 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Re: Renko chart in live strategy running
1) Before running data playback and after running data playback images. Note the connecting lines of the trades. 2) I am using a new workspace with only one chart. 3) I am using this code to entry/exit long positions: if condition1 and condition2 and not(condition3) and not(condition4) then var0 = v...
- 12 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Re: Renko chart in live strategy running
Hi again. There is another issue I came across. On real time chart, there are cases where the boxes exceed the box size defined on Format Instrument. Then, when a new period starts, the box divides in two, where the first has the box size and the second takes the size value between the close of the ...
- 12 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Re: Renko chart in live strategy running
Hi. I already discovered why strategy performance based on history and data playback doesn't match. When I run the data playback, all the orders are executed at the close of the next bar. (next bar is the bar where the order should be placed when the current bar generates a signal) Before I run the ...
- 09 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Re: Renko chart in live strategy running
Hi everyone.
Thanks for the reply and the file.
Was this the reason why strategy performance based on history and data playback didn't match?
Kind regards.
Thanks for the reply and the file.
Was this the reason why strategy performance based on history and data playback didn't match?
Kind regards.
- 05 Aug 2012
- Forum: MultiCharts
- Topic: Renko chart in live strategy running
- Replies: 15
- Views: 5806
Renko chart in live strategy running
Hi everyone. I came across an issue using Renko charts and I would like Multicharts support to explain how to resolve this issue. I believe many people already experienced these issues. First of all, backtesting a strategy using Renko charts results in false entry/exit prices for any strategy. Secon...