Author

Topic: Haasonline Simple Trade Bot For BTCe and Bitstamp[Main topic] - page 110. (Read 416800 times)

sr. member
Activity: 462
Merit: 250
How exactly does the RoC indicator work? If I look at the parameters, I'm a little bit confused:

Buy Level > -1
Sell Level < 1

Does that mean that between -1 and 1 you need to both buy and sell?

The ROC (or Rate of Change) is an indicator that shows you how much a currency has changed. To calculate this you need 2 reference point in the time-line. First an old position, lets say one of 10 positions back. And as second we take the current position. If you do: old_pos_price - new_pos_price = roc_value

So in case the -10 position (old_pos) was lower then the current price you will be getting a negative value. Eg: old_pos_price (90Usd) - new_pos_price (100Usd) = roc (-10) This must illustrate an currency is raising, so buy now! In case or -1 is means the ROC has to be -1 or less.

In case the old position was higher, it must indicate a dropping currency. So a positive value will be calculated, meaning sell now! In case of 1 for sell it means the difference between the prices must be 1 or more.

I can recommend to play with both the buy and sell levels and the old_pos, try some out and benchmark them to understand them.

BTW the difference between -1 and 1 is a black-spot. When the indicator gets in there it will send the Stay signal.

...

San1ty is right about this, it shows you when the buy or sell target price has been reached. At that moment the fields turn green. So those fields give you some more feedback about the tiggers used for the trade bot signal itself.


Stephan,

Thanks for explaining what happens behind the curtains, this will help me a lot!

On a side note, I don't think your RoC indicator is the same as the official RoC indicator that most of us know:



The same goes for how you calculate MACD, it should be:

newbie
Activity: 50
Merit: 0
I have found that if you set the last sell price to a value below the current buy price than the allow buy lights up. Don't really understand why.
newbie
Activity: 50
Merit: 0
no i set the values a while ago , its still the same now and has been running since i posted the last post and its still not lit the allow buy.

I understand what your saying about the values but im just testing to try and understand exactly what does what and as far as i understand there's no reason it should not be allowed to buy here.

ok i re-started it, changed the min drop to 0.5 and raised the last sell price to 200 , then let it run for a while , its well below the target buy price ?

It says selling is allowed but not buying?

I get what determines if the top bars are green or not but don't see what determines if the "buying allowed" & "selling allowed" are lit ?

sr. member
Activity: 449
Merit: 250
Software developer
First of all: you have to change the minimum raise and profit levels. Let it respond faster, let it work on minimum values just to overcome the fee costs. Let the indicators do the work for you.

But this looks like a update issue to me. Did you change values and made the screenshot directly?

I am not always updating all fields, some fields are calculated and they are updated later when the currency is updated. This prevents flooding of a exchange and it will save you processor power (energy). When i designed this version i had energy-savings in mind. It may sound strange, but less power draw means more earnings too. Wink (i am running this software on 2 Atom powered computers to get the most out of it)
newbie
Activity: 50
Merit: 0
im just testing here  but just dont get it. Iv got it set to buy coin , it is below my target buy price , the "Buy price" at the top is green indicating it is below my target buy price but the "buying allowed" is not lit , it would never buy ?



This is all just testing numbers BTW
sr. member
Activity: 449
Merit: 250
Software developer
How exactly does the RoC indicator work? If I look at the parameters, I'm a little bit confused:

Buy Level > -1
Sell Level < 1

Does that mean that between -1 and 1 you need to both buy and sell?

The ROC (or Rate of Change) is an indicator that shows you how much a currency has changed. To calculate this you need 2 reference point in the time-line. First an old position, lets say one of 10 positions back. And as second we take the current position. If you do: old_pos_price - new_pos_price = roc_value

So in case the -10 position (old_pos) was lower then the current price you will be getting a negative value. Eg: old_pos_price (90Usd) - new_pos_price (100Usd) = roc (-10) This must illustrate an currency is raising, so buy now! In case or -1 is means the ROC has to be -1 or less.

In case the old position was higher, it must indicate a dropping currency. So a positive value will be calculated, meaning sell now! In case of 1 for sell it means the difference between the prices must be 1 or more.

I can recommend to play with both the buy and sell levels and the old_pos, try some out and benchmark them to understand them.

BTW the difference between -1 and 1 is a black-spot. When the indicator gets in there it will send the Stay signal.

...

San1ty is right about this, it shows you when the buy or sell target price has been reached. At that moment the fields turn green. So those fields give you some more feedback about the tiggers used for the trade bot signal itself.
sr. member
Activity: 462
Merit: 250
can you please explain exactly what determines if the "Buying Allowed" and "selling allowed" bars are green or not ?

I found this statement but just cant figure what they are.

Quote
Below the bot signal you will see 2 fields, called “Buying allowed” and “Selling allowed”. Both fields can be green or white. When a field turns green it means that buying and/or selling is allowed.

Those are influenced by the Min Rise and the Min drop. (As far as I understand)

For example:

You bought 1 BTC at $100
2 Minutes later 1 BTC is worth $100.5

But your Min rise is set to .7

1 BTC must climb to atleast 100.7 before selling is allowed.
newbie
Activity: 50
Merit: 0
can you please explain exactly what determines if the "Buying Allowed" and "selling allowed" bars are green or not ?

I found this statement but just cant figure what they are.

Quote
Below the bot signal you will see 2 fields, called “Buying allowed” and “Selling allowed”. Both fields can be green or white. When a field turns green it means that buying and/or selling is allowed.

sr. member
Activity: 462
Merit: 250
How exactly does the RoC indicator work? If I look at the parameters, I'm a little bit confused:

Buy Level > -1
Sell Level < 1

