Search found 53 matches

by ym
14 Jan 2011
Forum: MultiCharts
Topic: Scanner disconnection
Replies: 2
Views: 835

Re: Scanner disconnection

Thanks, Dave.
by ym
10 Jan 2011
Forum: MultiCharts
Topic: Scanner disconnection
Replies: 2
Views: 835

Scanner disconnection

I run an MC scanner that includes multiple instruments (in fact the eighteen major pairs). I attached to this scanner a house-made study that analyses price action on these 18 pairs and indicates trading opportunities. A particular strat (same for all) is attached to each of the 18 instruments. Any ...
by ym
14 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

TJ, Actually the 'data window' displays only the data of the bar your mouse is currently on, not the 'LastBarOnChart' data. So I finally managed differently : I used your 'plot' hint and now I have the PL & Win/Loss (of the LastBarOnChart) showing in the indicator's status line. That's way enough fo...
by ym
13 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

TJ, That's a great idea (putting it in the data window), I had never thought about that ... really ! Now, how to do that ? I am not familiar with the 'data window' usage ... Here's the code pertaining to my 'floating text' : Once ( BarStatus(1) = 2 ) begin Floating_Text= Text_New( Date, Time, 0, "ne...
by ym
13 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

TJ, Actually, what I meant by 'float' was 'any determined position', but this is not the real problem here. My problem is to make sure to have SOME text (at any 'determined' position in the current window) to appear EVEN when I scroll the time bar left or right. I want to "follow" visually the price...
by ym
13 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

TJ, Thanks for the advice : I have DL the TL's indics. Actually, those two indics remain static and do not 'FLOAT' as I was expecting. What I want is text to appear on the chart at the same position (be it on top, bottom, right or left, no matter) EVEN WHEN I MOVE THE HORIZONTAL SCROLL BAR . I know ...
by ym
13 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

TJ,
I don't have a login to access those two 'traderslaboratory' links.
Would you mind to make me a copy of the pertaining code ?
(you also may PM it to me, if you prefer)
Thanks.
by ym
13 Nov 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Re: Indicator Superposition

janus,
reading back your post dated july-09 :
What may be required is a function like text_new_fixed(x, y, text)

that's exactly the kind of function that I need nowadays for an indic I am currently working on.
since your last post, could you figure out how to code such a function ?
by ym
04 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Anastassia,

Thanks again to you and all guys in Rostov-on-Don for being so concerned and reactive to customers bug reports.

That's one point that makes me feel satisfied in using your platform.

Cheerio.
by ym
04 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Bowles, Will you get some interesting info from the following ? code : [intrabarOrderGeneration=false] vars: txt(0), OffsetY(1); if currentbar=1 then cleardebug; value1=MinutesToTime(TimeToMinutes(Time) -1); txt=text_new(date , value1, high + minmove/pricescale*15*Offsety, ""); //if date=1100628 and...
by ym
03 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

maxbarsback set to 200 ... same old song !!! ... **** Warning : time not in sequence (look below) !!! **** Text_GetTime is: 2314 - Time is: 2315 - so, I display: 2315 above previous bar which is: 2314 Text_GetTime is: 2315 - Time is: 2316 - so, I display: 2316 above previous bar which is: 2315 Text_...
by ym
03 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

bowles, I think that we REALLY have a bug here ... what do you think ? vars: txt(0), OffsetY(1); if currentbar=1 then cleardebug; value1=MinutesToTime(TimeToMinutes(Time) -1); txt=text_new(date , value1, high + minmove/pricescale*15*Offsety, ""); If time <> 0000 then begin if time <> MinutesToTime(T...
by ym
03 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

bowles,
can you read the attachment now ?
if not, I'll PM it to you.
by ym
02 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Bowles, See here-attached pic, the bug appears more clearly now with an added 'Text_GetTime' ... vars: txt(0), OffsetY(1); if currentbar=1 then cleardebug; value1=MinutesToTime(TimeToMinutes(Time) -1); txt=text_new(date , value1, high + minmove/pricescale*15*Offsety, ""); if date=1100802 and time <1...
by ym
02 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Bowles, Answers to your questions : 1- Nope, the other fields are 'remnants' but not used in the code I sent. The code I sent can be used 'as is'. 2- The problem occurs on history bars (as shown in the .jpg) Actions taken : 1- I have changed the text_setstyle(1,2,2) to text_setstyle(txt,2,2) 2- I ha...
by ym
02 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

tresor,
yes, it looks like 'you can do it' !
(see pic)
by ym
01 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Bowles, The bug is still there (see here-attached pic). The formula is not involved (your is concise and elegant, mine was longer and graceless ;-) but they both work) The proof is that it works perfectly in TS. I think it's a bug with MC which does not correctly set the drawing position one bar out...
by ym
01 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

Tresor (build volume on tick count) ,
Yes, that's how my instruments are set in MC.
by ym
01 Aug 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

Re: "text_new" bug ? [SOLVED]

This bug does NOT appear in TS as shown in the here-attached pic ...
Anyone's got an idea ?
Thanks
by ym
31 Jul 2010
Forum: MultiCharts
Topic: "text_new" bug ? [SOLVED]
Replies: 24
Views: 10031

"text_new" bug ? [SOLVED]

I think I have a random (non systematic) bug in using the 'text_new' keyword with a time-offset attribute (X axis). It's sometime drawn in the wrong place as shown in the attached pic : tss.jpg Here's the code : vars: txt(0), OffsetY(5); Value2 = GetAppInfo(aiHighestDispValue ) ; Value3 = GetAppInf...
by ym
24 Jul 2010
Forum: MultiCharts
Topic: How to adress the LAST TICK close ?
Replies: 11
Views: 2164

Thx for the warning, Janus. I read you whole thread with this 'repeated first bar' issue when iog is on.... The real-time features of either MC and WINDOWS are effectively quite questionable ... It reminds me of a currently pending issue that I once raised here : http://forum.tssupport.com/viewtopic...
by ym
23 Jul 2010
Forum: MultiCharts
Topic: How to adress the LAST TICK close ?
Replies: 11
Views: 2164

it works fine.
thx
by ym
17 Jul 2010
Forum: MultiCharts
Topic: How to adress the LAST TICK close ?
Replies: 11
Views: 2164

How to adress the LAST TICK close ?

Assuming IOG is ON, how can I adress the LAST TICK CLOSE in the current tick calculations ? Apparently, if I use close[1] it will address the LAST BAR CLOSE, but this is not what I want ... --- Even if I use an IntrabarPersist variable like in the following example: IntrabarPersist MovAvg(0); MovAvg...
by ym
30 Jun 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

TJ,
It still does not work ... (see snapshot)
Here's the code :

Code: Select all

vars : textid(0);
value5 = GVGetNamedDouble("sprd",value1);
TextID = Text_New( Date, Time, 0, "new" );
Text_Float(TextID, 0,5);
Text_SetString(TextID, "Sprd:" + numtostr(value5,1) + "pip");
by ym
30 Jun 2010
Forum: MultiCharts
Topic: Indicator Superposition
Replies: 28
Views: 4913

Indicator Superposition

I wrote an indicator that is supposed to display some info on the LAST BAR ONLY . The problem is that it works right when the indicator is applied to the strat at first, but as soon as another 1mn tick comes in, the display just DOUBLES and the (lastbaronchart - 1) does NOT erase. How can I have thi...
by ym
08 Jun 2010
Forum: MultiCharts
Topic: How to test the QuoteField value ?
Replies: 2
Views: 927

up !!!
---
is there anyone on the forum to tell me if this is workable or not ?
any workaround ... ?
thx
ym
by ym
06 Jun 2010
Forum: MultiCharts
Topic: How to test the QuoteField value ?
Replies: 2
Views: 927

How to test the QuoteField value ?

I have to find a way to write some piece of code that would mimick the following behavior : if QuoteField(data1)=Bid and QuoteField(data2)=Ask then begin condition_Short=expression of (close of data1); condition_Long=expression of (close of data2); end; if QuoteField(data1)=Ask and QuoteField(data2)...
by ym
20 Mar 2010
Forum: MultiCharts
Topic: Showing results in pips
Replies: 5
Views: 1372

bruce,
in my indic, when I use this formula to replace a display of, say, 1,747usd net profit to a pips-net profit, it gives me a 174712467 pips result !!!
since my lot size is 100,000, it should normally give me a 174 pips result ...
there must be something wrong.
yann
by ym
20 Mar 2010
Forum: MultiCharts
Topic: Showing results in pips
Replies: 5
Views: 1372

Bruce,
profit_pips=(netprofit/bigpointvalue)/(MinMove/PriceScale) ?
Yann
by ym
20 Mar 2010
Forum: MultiCharts
Topic: Showing results in pips
Replies: 5
Views: 1372

Showing results in pips

is there any way i can retrieve netprofit and openpositionprofit in PIPS rather than in current account currency ?
by ym
11 Mar 2010
Forum: MultiCharts
Topic: Attachments not working
Replies: 2
Views: 875

Thanks John,
Alright, I'll try that right away in topic #7223
Yann
by ym
11 Mar 2010
Forum: MultiCharts
Topic: Problem with Multiple TimeFrame Updates of SLOWER timebase
Replies: 3
Views: 1288

Here's a pic that clearly shows an instance where data (here Xaverage of 5-min data2) is not updated correctly during 4 minutes out of 5 !!!! Whereas 1-min data1 updates just right ... only the slower timeframe (5-min data2) is concerned by this problem What would be a practical solution to this iss...
by ym
11 Mar 2010
Forum: MultiCharts
Topic: Attachments not working
Replies: 2
Views: 875

Attachments not working

Apparently, I can not send JPEG attachments with my posts.
Is there any way to be allowed to doing so ?
Thanks.
Yann
by ym
10 Mar 2010
Forum: MultiCharts
Topic: Problem with Multiple TimeFrame Updates of SLOWER timebase
Replies: 3
Views: 1288

TJ, Thx for your answer. Here's an example of one of the (numerous) conditions that I use to "open" or not a LIMIT order IN my data1(1mn)-strat if certain conditions prevail on data2(5mn) : condition_PBS_UT5= ((close of data2) > (XAverage(close, EMA_Fast_UT5) of data2)) and ((open of data2) > (XAver...
by ym
10 Mar 2010
Forum: MultiCharts
Topic: Problem with Multiple TimeFrame Updates of SLOWER timebase
Replies: 3
Views: 1288

Problem with Multiple TimeFrame Updates of SLOWER timebase

I am currently writing a strat that uses two timeframes : - one is the 1mn, called data1 - the second is 5mn, called data2 IOG is (of course) 'ON' I want, ON EACH TICK of data1 (1mn), to evaluate the value of data2 (5mn) and hence take the right decision from there ("opening" or not). My problem is ...
by ym
08 Mar 2010
Forum: MultiCharts
Topic: How to change an input value WITHIN a strat ?
Replies: 13
Views: 2317

John and Bruce,

Thanks for your 'inputs'
;-)

