Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, TipmyPip, VoroneTZ, Quad, 1 invisible), 688 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: Please, help with Fractal indicator. [Re: Maruska] #414766
01/07/13 14:18
01/07/13 14:18
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
(1) is not the last candle. (0) is the last candle.

Look at the price when the candle ends. The candles must end at exactly the same time on both platforms and the Close price must be exactly the same.

Re: Please, help with Fractal indicator. [Re: Maruska] #414767
01/07/13 14:22
01/07/13 14:22
Joined: Sep 2012
Posts: 99
T
TankWolf Offline
Junior Member
TankWolf  Offline
Junior Member
T

Joined: Sep 2012
Posts: 99
I think your problem is your actually checking 2 bars back, use priceOpen(0), priceClose(0) etc etc....to check the last candle.

Re: Please, help with Fractal indicator. [Re: jcl] #414768
01/07/13 14:31
01/07/13 14:31
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
Ok, this means zorro do not consider current candle. These are the differences with mt4 that lead me into a traps. I worked about 10 years with mt3/mt4.

however, I get almost the same differencies about what zorro reads and what Trading Station tells:

function run()
{
BarPeriod = 30;

printf("\n\nOpen = %.5f", priceOpen(0));
printf("\n\nClose = %.5f", priceClose(0));
printf("\n\nHigh = %.5f", priceHigh(0));
printf("\n\nLow = %.5f", priceLow(0));
}

Zorro:

Open = 1.30668
Close = 1.30649
High = 1.30675
Low = 1.30633

Trading Station:

Open = 1.30592
Close = 1.30627
High = 1.30651
Low = 1.30550

Sorry, but I don't understand why these are differencies!!!

Re: Please, help with Fractal indicator. [Re: Maruska] #414775
01/07/13 15:04
01/07/13 15:04
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
does anyone have any idea about?

Re: Please, help with Fractal indicator. [Re: Maruska] #414777
01/07/13 15:10
01/07/13 15:10
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
For excluding a different time offset, can you do the same test with M1 candles?

Re: Please, help with Fractal indicator. [Re: jcl] #414778
01/07/13 15:17
01/07/13 15:17
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
Test with the M1 candle:

function run()
{
BarPeriod = 1;

printf("\n\nOpen = %.5f", priceOpen(0));
printf("\n\nClose = %.5f", priceClose(0));
printf("\n\nHigh = %.5f", priceHigh(0));
printf("\n\nLow = %.5f", priceLow(0));
}

Zorro:

Open = 1.30761
Close = 1.30774
High = 1.30794
Low = 1.30761

Trading Station:

Open = 1.30743
Close = 1.30755
High = 1.30774
Low = 1.30742

Re: Please, help with Fractal indicator. [Re: Maruska] #414779
01/07/13 15:36
01/07/13 15:36
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Ok, I will now look into this myself. I don't have the Trading Station installed here, but I'll set it up and check what's happening.

Re: Please, help with Fractal indicator. [Re: jcl] #414780
01/07/13 15:42
01/07/13 15:42
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
I have tested it also on a demo account with the same results.

Re: Please, help with Fractal indicator. [Re: Maruska] #414786
01/07/13 16:42
01/07/13 16:42
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Ok, I've just tested it and can not confirm the problem. I installed Trading Station and opened a m1 chart. The last full candle that I see - before the partial candle that is just building - has the same OHLC values that were printed by Zorro.

Maybe you were looking at the Bid instead of the Ask prices?

Do you have a difference between the price in Zorro's server window, before the blinking asterisk, and the current price in Trading Station?


Re: Please, help with Fractal indicator. [Re: jcl] #414811
01/08/13 12:26
01/08/13 12:26
Joined: Jan 2013
Posts: 26
Italy
M
Maruska Offline OP
Newbie
Maruska  Offline OP
Newbie
M

Joined: Jan 2013
Posts: 26
Italy
You are right, I realized my mistake. Sorry, but I never traded with Trading Station before and MetaTrader is more user friendly but I have a feeling that zorro is more powerful and effective.

Thank you very much for your support.

Page 2 of 4 1 2 3 4

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1