| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Need help for building a history file . https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3582 |
Page 2 of 3 |
| Author: | milanese [ Sun Apr 27, 2014 11:19 am ] |
| Post subject: | Need help for building a history file . |
this is at exp false: int version = 625 ; as the database version actual used is 401....hst file format valid as of Empty4 574 and later The database header is the same . . . total 148 bytes Code: Select all Code: Select all Tommaso |
|
| Author: | juniorlcq93 [ Sun Apr 27, 2014 11:32 am ] |
| Post subject: | Need help for building a history file . |
And the data from the array save as history file ?? Can you explain to me further I don't catch you . I also tried putting my code as an indicator and remove the OnCalculate() but the expert tabs shows that it keeps on removing itself without even initializing it . |
|
| Author: | milanese [ Sun Apr 27, 2014 11:52 am ] |
| Post subject: | Need help for building a history file . |
I think I don't get what you exactly want to do with this all.., so far I do not not understand the sense to do what you want to do, so please explain again why do you need to create your own hst file Cheers Tommaso |
|
| Author: | juniorlcq93 [ Sun Apr 27, 2014 12:04 pm ] |
| Post subject: | Need help for building a history file . |
Okay , firstly let me thank you for helping me this out . What I want was creating a custom charts , exactly like how we normally open up a EURUSD chart . This chart is exactly the same like how we read Japanese candlestick on EURUSD chart . However it has it's own OHLCV . Example , open price will be the sum of 3 other currency's open ( open of EURUSD + GBPUSD + AUDUSD ) . Same applied to HLCV . By doing this I have a basket of currencies , plot on ONE CHART ( like how we open up a EURUSD chart ) . I'm not sure if I'm clear to you . Do you get what I mean ??? |
|
| Author: | juniorlcq93 [ Sun Apr 27, 2014 12:20 pm ] |
| Post subject: | Need help for building a history file . |
OMG !! I change version 625 to version 401 like what you suggested , and now the waiting for update display turns out to be A CHART !!!!!!!!!! THANK YOU SIR !!!!! Howver there's still some problem here I'll show you the screen shot !! |
|
| Author: | milanese [ Sun Apr 27, 2014 12:34 pm ] |
| Post subject: | Need help for building a history file . |
I got what you mean now.. , the new hst file format asks you for period converting to code in this style: Code: Select all Code: Select all Tommaso |
|
| Author: | juniorlcq93 [ Sun Apr 27, 2014 1:00 pm ] |
| Post subject: | Need help for building a history file . |
Things are getting smoother , OMG thank you Tommaso , god bless . Code: Select all I follow what you suggest by adding a Integer spread and one more Long for tick volume . However I set spread as 0 . What does spread and tick volume actually means ? |
|
| Author: | milanese [ Sun Apr 27, 2014 1:05 pm ] |
| Post subject: | Need help for building a history file . |
tick volume is the tick-count and spread actual difference from bid ask price.. Code: Select all Tommaso |
|
| Author: | juniorlcq93 [ Sun Apr 27, 2014 1:12 pm ] |
| Post subject: | Need help for building a history file . |
so can I say tick volume is actually my Total Volume ?? Spread = difference from bid and ask price ?? Means it is not 0 Integer then ??? I had to use MarketInfo to get bid and ask price minus ? |
|
| Author: | milanese [ Sun Apr 27, 2014 2:48 pm ] |
| Post subject: | Need help for building a history file . |
for spread you can use this: Code: Select all Tommaso |
|
| All times are UTC | Page 2 of 3 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|