Yann
by ym
07 Mar 2010
Forum: MultiCharts
Topic: How to change an input value WITHIN a strat ?
Replies: 13
Views: 2317

don't misunderstand me, I also spend 100% of my day-time and 50% of my night-time coding strats ...
I would then requalify my laziness as 'selective' laziness :
"why wasting time on unessential matters wheras important things await you to tackle them !"
by ym
07 Mar 2010
Forum: MultiCharts
Topic: How to change an input value WITHIN a strat ?
Replies: 13
Views: 2317

Matter of fact, that was PURE LAZINESS (shame on me) ...
I didn't want to REWRITE my code !!!
---
To achieve that goal, I think I'll rather use normal 'in-code' standard variables than GV ...
Guess that'll process a bit faster (maybe a dozen of inputs or so are concerned).
by ym
07 Mar 2010
Forum: MultiCharts
Topic: How to change an input value WITHIN a strat ?
Replies: 13
Views: 2317

John,

That's what I wanted to avoid (having to use a 'replica' variable, be it a standard one or a GV) ...

I thought there would be a 'trick' to change directly the input value ...

Sigh ;-)
by ym
07 Mar 2010
Forum: MultiCharts
Topic: How to change an input value WITHIN a strat ?
Replies: 13
Views: 2317

How to change an input value WITHIN a strat ?

