Search found 163 matches

by maxmax68
06 Jan 2021
Forum: MultiCharts
Topic: Tick Bar Charts and TradeVolume vs Ticks Count [SOLVED]
Replies: 2
Views: 830

Tick Bar Charts and TradeVolume vs Ticks Count [SOLVED]

Hi, if I use a chart based on tick bars I suppose the volume of the bar is the tick count. 100 ticks bar means a bar composed from 100 ticks so for me volume should be 100. In format instruments I see "Build Volume on: Trade Volume". And in that case you can have 100 ticks bars with volume > 100. Is...
by maxmax68
17 Sep 2020
Forum: MultiCharts
Topic: RecalcLastBarAfter(): need some clarification.
Replies: 1
Views: 731

RecalcLastBarAfter(): need some clarification.

Hello, I am running some tests with the "Print" function and the "RecalcLastBarAfter()" function, and I need some clarification. I am running on a chart a Signal with this simple code: [IntrabarOrderGeneration = True]; Var: intrabarpersist TickCounter(0); Var: intrabarpersist BarCounter(0); RecalcLa...
by maxmax68
28 Oct 2019
Forum: MultiCharts
Topic: PlaceMarketOrder [SOLVED]
Replies: 1
Views: 779

PlaceMarketOrder [SOLVED]

Hello, in a previous topic I was given these instructions for using the keyword PlaceMarketOrder(isbuy,isentry,contracts) ;: PlaceMarketOrder(false, false, 2); // Long +2 to Flat 0 PlaceMarketOrder(false, true, 3); // Long +2 to Short -1 PlaceMarketOrder(true, false, 2); // Short -2 to Flat 0 PlaceM...
by maxmax68
08 Oct 2018
Forum: MultiCharts
Topic: Assignment is allowed only for variables or array elements
Replies: 8
Views: 2857

Re: Assignment is allowed only for variables or array elements

Why complicate things with useless functions when it would be enough to use variables? Vars: Maxtradeclose(-999999), Mintradeclose(999999), Maxtradehigh(-999999), Mintradelow(999999); if marketposition <> 1 then Maxtradeclose=-999999; if marketposition=1 and C>Maxtradeclose[1] then Maxtradeclose=C; ...
by maxmax68
29 Aug 2018
Forum: MultiCharts
Topic: ASCII mapping and chart resolution [SOLVED]
Replies: 4
Views: 1514

Re: ASCII mapping and chart resolution [SOLVED]

Hi gianluca71,
try to import 1 minute data.
Maybe multiple timeframes are based on 1 minute data.
by maxmax68
27 Apr 2018
Forum: MultiCharts
Topic: MULTICHARTS 12.0 BETA 1
Replies: 38
Views: 15842

Re: MULTICHARTS 12.0 BETA 1

Hello Henry, for any question or information about T3Open (the java platform to connect Multicharts to Webank) your engineers can contact: Technical Support Team t3open.supporto@par-tec.it Probably, they can give you all the informations and the help you need to connect correctly Multicharts with We...
by maxmax68
02 Apr 2018
Forum: MultiCharts
Topic: Enter signal cross equity
Replies: 12
Views: 5545

Re: Enter signal cross equity

This answer is a cut and paste from the net: ... Mike, Not sure what help you wanted but using global variables itself is very easy. Presuming that GV is installed within Multicharts, here's some code I use to send data from one chart to another: Indicator in the sending chart: if LastBarOnChart and...
by maxmax68
01 Apr 2018
Forum: MultiCharts
Topic: Enter signal cross equity
Replies: 12
Views: 5545

Re: Enter signal cross equity

Maybe you can use Mazinguer's suggestion and global variables.
On a chart that does not trade you can put your system and with GV you can pass flag to a chart that submits buy-sell orders
by maxmax68
21 Jan 2018
Forum: User Contributed Studies and Indicator Library
Topic: TDI - Traders Dynamic Index ... or something similar
Replies: 0
Views: 2750

TDI - Traders Dynamic Index ... or something similar

// "TDI - Traders Dynamic Index" Inputs: price(Close), rsi.length(13), band.length(34), fastMA.length(2), slowMA.length(7), overbougth.level(68), midpoint.level(50), oversold.level(32); Vars: r(0), ma(0), band.offset(0), upper.band(0), lower.band(0), mid.band(0), fastMA.rsi(0), slowMA.rsi(0); r=RSI...
by maxmax68
19 Jan 2018
Forum: MultiCharts
Topic: SHORT SELLING STOCK WITH WEBANK
Replies: 5
Views: 1683

Re: SHORT SELLING STOCK WITH WEBANK

I'm sorry Paolo, but I have not used MC with WeBank for several months, so I'm not updated on any improvements. Please, search for WeBank in the forum and you will find some items. As far as my experience is concerned, I have always found problems in synchronizing the strategy applied to the single ...
by maxmax68
17 Jan 2018
Forum: MultiCharts
Topic: SHORT SELLING STOCK WITH WEBANK
Replies: 5
Views: 1683

Re: SHORT SELLING STOCK WITH WEBANK

I made a search in the forum and found this:

viewtopic.php?f=1&t=12512&p=60637&hilit=INTRADAY#p59617

An old problem that unfortunately has not been solved to this day.
by maxmax68
16 Jan 2018
Forum: MultiCharts
Topic: SHORT SELLING STOCK WITH WEBANK
Replies: 5
Views: 1683

Re: SHORT SELLING STOCK WITH WEBANK

Hello danigiu, with WeBank using SellShort orders you can go short on future (Ftse Mib, Dax and their mini version). Sorry, I do not remember if it is possible to flag somewhere in WeBank platform to say that all Multichart's Buy&Sell orders must be seen as Intraday orders from WeBank. Best regards ...
by maxmax68
08 Jun 2017
Forum: MultiCharts
Topic: Kalman filter [SOLVED]
Replies: 2
Views: 1398

Re: Kalman filter [SOLVED]

Hello Henry,
I tried to understand how a Kalman filter works, to program my own version, but unfortunately the math on which it is based is beyond my math ability

Best regards
Max
by maxmax68
03 Jun 2017
Forum: MultiCharts
Topic: Kalman filter [SOLVED]
Replies: 2
Views: 1398

Kalman filter [SOLVED]

Hello,
is there any member of the forum that could provide the powerlanguage code of the Kalman filter?

Thanks
Max
by maxmax68
30 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

Hi Helmut, unfortunately what you propose does not meet the requirements of signalworks I need the info: today is the last trading day of a month. (not a day later on beginning of the new month). Your code surely catch all last trading days for a timeseries but with a day of delay !!! Then you plot ...
by maxmax68
29 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

Hello Helmut, In 2010 the last trading day in SPY was on Friday 05/28, in 2013 Thursday 03/28 . In this cases a modification is required. the question is why those days were the last trading day of the month ? I suppose it is not a bug of the code but an anomaly of the market. Let us know if you dis...
by maxmax68
28 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

Hello signalworks, Only the leap-year calc in your code: // february case 2: if mod(year(date),4)=0 then begin should be: (mod(year(date), 4) = 0 and mod(year(date), 100) <> 0) or mod(year(date), 400) = 0 yes, I like to keep it simple. The correct version will only make a difference in 2100, but the...
by maxmax68
27 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

Hello signalworks, Thanks to you for your ideas above. I would be glad about your comments/criticism. please check your code, maybe the conditions in the switch-cases are not correct. or (owd = 0 and oda = 29) or (owd = 6 and oda = 30) I would say: or (owd = 5 and (oda = 29 or oda = 30)) You probabl...
by maxmax68
25 Apr 2017
Forum: MultiCharts
Topic: How to get the barnumber of the first displayed bar on the screen [SOLVED]
Replies: 6
Views: 2815

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

Hello arjfca, please vote for this feature request. https://www.multicharts.com/pm/public/multicharts/issues/MC-2218 In my opinion the possibility to draw boxes at fixed pixels is far more easier than using barnumber or datetime !!! In next release of Multicharts it would be nice to have x and y pix...
by maxmax68
23 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

Hello signalworks,
I need the value a day earlier
what do you mean for a day earlier ?

For my understanding you recalc on close of every last bar

Code: Select all

i.e. dayOfMonth(today date) < dayofMonth(yesterday date)
and can not look into the future.
by maxmax68
22 Apr 2017
Forum: MultiCharts
Topic: Pre-loop a chart [SOLVED]
Replies: 16
Views: 3947

Re: Pre-loop a chart [SOLVED]

is it possible to pre-loop a complete chart and start a final calculation after that?
Hello signalworks,
you could try with a condition

Code: Select all

If LastBarOnChart the begin
...
end;
Best regards.
Massimo
by maxmax68
21 Apr 2017
Forum: User Contributed Studies and Indicator Library
Topic: GET-SET Signals for GV
Replies: 0
Views: 2723

GET-SET Signals for GV

// // By Massimo Rizzi (Italy) // // Signal to set a Global Variable with the marketposition(0)*currentcontracts of the chart // and to send it to the Get-Signal // // You can choose the GV-Index number // SHIFT+CLICK on text boxes to Active-Pause or to Reset to zero GV if paused // [ProcessMouseEv...
by maxmax68
11 Apr 2017
Forum: MultiCharts
Topic: crazy orders: can you help me to analyze my issue? [SOLVED]
Replies: 6
Views: 1971

Re: crazy orders: can you help me to analyze my issue? [SOLVED]

You can use ChangeMarketPosition if you want chart in synch with your position.
Probably your solution is to insert a delay before the new check of broker position and new PlaceMarketOrder.
by maxmax68
11 Apr 2017
Forum: MultiCharts
Topic: crazy orders: can you help me to analyze my issue? [SOLVED]
Replies: 6
Views: 1971

Re: crazy orders: can you help me to analyze my issue? [SOLVED]

Hello auato, PlaceMarketOrder sends market order to the broker but is invisible for the trading engine of the chart, so does not change the market position of the chart. To change the market position of the chart you have to use it with ChangeMarketPosition. Hope this could be useful. Best regards M...
by maxmax68
18 Feb 2017
Forum: MultiCharts
Topic: Is possible to export GV to an external C application ?
Replies: 2
Views: 1011

Is possible to export GV to an external C application ?

Hello,
is possible for Multicharts to export the value stored in a global variable to an external application in language C ?

Best regards
Massimo
by maxmax68
08 Feb 2017
Forum: MultiCharts
Topic: PlaceMarketOrder - Usage ? [SOLVED]
Replies: 5
Views: 1681

Re: PlaceMarketOrder - Usage ? [SOLVED]

Example If MarketPosition = 2 then PlaceMarketOrder(true, true, 2); Will place buy market order for 2 contracts if current MarketPosition = 2. Unfortunately, the example is not exhaustive, as well as it is not complete the description of the keyword "PlaceMarketOrder". In fact there is no hint that...
by maxmax68
08 Feb 2017
Forum: MultiCharts
Topic: PlaceMarketOrder - Usage ? [SOLVED]
Replies: 5
Views: 1681

Re: PlaceMarketOrder - Usage ? [SOLVED]

Hello TJ,
excuse me if I will be rude,
please sometimes give an answer,
do not replay always with a question.
If you know please give your answer for all users.

Best regards
Massimo
by maxmax68
07 Feb 2017
Forum: MultiCharts
Topic: PlaceMarketOrder - Usage ? [SOLVED]
Replies: 5
Views: 1681

PlaceMarketOrder - Usage ? [SOLVED]

PlaceMarketOrder Places market order at the broker without position changing on the chart. Usage PlaceMarketOrder(IsBuy, IsEntry, Contracts) Where: IsBuy - indicates whether order is buy or sell; IsEntry - indicates whether order is entry or exit; Contracts - indicates the number of contracts/share...
by maxmax68
07 Feb 2017
Forum: MultiCharts
Topic: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]
Replies: 8
Views: 2100

Re: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]

Hello,

In the description of PL Editor I see that PlaceMarketOrder is a StdFunction that returns True/False.

I suppose that is always false.
True when it submits an order.

Best regards.
Massimo
by maxmax68
05 Feb 2017
Forum: MultiCharts
Topic: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]
Replies: 8
Views: 2100

Re: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]

Then the code is correct.
I hope for an explanation from MC Support.
by maxmax68
05 Feb 2017
Forum: MultiCharts
Topic: Example of using DLL in Multicharts
Replies: 4
Views: 4316

Re: Example of using DLL in Multicharts

Just import the SDK type library, write your code and then compile your DLL. Hello hughesflemming, thank you very much for the example, you were very kind. I'm just the at first steps with the DLL,and not being a programmer at this moment I confess to being very confused. The words "import SDK libr...
by maxmax68
05 Feb 2017
Forum: MultiCharts
Topic: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]
Replies: 8
Views: 2100

Re: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]

I would say, the old code is wrong.
Strange, although unlikely.
The code comes from Dave Masalov

viewtopic.php?f=1&t=8414&p=42097&hilit= ... der#p42097
by maxmax68
05 Feb 2017
Forum: MultiCharts
Topic: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]
Replies: 8
Views: 2100

Re: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]

Hello TJ,
yes I looked in the wiki, but my question was for the conditional use =TRUE of PlaceMarketOrder that I can not find described anywhere.
Please, be so kind to explain .

Thank you
Best regards
Massimo
by maxmax68
04 Feb 2017
Forum: MultiCharts
Topic: if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]
Replies: 8
Views: 2100

if PlaceMarketOrder(True, True, value1) = True ? [SOLVED]

Hello,
in a old post I found this code

Code: Select all

if PlaceMarketOrder(True, True, value1) = True then
ChangeMarketPosition(value1, close, "Final Buy");
Please, could you explain to me the conditional statement "if PlaceMarketOrder(True, True, value1) = True".

Best regards
Massimo
by maxmax68
02 Feb 2017
Forum: MultiCharts
Topic: Software Development Kits (SDKs) [SOLVED]
Replies: 1
Views: 1648

Software Development Kits (SDKs) [SOLVED]

Hello, in these days I am reading a lot of posts about GV, DLL and SDK. Some of them are very old, so I was not able to understand what is the actual state of art. SDK now cames free with the installation of Multicharts ? Or is an Add on ? To use GV I need to add any DLL ? Thanks Best regards Massimo
by maxmax68
02 Feb 2017
Forum: MultiCharts
Topic: DefineDLLFunc: "GlobalVariable.dll", ... [SOLVED]
Replies: 9
Views: 4123

DefineDLLFunc: "GlobalVariable.dll", ... [SOLVED]

DefineDLLFunc: “dll name”, the parameter dll returns, “the name of the function you refer to (inside the external dll)”, the type of the data you send to the external dll. Usage example: DefineDLLFunc: "GlobalVariable.dll", float, "GV_GetFloat", int ; Hello, I would like to know what is the correct...
by maxmax68
31 Jan 2017
Forum: MultiCharts
Topic: Example of using DLL in Multicharts
Replies: 4
Views: 4316

Example of using DLL in Multicharts

Hello, I just started learning VisualBasic to learn how to create Dll with Visual Studio for use with MC. I'm just a novice and I'll probably be asking something stupid or wrong, but I would be very grateful if some Dll experienced programmer would provide an example of a very basic open source code...
by maxmax68
20 Jan 2017
Forum: MultiCharts
Topic: Text_New_Pixel(x,y, "text") or something like this [SOLVED]
Replies: 3
Views: 1567

Re: Text_New_Pixel(x,y, "text") or something like this [SOLVED]

Please Henry,
be so kind to submit this feature request to the Project Management for me, so other users can vote for it.

Thank you very much.

Best regards
Massimo
by maxmax68
21 Dec 2016
Forum: MultiCharts
Topic: text_anchor_to_bars [SOLVED]
Replies: 1
Views: 933

text_anchor_to_bars [SOLVED]

Hello,
please could you give me more information about "text_anchor_to_bars" ?

A link to the description of how to use the keyword in the Wiki or any example would be great.

Thank you.
Massimo
by maxmax68
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]


http://ema-trend.blogspot.it/

1. MultiCharts' ematrend is the same as Enrico Malverti's ema-trend?
In that blog Malverti says YES !!!

That is why in my first post I say:
I hope that the Author will provide the real and correct version of the function !!!
Stop.
by maxmax68
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Please TJ, be serious !!! Here we are talking about EMATREND INDICATOR and EMATREND FUNCTION provided by default with the installation of regular lifetime license of Multicharts, nothing else. So please don't google, but open your Multichart. Plot on a chart Ematrend indicator, and then plot on the ...
by maxmax68
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Please, kindly read carefully the post and be sure to understand the question before giving an answer. Thank you Best regards Massimo Hello, the Ematrend function, recently added, is not correct !!! The add-on Ematrend indicator, a proprietary indicator by Enrico Malverti, has 4 inputs: - AtrLen, At...
by maxmax68
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Hello TJ, maybe you have mistaken the EMATrend (Exponential Moving Average Trend) with the EmaTrend (Enrico Malverti Adaptive Trend) ? The Ematrend function that is provided by default with the installation of Multicharts in your opinion which of the two versions is? According to the parameters requ...
by maxmax68
26 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Evidently my English with the help of google translate is not good enough to be understood. And probably the tone of my first post has been more aggressive than those who were my intentions. Ematrend is a proprietary indicator of dr.Malverti. I think it's an excellent trendfollower indicator, and I ...
by maxmax68
23 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Dear Ben, As you can see the original EmaTrend is much smoother than yours Not mine, but much smoother than Ematrend proprietary function by Malverti/Multicharts. May it's done by something with a period of 14 ('stdlen' input from original indicator). Yes, of course !!! In the proprietary Ematrend i...
by maxmax68
23 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Dear Ben, do you always expect a function implemented in a study to have the same amount of inputs as the study itself ? In this case simply yes !!! If you kindly plot the indicator on a chart, and then plot the function, you will verify that the two do not overlap. Frankly I can not understand on w...
by maxmax68
23 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Re: Wrong Ematrend function [SOLVED]

Dear Ben,

sorry, but I can not understand the meaning of your answer.
Please, could you explain?

Best regards
Massimo
by maxmax68
22 Sep 2016
Forum: MultiCharts
Topic: Wrong Ematrend function [SOLVED]
Replies: 20
Views: 4676

Wrong Ematrend function [SOLVED]

Hello, the Ematrend function, recently added, is not correct !!! The add-on Ematrend indicator, a proprietary indicator by Enrico Malverti, has 4 inputs: - AtrLen, AtrMult, StdLen, and price. The Ematrend function has only 2 inputs: AtrLen and AtrMult. The result is that the function is not comparab...
by maxmax68
29 Jul 2016
Forum: MultiCharts
Topic: i_get_plotValue doesn't work properly
Replies: 5
Views: 2125

Re: i_get_plotValue doesn't work properly

Hello LorealeTeam, in your picture I can see only data1 from Banca Sella source. Your second picture let me suppose that you collect data from two sources: WeBank and Banca Sella. Be sure to collect the data from the correct source for your chart and your code. I guess, this could be the problem. Re...
by maxmax68
16 Jul 2016
Forum: MultiCharts
Topic: Parabolic SAR of data2 ? [SOLVED]
Replies: 1
Views: 1207

Re: Parabolic SAR of data2 ? [SOLVED]

This should be correct

Code: Select all

Vars:
pSAR_data2(0,data2);

pSAR_data2=ParabolicCustom(0.05,0.2) data2;

Plot1(pSAR_data2[1]);

// or Plot1[1](pSAR_data2); Personally I prefer the other solution
by maxmax68
15 Jul 2016
Forum: MultiCharts
Topic: Parabolic SAR of data2 ? [SOLVED]
Replies: 1
Views: 1207

Parabolic SAR of data2 ? [SOLVED]

Hello,
would be someone so kind to post the code (not the link) to plot
the parabolic sar of bar[1] of data2?

Thank you very much.
Massimo
by maxmax68
11 Jul 2016
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Unfortunately there will be no money from Webank, so all the problems with Webank's API will never be solved from Multicharts support.
I started this topic on 27 Oct 2013 and today I'm pretty discouraged.

Massimo
by maxmax68
11 Jul 2016
Forum: MultiCharts
Topic: How to get the BN of the leftmost bar on current chart ? [SOLVED]
Replies: 4
Views: 2265

Re: How to get the BN of the leftmost bar on current chart ? [SOLVED]

You can also place a drawing on that leftmost bar and then use `Arw_GetBarNumber()` or `Text_GetBarNumber()` as TJ suggested. Thanks TJ and JoshM, now I got it. value1=getappinfo(aileftdispdatetime); value2=getappinfo(aiLowestDispValue); text_delete(value5); value3=text_new_dt(value1,value2+5,""); ...
by maxmax68
10 Jul 2016
Forum: MultiCharts
Topic: How to get the BN of the leftmost bar on current chart ? [SOLVED]
Replies: 4
Views: 2265

Re: How to get the BN of the leftmost bar on current chart ? [SOLVED]

Look up the following keywords:


GetBarNumber
GetAppInfo
aileftdispdatetime
Thanks TJ,
but I need to find the bar number of the leftmost bar currently in the chart, not the datetime!
I do not see how to achieve that with those keywords.

Best regards.
Massimo
by maxmax68
10 Jul 2016
Forum: MultiCharts
Topic: How to get the BN of the leftmost bar on current chart ? [SOLVED]
Replies: 4
Views: 2265

How to get the BN of the leftmost bar on current chart ? [SOLVED]

Hello,

how can I find the barnumber of the leftmost bar displayed in the current chart ?


Best regards.
Massimo
by maxmax68
07 Jul 2016
Forum: MultiCharts
Topic: MouseClickBarNumber
Replies: 5
Views: 1810

Re: MouseClickBarNumber

Hello Nick, Is there a way to use this once (or maybe x2 to get startbar endbar) in a study and then turn off processing mouse events for that study? to achieve this result you could use this workaround: -To draw on the chart a text box to be used as a switch-flag to turn on-off. -You click on text ...
by maxmax68
20 Jun 2016
Forum: MultiCharts
Topic: How does MC manage Stop Orders with WeBank ?
Replies: 5
Views: 2762

Re: How does MC manage Stop Orders with WeBank ?

I logged in T3 Open and typed in the browser: http:// localhost:8333/T3OPEN/conditional_order? item=MI.DER.990040&condizione1=MA&variabile=P&valore1=17400&flagTAH=Y &ordine.action=BUY&ordine.qr=1&ordine.tipoPrezzo=LIM&ordine.prezzo=17300 The result was I submitted a Stop-Limit order in WeBank for FT...
by maxmax68
16 Jun 2016
Forum: MultiCharts
Topic: How does MC manage Stop Orders with WeBank ?
Replies: 5
Views: 2762

Re: How does MC manage Stop Orders with WeBank ?

Hello Henry, Stop and Stop-Limit orders for WeBank connection are emulated thru Limit orders on MultiCharts end. This is how WeBank API is designed to work. I am not a programmer and do not want to teach anything to the excellent engineers of Multicharts, but in the Manual of WeBank's API at chapter...
by maxmax68
15 Jun 2016
Forum: MultiCharts
Topic: How does MC manage Stop Orders with WeBank ?
Replies: 5
Views: 2762

How does MC manage Stop Orders with WeBank ?

Hello, in this page http://www.multicharts.com/brokers/ I read that Stop Orders with WeBank should be tracked by the broker. If I correctly understand, this should mean that when a signal in MC fires a Stop order then MC should send the order directly to the broker. Right ? Well, for what I can see ...
by maxmax68
27 May 2016
Forum: User Contributed Studies and Indicator Library
Topic: Ledge and Congestion Indicator
Replies: 0
Views: 2659

Ledge and Congestion Indicator

// _Max_Ledge_Indicator // provided by Massimo Rizzi // 27/05/2016 Inputs: LookBack(10), Tick_Tolerance(0), RangeValue(50); Vars: vLedge_Flag(False), v1stHi_Flag(False), v2ndHi_Flag(False), v1stHi(0), v2ndHi(0), v2ndHi_BarNumber(0), v1stLo_Flag(False), v2ndLo_Flag(False), v1stLo(0), v2ndLo(0), v2nd...
by maxmax68
25 May 2016
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Hello Henry, very glad to hear this good news. I hope now you will solve the problems with the reception of partially filled/executed orders from WeBank. Problem that makes lose synchrony of position between broker and signal on the chart. A problem I have repeatedly pointed out, and you have confir...
by maxmax68
14 May 2016
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Hi bomberone1, I think your point of view may be correct. MC can not claim to be fully functional with Webank when they have not opened even a measly account from a few tens of dollars to carry out the operation test. And if it is true that MC does not have a real money account with Webank, on which...
by maxmax68
05 May 2016
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Hi bomberone1,
as far as I can see, it is not the fault of the MC team.

Unfortunately WeBank does not provide MC's engineers the required support !!!

All Italian WeBank's customers should insist with Webank management for a solution of this issue.

Best regards
Massimo
by maxmax68
01 Apr 2016
Forum: User Contributed Studies and Indicator Library
Topic: Example of trading tool for my own trading RTT#7
Replies: 0
Views: 2148

Example of trading tool for my own trading RTT#7

// // By Massimo Rizzi // // A trading tool I created for my own semi-discretionary trading on italian future Ftse Mib. // // Do not use it for real money trading !!! // [ProcessMouseEvents = True]; [IntrabarOrderGeneration = False]; [RecoverDrawings = False]; Inputs: vQuantita(1), // Input Quantit...
by maxmax68
31 Jan 2016
Forum: MultiCharts
Topic: Reverse position to a given quantity [SOLVED]
Replies: 4
Views: 1678

Re: Reverse position to a given quantity [SOLVED]

Thank you TJ.
I suppose it is the same if we are short 2 contracts.
To reverse to 1 long we should use buy 1 contract.

Best Regards
Massimo
by maxmax68
31 Jan 2016
Forum: MultiCharts
Topic: Reverse position to a given quantity [SOLVED]
Replies: 4
Views: 1678

Reverse position to a given quantity [SOLVED]

Hello,

Suppose you are long 3 contracts and want to reverse the position to 2 contracts.

What is the correct method ?

Sell 3 contracts + sellshort 2 contracts one after the other in same candle

Or

Sellshort 2 contracts

Or

Other ???

Thank You
Massimo
by maxmax68
20 Jan 2016
Forum: MultiCharts
Topic: Algotrade not reliable with Webank. Issue with LIMIT orders
Replies: 6
Views: 2913

Re: Algotrade not reliable with Webank. Issue with LIMIT ord

Hello maxmax68,

This case will be investigated once Webank is able to provide an account for testing purposes.
Hello Henry,
any news about Webank ?

Best Regards
Massimo
by maxmax68
23 Oct 2015
Forum: MultiCharts
Topic: for Italian users
Replies: 9
Views: 3277

Re: for Italian users

Any Banca Sella user?
How does MC work with Banca Sella Trading Bridge ?
by maxmax68
23 Oct 2015
Forum: MultiCharts
Topic: for Italian users
Replies: 9
Views: 3277

Re: for Italian users

Hello Paolo, for my experience yes, MC manages stop orders with Webank like synthetic stop orders on the chart that when hitted are converted in real orders. You can also use stop-limit orders. Unfortunately some little problems of comunication with the API of Webank to solve, as soon as possible !!...
by maxmax68
21 Oct 2015
Forum: MultiCharts
Topic: for Italian users
Replies: 9
Views: 3277

Re: for Italian users

Sorry RedBerlin,
my experience is only with Webank in intraday, and with problems.
Ciao
Massimo
by maxmax68
20 Oct 2015
Forum: MultiCharts
Topic: Algotrade not reliable with Webank. Issue with LIMIT orders
Replies: 6
Views: 2913

Re: Algotrade not reliable with Webank. Issue with LIMIT ord

Thank you Henry,

Unfortunately this is a very old story, and as You probably know, I offered my personal account for testing purposes.
by maxmax68
19 Oct 2015
Forum: MultiCharts
Topic: !From Broker To Strategy MP Synchronizer!
Replies: 6
Views: 2333

Re: !From Broker To Strategy MP Synchronizer!

Hello Henry, please excuse me if probably I am asking again the same question, but for me it is very important to understand how the trading engine of MC works, to solve this problem: http://www.multicharts.com/discussion/viewtopic.php?f=1&t=49022 Maybe I can solve it with !From Broker To Strategy M...
by maxmax68
16 Oct 2015
Forum: MultiCharts
Topic: Algotrade not reliable with Webank. Issue with LIMIT orders
Replies: 6
Views: 2913

Re: Algotrade not reliable with Webank. Issue with LIMIT ord

Image of Console of T3 Open, the gateway between MC and Webank, with the logs of the day.
by maxmax68
16 Oct 2015
Forum: MultiCharts
Topic: Algotrade not reliable with Webank. Issue with LIMIT orders
Replies: 6
Views: 2913

Algotrade not reliable with Webank. Issue with LIMIT orders

Dear developers of MC, today once again I had to interrupt a signal in autotrading because Strategy Position (MC) and broker position (Webank) went out of sync. Unfortunately I had to notice at the expense of my pocket that doing automated trading with MC with Webank with orders type LIMIT too often...
by maxmax68
14 Oct 2015
Forum: MultiCharts
Topic: !From Broker To Strategy MP Synchronizer!
Replies: 6
Views: 2333

Re: !From Broker To Strategy MP Synchronizer!

Hello Henry, I am also interested in !From Broker To Strategy MP Synchronizer! signal, and before going in real market with real money would like fully understand how it works. If I correctly understood wiki in my chart I have to use both my signal and !From Broker To Strategy MP Synchronizer! signa...
by maxmax68
12 Oct 2015
Forum: MultiCharts
Topic: Compilation error [SOLVED]
Replies: 8
Views: 2757

Re: Compilation error [SOLVED]

You can use the same approach within your signal and call an indicator, but you need to follow the syntax that the thread shows. As a hint you can try to apply your Ematrend as a study on the Custom 1 Line indicator and copy and paste the resulting input value into your strategy code. This will hel...
by maxmax68
08 Oct 2015
Forum: MultiCharts
Topic: Problems with IwBank and Webank brokers
Replies: 5
Views: 1574

Re: Problems with IwBank and Webank brokers

Hi Diego, I use Webank as broker and it seems ok. With QuoteManager I edited a MILANO customized exchange (abbr: MI) with the right open and close times and then I added my symbols with INSTRUMENT ADD SYMBOL FROM DATA SOURCE WEBANK PATTERN (ftse to search ftse mib future) Chose FIB5L for future ftse...
by maxmax68
30 Sep 2015
Forum: MultiCharts
Topic: Need help creating a chaos signal
Replies: 3
Views: 2252

Re: Need help creating a chaos signal

Hello fernando43611, like most of non professional traders, I'm always in search of new trading ideas. So I tried to test your suggestions with the signal I attach. I have to agree with Khalid that the results are not encouraging. Regards Massimo // // By Massimo Rizzi 30.09.2015 // // Only for back...
by maxmax68
28 Sep 2015
Forum: MultiCharts
Topic: Help with mouse activated trailing entry order
Replies: 2
Views: 1480

Re: Help with mouse activated trailing entry order

// By Massimo Rizzi 29.09.2015 // // Just an idea for a semi-discretionary trading, based on a custom entry condition // // You can input the entry condition, the quantity of shares to trade, // and the offset position of the start button on the chart. // // With shift+mouse click on the text butto...
by maxmax68
11 Sep 2015
Forum: MultiCharts
Topic: How to make an indicator that can change bar Color? [SOLVED]
Replies: 8
Views: 3026

Re: How to make an indicator that can change bar Color? [SOLVED]

Probably the right thing is to use the PlotPaintBar keyword.

Try this code:

Code: Select all

if time>1000 and time<1100 then begin
PlotPaintBar(High,Low,Open,Close,"",Red);
end;
Massimo
by maxmax68
11 Sep 2015
Forum: MultiCharts
Topic: How to make an indicator that can change bar Color? [SOLVED]
Replies: 8
Views: 3026

Re: How to make an indicator that can change bar Color? [SOLVED]

Hi,
sometimes reading forum posts, and the answers I get this thought:
Probably a few lines of code would be most helpful as a response,
to teach something to all users of the forum.
Regards
Massimo
by maxmax68
15 Jun 2015
Forum: MultiCharts
Topic: PLOT_GetActive ???
Replies: 6
Views: 2073

Re: PLOT_GetActive ???

Perfect, so now we have two new keywords to request to MC support&development: PLOT_GetActive and GetAppInfo(aiLeftDispBarNumber). Yes, I actually use vValue1=Text_New_Dt(vX, vY1,"Text"); and Text_SetLocation_DT(vValue1,vX,vY1); where vX = vMostLeftDateTime + vXOffset; but I am not completely satisf...
by maxmax68
15 Jun 2015
Forum: MultiCharts
Topic: PLOT_GetActive ???
Replies: 6
Views: 2073

Re: PLOT_GetActive ???

Thank you for the links, very clear and well explained. Yes, this signal is for autotrading, so we can't use recalculate. All of your suggestions would be good. I opted for drawing text boxes with the different lengths, but obviously to click directly on the plots would have been better. Please, cou...
by maxmax68
15 Jun 2015
Forum: MultiCharts
Topic: PLOT_GetActive ???
Replies: 6
Views: 2073

Re: PLOT_GetActive ???

Hi JoshM, I'd like to create a signal for semi-automatic trading where are plotted on a chart several different averages, and the trader can choose which media to use with a mouse click on the plot. Much more intuitive and viewable and fast that every time not having to format the signal for changin...
by maxmax68
14 Jun 2015
Forum: MultiCharts
Topic: PLOT_GetActive ???
Replies: 6
Views: 2073

PLOT_GetActive ???

Hi,
does exist something like Text_GetActive or TL_GetActive for the plots ???

I need to know the number of the active plot when clicked with the mouse on a chart.

Regards

Massimo
by maxmax68
07 Jun 2015
Forum: MultiCharts
Topic: Gaussian Moving Average versus Hull Moving Average ?
Replies: 1
Views: 1730

Re: Gaussian Moving Average versus Hull Moving Average ?

Here is the Hull Moving Average as a plot. It could be a starting point. Massimo Inputs: PriceValue(close), Len(16); Vars: HullMA(0); HullMA=WAverage((2* WAverage(PriceValue,Floor(Len/2))-WAverage(PriceValue,Len)), Floor(SquareRoot(Len))); plot1(HullMA);
by maxmax68
19 Apr 2015
Forum: MultiCharts
Topic: How to remote Multicharts ?
Replies: 6
Views: 2843

Re: How to remote Multicharts ?

I am going to trade the italian future FTSEMIB via T3 Open a java platform of an italian broker (WeBank). I use Multicharts both for semiautomatic then automatic trading. When I leave the office I would like to be able to control if the strategy is correctly working, and eventually to operate. For n...
by maxmax68
19 Apr 2015
Forum: MultiCharts
Topic: How to remote Multicharts ?
Replies: 6
Views: 2843

Re: How to remote Multicharts ?

Thank you Alex and MAtricks,
now I will try to understand what RDP and VPS are.
Regards
Massimo
by maxmax68
18 Apr 2015
Forum: MultiCharts
Topic: How to remote Multicharts ?
Replies: 6
Views: 2843

How to remote Multicharts ?

Hi, Please, could you explain to me how to remote Multicharts? On this topic I am a novice so any explanation at a basic level would be welcome. I would like to put on a remote server Multicharts + T3 Open WeBank and access to that server from home, office, or via the mobile, to check if the signal ...
by maxmax68
29 Mar 2015
Forum: MultiCharts
Topic: How can I autotrade with a signal only for one entry/exit ? [SOLVED]
Replies: 9
Views: 2616

Re: How can I autotrade with a signal only for one entry/exi [SOLVED]

TJ,
thanks for yours always precious answers.
I did my homeworks.
Probably you intended functions of Powerlanguage and not Wiki.
Best regards
Massimo
by maxmax68
29 Mar 2015
Forum: MultiCharts
Topic: How can I autotrade with a signal only for one entry/exit ? [SOLVED]
Replies: 9
Views: 2616

Re: How can I autotrade with a signal only for one entry/exi [SOLVED]

Thanks escamillo,
I was not aware of this function.
To work the counting of entries should reset every time you start the signal.
I'll try it as soon as possible.
Regards
Massimo
by maxmax68
29 Mar 2015
Forum: MultiCharts
Topic: How can I autotrade with a signal only for one entry/exit ? [SOLVED]
Replies: 9
Views: 2616

Re: How can I autotrade with a signal only for one entry/exi [SOLVED]

Thanks Tony,
but if it works, probably to manage flags is more simple.
Regards
Massimo
by maxmax68
28 Mar 2015
Forum: MultiCharts
Topic: How can I autotrade with a signal only for one entry/exit ? [SOLVED]
Replies: 9
Views: 2616

Re: How can I autotrade with a signal only for one entry/exi [SOLVED]

This solution should work, I'll test it on monday. inputs: LECondition( C > highest(high,20)[1] ) ; vars: flag(1); if LastBarOnChart then once flag=0; if LECondition and flag=0 then begin Buy ( "LE_Flag=0" ) next bar at market ; flag=1; End; print(flag:0:0," - ", BarNumber:0:0); Regards Massimo
by maxmax68
23 Mar 2015
Forum: MultiCharts
Topic: How can I autotrade with a signal only for one entry/exit ? [SOLVED]
Replies: 9
Views: 2616

How can I autotrade with a signal only for one entry/exit ? [SOLVED]

Hi, I'm stuck with this problem: I would like to apply a signal for the entry and a signal for the exit into a chart and to start autotrade. But I would like to have only 1 entry and only 1 exit, not continuous autotrading. I tried creating some flags to stop signal trading but with no luck. Has any...
by maxmax68
06 Nov 2014
Forum: MultiCharts
Topic: EMATREND indicator
Replies: 6
Views: 2293

Re: EMATREND indicator

Ok, now we have Ematrend Addon,
but the question is:

can we use it someway for signals ?

Many thanks.
Massimo
by maxmax68
05 Nov 2014
Forum: MultiCharts
Topic: EMATREND indicator
Replies: 6
Views: 2293

Re: EMATREND indicator

Massimo[/quote]
Hello maxmax68,

We don't have a study/strategy called "EMATREND" as prebuilt code in MC. May i know where excatly you read about that?
Hi,
how can we use in signals new free add-on EMATREND ?
Regards
Massimo
by maxmax68
09 Oct 2014
Forum: MultiCharts
Topic: Description Inputs
Replies: 3
Views: 1096

Re: Description Inputs

I'd like very much this feature in MC too !!!

Massimo
by maxmax68
08 Oct 2014
Forum: MultiCharts
Topic: Autotrade Execution question
Replies: 4
Views: 1315

Re: Autotrade Execution question

Hi amadeu1, for my understanding MC always does what you are asking. If your code is: if c>average(c,50) then buy next bar at low-range limit; and condition is true then MC submits next bar a low-range limit order that stays for all bar time. At next bar if condition is always true then MC cancels o...
by maxmax68
06 Oct 2014
Forum: MultiCharts
Topic: EMATREND indicator
Replies: 6
Views: 2293

Re: EMATREND indicator

Sorry,
Probably I misunderstood.
It's a propietary indicator,
and from your answer I understand I have to contact the propietor.
Thanks and regards.

Massimo
by maxmax68
05 Oct 2014
Forum: MultiCharts
Topic: EMATREND indicator
Replies: 6
Views: 2293

EMATREND indicator

Hi all,
I am searching EMATREND indicator.
I read that now is available with Multicharts .
Could you point me in the right direction ?

Massimo
by maxmax68
07 Sep 2014
Forum: MultiCharts
Topic: simple power language problem I don't know how to solve [SOLVED]
Replies: 15
Views: 3569

Re: simple power language problem I don't know how to solve [SOLVED]

Probably the correct answer is:

change the iteration in your code from 0 to SMALength-1
by maxmax68
07 Sep 2014
Forum: MultiCharts
Topic: simple power language problem I don't know how to solve [SOLVED]
Replies: 15
Views: 3569

Re: I guess I have to ask the question in a different way... [SOLVED]

Probably the correct answer is:

change the iteration in your code from 0 to SMALength-1
by maxmax68
25 May 2014
Forum: MultiCharts
Topic: Draw a manual trendline to use as an alarm to exit position
Replies: 8
Views: 2718

Re: Draw a manual trendline to use as an alarm to exit posit

Hi LRP, sincerely that project has been temporarily shelved due to lack of time. As soon as I have the code available, I'll be happy to share it on the forum. Greetings Massimo Hi Massimo After some search, i found this one: http://systemtradersuccess.com/a-semi-automated-trend-line-trading-strateg...
by maxmax68
25 May 2014
Forum: User Contributed Studies and Indicator Library
Topic: RTT#2 Semiautomatic Trendline Trading Tool
Replies: 0
Views: 2538

RTT#2 Semiautomatic Trendline Trading Tool

// // // RTT#2 Semiautomatic Trendlines Trading Tool // by Massimo Rizzi // 26.05.2014 // // Still in test phase - Use at your own risk // // I made this to trade on italian future // This trading tool will draw 4 buttons on the screen. // You must use SHIFT + LEFTMOUSECLICK on the buttons // You c...
by maxmax68
04 May 2014
Forum: MultiCharts
Topic: Draw a manual trendline to use as an alarm to exit position
Replies: 8
Views: 2718

Re: Draw a manual trendline to use as an alarm to exit posit

Hi LRP,
sincerely that project has been temporarily shelved due to lack of time.
As soon as I have the code available, I'll be happy to share it on the forum.
Greetings
Massimo
by maxmax68
19 Mar 2014
Forum: MultiCharts
Topic: Draw a manual trendline to use as an alarm to exit position
Replies: 8
Views: 2718

Draw a manual trendline to use as an alarm to exit position

Hello All, I would like to draw manually a trendline and create an easylanguage code that uses that trendline as a trigger to enter or exit a trading position. What I mean is, suppose I'm long and bars are trending up. I would like to be able to draw a manual trendline under bars with an alert. If p...
by maxmax68
04 Feb 2014
Forum: MultiCharts
Topic: Problem with Webank in synch Strategy and Broker position.
Replies: 1
Views: 1896

Problem with Webank in synch Strategy and Broker position.

Hi, I have this problem with WeBank: Suppose we have a strategy on the chart in IOG false to simplify. We are market position flat at strategy and at broker. The strategy fires a BUY MARKET order 2 SHARES. WeBank gets the market order, fills the order completely because it is a market order, but str...
by maxmax68
02 Feb 2014
Forum: MultiCharts
Topic: Text_New_Pixel(x,y, "text") or something like this [SOLVED]
Replies: 3
Views: 1567

Text_New_Pixel(x,y, "text") or something like this [SOLVED]

Hello , I really appreciate the opportunities offered by the trading chart , the ability to change a limit order , or move a stoploss or trailing stop directly on the chart using the mouse. And in fact today any trading platform worthy of respect must offer the chart trading feature. We are all used...
by maxmax68
28 Jan 2014
Forum: User Contributed Studies and Indicator Library
Topic: Trading Tool: RTT #1 Line Breakout
Replies: 0
Views: 2333

Trading Tool: RTT #1 Line Breakout

