|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
How to get spread inside onBar() |
juandata
|
Post subject: How to get spread inside onBar() |
Post rating: 0
|
Posted: Sun 15 Sep, 2013, 22:30
|
|
User rating: 0
Joined: Mon 11 Mar, 2013, 00:00 Posts: 47 Location: Colombia, manizales
|
Hello,
I want to get spread in onBar(), if someone can help me I would appreciate it.
Thanks,
|
|
|
|
 |
jlongo
|
Post subject: Re: How to get spread inside onBar() |
Post rating: 1
|
Posted: Sun 15 Sep, 2013, 23:41
|
|
User rating: 94
Joined: Mon 06 Feb, 2012, 12:22 Posts: 357 Location: Portugal, Castelo Branco
|
Hi juandata:
double lastBarSpread = askBar.getClose() - bidBar.getClose();
Trade well
JL
|
|
|
|
 |
juandata
|
Post subject: Re: How to get spread inside onBar() |
Post rating: 0
|
Posted: Mon 16 Sep, 2013, 03:02
|
|
User rating: 0
Joined: Mon 11 Mar, 2013, 00:00 Posts: 47 Location: Colombia, manizales
|
Thank you so much! 
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|