How may I change an input value from within a strategy ?
Something like that :

Code: Select all

inputs:
MaxRisk$(10);

// code starts here :
if MaxRisk$ < 10 then MaxRisk$ = 10;
etc ... etc ...
// end of code
Thanks for any suggestion.
Yann
by ym
01 Mar 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

I have got something for you that can't be sent here, nor in a PM.
Send me a PM with your email, if you're ok with that ...
by ym
01 Mar 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Good advice ;-)
Thanks.
Yann
by ym
01 Mar 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

John, It works great now ! I am not quite sure if this is related to the market feed being active or not (it's now Monday morning here in Paris and the market is active, whereas it was not yesterday). Anyway now it works, and FYI it works great with the basic MC GV (numeric variables only). So far, ...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Oops, slight correction ... Here's the code : ======= 1- STRAT ======= // init GV to auto recalc indic Value2=88; Value1 = GVSetNamedDouble("recalc_tag",value2); ====== 2- INDIC ====== inputs: Price( Close ), Displace( 0 ) ; variables: var0( 0 ), var1( 0 ), var2( 0 ); value1=GVGetNamedDouble("EMA_Fa...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

John, It doesn't work, the indic does not auto refresh. Here's my EL code : ======= 1- STRAT ======= // init GV to auto recalc indic Value2=88; Value1 = GVSetNamedDouble("recalc_tag",value2); ====== 2- INDIC ====== inputs: Price( Close ), Displace( 0 ) ; variables: var0( 0 ), var1( 0 ), var2( 0 ); v...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Bowles,
Okdokey ... I'll try that one and come back to you if any pb.
Thanks++
Yann
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Bowles, I am not quite sure I understood it all well. 1- The code you sent me is to be included in my indicator , is that right ? 2- My strat should manage to set the value to "R", is that right ? 3- What "MySym" is supposed to do in your code ? Let's assume my indic's name is "indic01", what should...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

I saw that you have just made a suggestion to MC on that subject ...
Thanks for your support and replies, Bruce.
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

That is correct, the problem is the indicator recalc does not trigger because MC does not know that it should (it doesn't know you're using GV).
>
Do you have any suggestion ?
Yann
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

I got your point quite well Bruce, but then why modifying manually the inputs of, for example, EMAs produces INSTANT results (despite the huge number of calculations that are involved on a one-month period with 1-min bars) ? It looks that my problem could rather be that GV usage does not TRIGGER the...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

A quite naive question :

How come it is such a big deal to graphically update and refresh an indicator that is fed from GV inputs, whereas it is so straightforward and swift when one enters manually his/her own inputs ???

That puzzles me ...

Yann
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Bruce, Does 'refreshing the chart' imply to "reload" the data"? If so, that's quite a long process (actually, I use multi time frames, including a 1mn, on a ONE-month backtesting period). Normally, when you off/on an indic, it refreshes quite instantly in the chart .... But I can give it a try. I am...
by ym
28 Feb 2010
Forum: MultiCharts
Topic: Global Variables Question
Replies: 23
Views: 5612

Global Variables Question

I have just started to use GV to share infos between my strat's inputs and my indicators. And it works great (how could I live without it ...) ! The problem is that my indic does NOT refresh AUTOMATICALLY when I change an input value in my strat. In fact, I have to switch off/on the indic for it to ...

Go to advanced search