Hi all, if you don't mind I'll leave on this forum some exercises in programming trading tools I made for my own trading. Use at your own risk. Not tested yet !!! Massimo { by Massimo Rizzi 27.01.2014 RTT # 1 : Line Breakout with Tracking I made this tool for my own trading on Ftse Mib 40, still und...
by maxmax68
22 Jan 2014
Forum: MultiCharts
Topic: Signal does not work in IOG [SOLVED]
Replies: 5
Views: 2155

Re: Signal does not work in IOG [SOLVED]

Thank you Andrew for your suggestion, but unfortunately it was not resolutive. Probably the solution of the problem is in a command discussed in another topic: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=45969 Adding [RecoverDrawings = False] it seems to be ok !!! To know something mo...
by maxmax68
21 Jan 2014
Forum: MultiCharts
Topic: RecoverDrawings [SOLVED]
Replies: 1
Views: 1279

RecoverDrawings [SOLVED]

Hi,
in other posts on this forum I read about a PowerLanguage command called:
RecoverDrawings.
I was not able to find enough information about it in the Wiki to understand how it
works.
Please, MC support could you explain the use and the function of RecoverDrawings !?

Thanks a lot.
Massimo
by maxmax68
20 Jan 2014
Forum: MultiCharts
Topic: Signal does not work in IOG [SOLVED]
Replies: 5
Views: 2155

Re: Signal does not work in IOG [SOLVED]

Hi Smoky, thank you for your help. I tried with intrabarpersist, but unfortunately it does not work. Still searching for the error . Any other idea ??? Regards Massimo [ProcessMouseEvents = True]; //[IntrabarOrderGeneration = True]; Inputs: vQuantita(1), // Input Quantita' titoli da scambiare vTL(0)...
by maxmax68
20 Jan 2014
Forum: MultiCharts
Topic: Signal does not work in IOG [SOLVED]
Replies: 5
Views: 2155

Signal does not work in IOG [SOLVED]

Hi All, I hope you can help me to understand why this signal does not work in IOG. If I apply to the chart in non IOG mode it draws the text box and the trend line. On the contrary, if I turn to the IOG mode it does not work. No text, no line. I can' t understand why. I declared all variables as rec...
by maxmax68
08 Jan 2014
Forum: MultiCharts
Topic: RecalcPersist Variables
Replies: 1
Views: 979

RecalcPersist Variables

Hi,
I wonder if you declare all the variables of a code as RecalcPersist can somehow create trouble for MC in terms of utilization of computing power ?
Or any other kind of problem ?
Regards
Massimo
by maxmax68
06 Jan 2014
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 6487

Re: Draw a text box at a fixed position on a chart

Ok, solved. Massimo [ProcessMouseEvents = True]; Vars: recalcpersist vValue1(0), recalcpersist vValue2(0), recalcpersist vMostLeftDateTime(0), recalcpersist vMostRightDateTime(0), recalcpersist vHighestDispValue(0), recalcpersist vLowestDispValue(0), recalcpersist vRangeDateTime(0), recalcpersist vC...
by maxmax68
04 Jan 2014
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 6487

Re: Draw a text box at a fixed position on a chart

I hope this image will be useful.
Any idea or suggestion ?
Thanks

Massimo
by maxmax68
02 Jan 2014
Forum: MultiCharts
Topic: MULTICHARTS 8.8 RELEASE
Replies: 139
Views: 52047

Re: MULTICHARTS 8.8 RELEASE

Hello Henry, have you ever considered to add the possibility to draw text or trendlines on the chart using as x,y coordinates simply number of pixels of the screen, as other softwares do ? Suppose left-bottom corner of the screen is coordinates (0,0), to draw a fixed text on the screen it would be e...
by maxmax68
01 Jan 2014
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 6487

Re: Draw a text box at a fixed position on a chart

Hi TJ, as I wrote in my code: // // The problem I can't solve is this: // Although vCounter1 and vCounter2 are correctly updated on Mouseclick on TextBoxes, as reported in Print debug, // I'm unable to redraw on the chart the TextBoxes with the correct updated vCounters. // It shows always 0 zero. /...
by maxmax68
01 Jan 2014
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 6487

Re: Draw a text box at a fixed position on a chart

Hi, I am playing with Text_New, in order to create some buttons on the chart. I'm stuck with an error I can't reconize and solve. May you help me ? Regards. Massimo // // The problem I can't solve is this: // Although vCounter1 and vCounter2 are correctly updated on Mouseclick on TextBoxes, as repor...
by maxmax68
29 Dec 2013
Forum: MultiCharts
Topic: Draw a text box at a fixed position on a chart
Replies: 18
Views: 6487

Draw a text box at a fixed position on a chart

Hello, as others on this forum, I too would like to draw some text boxes on the chart in a fixed position. I mean a text box that always remains fixed, anchored even when the chart is moved or changed on x and y axes! I tried using the instructions provided in other posts, and I managed quite easily...
by maxmax68
29 Dec 2013
Forum: MultiCharts
Topic: Execut a function if click on the upper corner: How to do it [SOLVED]
Replies: 5
Views: 2107

Re: Execut a function if click on the upper corner: How to d [SOLVED]

Hi,
please where can I find more informations about Symbol_CurrentBar ?

Regards
Massimo
by maxmax68
26 Dec 2013
Forum: User Contributed Studies and Indicator Library
Topic: How to plot in signals !!!
Replies: 0
Views: 2128

How to plot in signals !!!

Hi, as you know you can not use the "plot" keyword in signals. I have found that it is possible to simulate the plot via the keyword TL_NEW. Surely for users of older date is a trivial suggestion, but for novices to MC like me might not be so obvious, and it is for this reason that I wanted to highl...
by maxmax68
25 Dec 2013
Forum: MultiCharts
Topic: Is there a symbol for FTSE MIB Index continuous ?
Replies: 1
Views: 1123

Is there a symbol for FTSE MIB Index continuous ?

Hi,
my broker and data feed is Webank.
As futures of FTSE MIB expire every quarter I was wondering if it is possible to obtain quotes of a FTSE MIB Index continuous, in order to have enough data for backtesting ?
Thanks
Massimo
by maxmax68
25 Dec 2013
Forum: MultiCharts
Topic: How can I reverse a position in backtest ? [SOLVED]
Replies: 1
Views: 1066

How can I reverse a position in backtest ? [SOLVED]

Hi, I restarted using MC after a long time, and I need your help to refresh my memory. For testing I was trying to code a simple reverse system, and I don't remember if is it possible to reverse directly a short position in a long position and vice versa, without having to close short position with ...
by maxmax68
29 Oct 2013
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Hi Andrew,
today I contacted the management of WeBank.
They have assured me that you will soon hear from them,
in order to proceed with the implementations of the communication interface with WeBank.
Thank you for your commitment.
Best regards.
Massimo
by maxmax68
28 Oct 2013
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

Hi Andrew, I think that if you wait until it is Webank to ask you to complete that feature, then we can also put a lid on. This is because there are other software connected with WeBank which may already provide that possibility. I think it should be a commitment of Multicharts to fill their shortco...
by maxmax68
27 Oct 2013
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Re: Multicharts can't send short orders with WeBank on stock

TJ, as I told in my post, I talked with MC team. They are aware that the problem is in the way Multicharts communicates with WeBank through the API. Since it is Multicharts that made the software that communicates with WeBank, here the problem is Multicharts and not Webank. Simply Multicharts must i...
by maxmax68
27 Oct 2013
Forum: MultiCharts
Topic: Multicharts can't send short orders with WeBank on stocks
Replies: 29
Views: 9723

Multicharts can't send short orders with WeBank on stocks

Hi, unfortunately, as I signaled to MC team a long time ago, Multicharts actually can't send buy and sell (short overnight) orders with WeBank on (italian) stocks. You told me you had contact with WeBank team to solve this problem, but month are passing and nothing changes. How long do you think it ...
by maxmax68
10 Jul 2013
Forum: MultiCharts
Topic: How to collect data ?
Replies: 7
Views: 2356

Re: How to collect data ?

Yes TJ,
absolutely the easiest way is to subscribe to a dataprovider who has the historical data I require !!!
But I'm sure that there is an alternative way.
I'm trying to export the data as ASCII. Perhaps this will allow me to attach the different pieces of databases
Regards
Massimo
by maxmax68
10 Jul 2013
Forum: MultiCharts
Topic: How to collect data ?
Replies: 7
Views: 2356

Re: How to collect data ?

Thanks TJ,
since I use Multicharts on different computers and I store on different computer databases my data, I'm looking for a way to glue the different pieces of the databases to build one continuous without lack of data.
Kind regards.
Massimo
by maxmax68
09 Jul 2013
Forum: MultiCharts
Topic: How to collect data ?
Replies: 7
Views: 2356

Re: How to collect data ?

Hi TJ, because right now I can not leave the computer on continuously, I'm looking for a workaround. As an example, when I open a 1min chart I receive from Webank an history of three days. I was wondering if it was possible to save these three days of data, connect every three days for some time to ...
by maxmax68
08 Jul 2013
Forum: MultiCharts
Topic: How to collect data ?
Replies: 7
Views: 2356

How to collect data ?

My broker and data feed is Webank. I see that in the faster timeframes ( es. 1min) it gives only a few days of history. I would like to collect day by day ticks, seconds and minutes data for at least one month. For not to waste time, please could you teach me the right way to do that, if it's possib...
by maxmax68
08 Jul 2013
Forum: MultiCharts
Topic: Barstatus = -1
Replies: 3
Views: 2700

Re: Barstatus = -1

Hi Henry, I tried in realtime with option disabled, and is ok, thanks. Sometimes a barstatus=-1 comes out. What's the meaning of -1. It stands for an error or what else? Regards Massimo [IntrabarOrderGeneration=True]; once cleardebug; vars: hi(0), Lo(0), intrabarpersist iClose1(0), intrabarpersist i...
by maxmax68
04 Jul 2013
Forum: MultiCharts
Topic: Barstatus = -1
Replies: 3
Views: 2700

Barstatus = -1

Hi, I have installed MultiCharts Version 8.7 Release (Build 7408) To understand Barstatus behavior I took a chart with data1(1min) and data2(5min). Then I inserted this code and looked the output. [IntrabarOrderGeneration=True]; once cleardebug; vars: intrabarpersist iClose1(0), intrabarpersist iClo...
by maxmax68
03 Jul 2013
Forum: MultiCharts
Topic: Dynamic Stops
Replies: 25
Views: 7122

Re: Dynamic Stops

Tick 1 = condition1 is met -> market order is generated. Tick 2 = the market order is sent, condition1 is still met, the 40 seconds countdown is started. Tick 3 (within 40 seconds) = market order is pending (for whatever reason), condition1 is still met, new 40 seconds countdown is started. There i...
by maxmax68
02 Jul 2013
Forum: MultiCharts
Topic: Dynamic Stops
Replies: 25
Views: 7122

Re: Dynamic Stops

You are correct, in MC with current implementation it works this way (let's say IOG is ON ): Tick 1 -> Script is calculated -> Conditions of order generation are met -> Order is placed. Tick 2 (assume the order is pending) -> Script is calculated -> Conditions of order generation are not met any lo...
by maxmax68
01 Jul 2013
Forum: MultiCharts
Topic: Dynamic Stops
Replies: 25
Views: 7122

Re: Dynamic Stops

Hi Andrew, excuse me if I bother you, but for me it's very difficult to understand how MC submits strategy orders. To explain: I used a platform that on every incoming tick looped the code, and if the condition was met fired the order on the market. i.e. if condition is true buy x shares Well, on th...
by maxmax68
30 Jun 2013
Forum: MultiCharts
Topic: Dynamic Stops
Replies: 25
Views: 7122

Re: Dynamic Stops

Hi Tony and Andrew,
what about using Barstatus=2 in IOG mode?
Probably this way it is possible to create only one strategy that uses close tick for entries and IOG ticks for exits.
What do you think about this solution ?
Greetings
Massimo
by maxmax68
27 Mar 2013
Forum: MultiCharts
Topic: How to keep alive a Limit order till filled [SOLVED]
Replies: 9
Views: 3606

Re: How to keep alive a Limit order till filled [SOLVED]

Hi, today I tested a code on a 1 minute chart, SA on and IOG true. It seems to me that IOG is good for Limit/Stop orders too, not only Market orders. Infact the script was calculated tick by tick and Limit order was placed on the next tick, not on next bar open ! This is what I think I understood to...
by maxmax68
26 Mar 2013
Forum: MultiCharts
Topic: How to keep alive a Limit order till filled [SOLVED]
Replies: 9
Views: 3606

Re: How to keep alive a Limit order till filled [SOLVED]

TJ,
thank you for your code suggestion and for the links.
I will try to find my answers in the posts you showed me.
Regards
Massimo
by maxmax68
26 Mar 2013
Forum: MultiCharts
Topic: How to keep alive a Limit order till filled [SOLVED]
Replies: 9
Views: 3606

Re: How to keep alive a Limit order till filled [SOLVED]

So IOG is only for Market orders, not for Limit/Stop orders ? This means limit/stop orders are submitted only at the end of the current bar and not after every tick ? This is the basic code I tested with the results I told you in first message. I would like the buy or sell limit order stands till fi...
by maxmax68
26 Mar 2013
Forum: MultiCharts
Topic: How to keep alive a Limit order till filled [SOLVED]
Replies: 9
Views: 3606

Re: How to keep alive a Limit order till filled [SOLVED]

Hi Tj, sorry I am not able to understand your answer. Please be more specific, possibly with a code example ! I'm trying to understand the logic of MC with Limit-Stop orders. And I would like to keep a single limit order alive till filled, without having it cancelled and resubmitted on every 1 minut...
by maxmax68
25 Mar 2013
Forum: MultiCharts
Topic: How to keep alive a Limit order till filled [SOLVED]
Replies: 9
Views: 3606

How to keep alive a Limit order till filled [SOLVED]

Hi, today on a chart timeframe 1 minute, IOG true, SA on, I tried a simple strategy that had to buy limit and sell limit. Please someone can explain me how MC works with Limit orders? If I well understood, MC sends to broker a Limit order that waits for filling all bar time. At the end of the bar if...
by maxmax68
19 Mar 2013
Forum: MultiCharts
Topic: WeBank e MarketPosition_at_Broker [SOLVED]
Replies: 2
Views: 1967

Re: WeBank e MarketPosition_at_Broker [SOLVED]

Andrew, thanks to you, Katrin and all the staff of developers.
Today I was pleasantly surprised by the speed and professionalism with which you have solved the problem.
Greetings.
Massimo
by maxmax68
18 Mar 2013
Forum: MultiCharts
Topic: WeBank e MarketPosition_at_Broker [SOLVED]
Replies: 2
Views: 1967

WeBank e MarketPosition_at_Broker [SOLVED]

Hi, like all new users I'm experimenting and trying to learn about the features of the new platform. Therefore, please be patient with me if I will make you a lot of questions, probably trivial. Today I tested the command MarketPosition vs MarketPosition_at_Broker. I've found that MarketPosition_at_...
by maxmax68
17 Mar 2013
Forum: User Contributed Studies and Indicator Library
Topic: Percent ruler with mouse
Replies: 10
Views: 7599

Re: Percent ruler with mouse

Hi,
I can't find the built in ruler of Mc to calculate % difference between two points.
It's a basic feature for a trading software.
Regards
Massimo
by maxmax68
17 Mar 2013
Forum: MultiCharts
Topic: Plots in Signals ? [SOLVED]
Replies: 7
Views: 3521

Re: Plots in Signals ? [SOLVED]

Ok, thanks.
Is there a limit to the number of drawing objects on a chart ?
by maxmax68
16 Mar 2013
Forum: MultiCharts
Topic: Plots in Signals ? [SOLVED]
Replies: 7
Views: 3521

Re: Plots in Signals ? [SOLVED]

Code: Select all

value1 = averagetruerange(14)[1];
value2 = tl_new_s(d[1],time_s[1],l[1]-value1[1],d,time_s,l-value1);
I tried this way and it seems to work.
Do you think it's the right way, or is there one better than this ?
Regards
Massimo
by maxmax68
16 Mar 2013
Forum: MultiCharts
Topic: Plots in Signals ? [SOLVED]
Replies: 7
Views: 3521

Plots in Signals ? [SOLVED]

Hello to all, I would like your help to understand why in MC in the signal can not be used plots. In my previous platform I was used to plot in the chart my trigger points, such as entry and stop levels. Some experienced user could explain me how to handle this feature. For example, if you wanted to...
by maxmax68
12 Mar 2013
Forum: MultiCharts
Topic: MC and WeBank: Intraday orders for stocks with leverage ?
Replies: 4
Views: 2353

Re: MC and WeBank: Intraday orders for stocks with leverage

Hi, today I made some stocks orders from Multicharts to WeBank. And for what I saw, it is confirmed that for now MC can operate only with normal buy and sell orders, not leveraged. Ok, let me explain. WeBank broker with stocks allows 3 types of buy sell orders. Buy and Sell (regular, not leveraged),...
by maxmax68
09 Mar 2013
Forum: MultiCharts
Topic: Drawing text on chart at a pixel fixed position [SOLVED]
Replies: 1
Views: 990

Drawing text on chart at a pixel fixed position [SOLVED]

Hi,
I want to create on the screen some text that remain fixed at a given pixel location instead of scrolling with the graph with the passage of time.
Please, could someone direct me in the right direction ?
Best regards
Massimo
by maxmax68
25 Feb 2013
Forum: MultiCharts
Topic: MC and WeBank: Intraday orders for stocks with leverage ?
Replies: 4
Views: 2353

Re: MC and WeBank: Intraday orders for stocks with leverage

Thank you for your kind reply. In my question I made reference to a specific broker (WeBank) on the shares. Therefore to provide a correct answer, someone of good will with an account WeBank should try a buy and a sell in intraday to see if MC is able to permit a short intraday with leverage. Anyway...
by maxmax68
24 Feb 2013
Forum: MultiCharts
Topic: MC and WeBank: Intraday orders for stocks with leverage ?
Replies: 4
Views: 2353

MC and WeBank: Intraday orders for stocks with leverage ?

Hi, I was told that MC with WeBank as broker for stocks can send only buy and sell orders with no leverage. MC can't send buy and sell orders in intraday mode with leverage. If it is true, it's a big problem because with stocks you can't open short positions. Please, any italian user could kindly gi...
by maxmax68
09 Dec 2012
Forum: MultiCharts
Topic: Use mouse functions to edit signals in realtime ?
Replies: 2
Views: 1075

Re: Use mouse functions to edit signals in realtime ?

Hi TJ,
thanks for your advice.
Probably Text_GetActive can be useful for my feature.
I'll try to understand how to use it.
If anyone has an example, please post it.
Regards
Massimo
by maxmax68
09 Dec 2012
Forum: MultiCharts
Topic: Use mouse functions to edit signals in realtime ?
Replies: 2
Views: 1075

Use mouse functions to edit signals in realtime ?

Hi, I would like to use new mouse functions to edit on the fly in realtime parameters of my signals. I'll try to explain. Let's simplify. Suppose you have a signal that you use as a trailing stop. For instance you are long and use a low[1]-n*atr(14) to trail and stop your position. N is your input m...
by maxmax68
24 Nov 2012
Forum: MultiCharts
Topic: Input ? [SOLVED]
Replies: 1
Views: 1269

Input ? [SOLVED]

Hi, I'm a new user of Multichart and Powerlanguage. Before I used an other software in javascript, so I'm trying to get my bearings. About Input, I saw in some code snipets that it's possible to insert an input declaration in more points of the code. So, it's not important to use input declarations ...
by maxmax68
20 Nov 2012
Forum: User Contributed Studies and Indicator Library
Topic: Percent ruler with mouse
Replies: 10
Views: 7599

Re: Percent ruler with mouse

Sorry,
you have to use it in sub chart #1.
by maxmax68
20 Nov 2012
Forum: User Contributed Studies and Indicator Library
Topic: Percent ruler with mouse
Replies: 10
Views: 7599

Percent ruler with mouse

Hi all,
I wrote this code as an exercise of new mouse function of MC.
It's a percent ruler between two points drawn with left click of mouse.
Hope it can be useful.
Regards
Massimo

Go to advanced search