Does that mean that between -1 and 1 you need to both buy and sell?
sr. member
Activity: 449
Merit: 250
Software developer
It is not yet possible to cancel a open order. I am still looking into issues like how i should take care of a order if a part has been filled already at the exchange. As soon as i found out how to handel this (for each exchange) the button will be enabled. At the same time i will introduce a new feature that cancels a orders is it is to long open at the exchange.

The same applies to setting the offset of a indicator. Its there, it works but is has not fully been tested yet. So i disbaled it out of security reasons. It will be enabled at the coming updates in the future.

These 2 limits are very minor. Yes you can discuss that canceling an order is very needed, but for normal operation you do not need those features yet. Thats why i pushed the release and why those 2 items are disabled. These are the only one btw.

There are even hidden features inside version 0.9, you can not see those features unless you do something special. But those features are not yet active in this version, i have created them and hidden them so some people can have a look and test it. As soon as they tested it and it has been approved i will add those features. These features are most of the time discussed here and with a select group of people i test them. This way i am able to make good software that has been tested and verified and you as end-user will get that good software. With this construction i can keep everybody happy. (at least that is whats i am doing it for)

Edit:
I am still in the process of giving everybody acces to the new version.
newbie
Activity: 50
Merit: 0
Hi,

I have an open order and tried to cancel it through the bot but cant the cancel button is greyed out ?

sr. member
Activity: 449
Merit: 250
Software developer
Where are the CTF and PDF files located on the site?

ie: http://haasonline.tk/wp-content/uploads/2013/07/RSILogic.pdf etc.

The CTF files are Currency Track Files. If you are in the benchmark tool you can load an CTF file to see how your trade stragety will preform. I just created some CTF files, but you can make them yourself too, just press Save at the benchmark tool.

http://www.haasonline.com/wp-content/uploads/2013/10/CurrencyRecords.zip

The PDF files are deleted. They where valid for version 0.8.x and not higher. I am making new schemes and as soon as i am done i will upload and post them.

Just managed to get version 0.9.0 installed and finally managed to get my keys setup.  The layout seems a bit less cluttered. Interesting in checking out this benchmarking function as well.

FYI: one little thing that I've found so far, right after initial installation, even after setting up API keys properly for whatever exchanges your wanting to trade on, it apparently doesn't update the [Exchange Website] dropdown with a list of those exchanges for which the user has entered valid api keys.

*Also, wording on Cryptsy API key portion is confusing, might I suggest you use 'Public Key' and 'Private Key' instead of login/password? This would make it more consistent with the Cryptsy login portal that some of us are all too familiar with :p

You are totally right, what you are pointing out is abug which i have written down at my website too. Once you setup your API settings you need to restart the application to update the [Exchange website] combobox. I have solved it already for the next update. And true, cryptsy should be with a API and secret key. If you enter those in these fields you will be alright.
legendary
Activity: 1610
Merit: 1000
Well hello there!
Just managed to get version 0.9.0 installed and finally managed to get my keys setup.  The layout seems a bit less cluttered. Interesting in checking out this benchmarking function as well.

FYI: one little thing that I've found so far, right after initial installation, even after setting up API keys properly for whatever exchanges your wanting to trade on, it apparently doesn't update the [Exchange Website] dropdown with a list of those exchanges for which the user has entered valid api keys.

*Also, wording on Cryptsy API key portion is confusing, might I suggest you use 'Public Key' and 'Private Key' instead of login/password? This would make it more consistent with the Cryptsy login portal that some of us are all too familiar with :p
hero member
Activity: 551
Merit: 500
Where are the CTF and PDF files located on the site?

ie: http://haasonline.tk/wp-content/uploads/2013/07/RSILogic.pdf etc.
newbie
Activity: 50
Merit: 0
I know what they are, they are normally taken from the "close" of each tick (but they dont have to be), it was just that you don't show an open or close so i was just wondering.

thx.

sr. member
Activity: 449
Merit: 250
Software developer
You can look them all up, the calculations i use are called "technical market indicators". Wink

Edit:
I use the currency buy price (the close price).
newbie
Activity: 50
Merit: 0
Thx , sounds like the offset will be very handy when finished.

My next question. What are the indicators taken from ? Last , Close , or do the indicators gather data from the ASK line when your in a sold position and then swap over to the BID line when your in Brought position ?

Cheers.
sr. member
Activity: 449
Merit: 250
Software developer
Well your first question can be answered with the usage of a trading strategy. If you add more indicators the moment of a buy and a sale is later. So try adding more indicators, benchmark your trade-bot and see how your logic would perform.

The ticker offset is a feature that will allow you to do set the data for the indicator 0 or more steps back. 0 means use current currency data and 1 means the data before the current currency and so on... but it has not been fully tested yet. So its disabled in the current version.

Thanks, good to hear! Smiley
newbie
Activity: 50
Merit: 0
HI, really great work, happy now the timer is fixed so i can start tinkering Cheesy

I do already have a question , most of the indicators you use (RSI, MACD, ROC) are at there most basic gradient measurements and usually these indicators have a signal line added to them because we really want to get the end of a gradient rather than the gradient itself. Usually a moving average of the actual indicator is added which acts as a signal line.

Now im a bit confused because you do have an "Ticker offset" which kinda looks like it might be a similar thing but all my offset boxes in the indicator settings are greyed out so i cant tinker with them to see if this is the case ?

Excellent work and many thx.
sr. member
Activity: 449
Merit: 250
Software developer
As everybody may know... today is the day i update the Simple Trade Bot to version 0.9 beta. The past days i have made the final adjustments and the software is now ready for release.

Because of the update procedure i use this time you have to wait till you get a mail from me. This mail will send to you within 24-hours. In this mail you will find the instruction to get the new version. Smiley

The final interface and supported exchanges.
Jump to: