Real Time Data Now / Nest Trader to Amibroker, Fcharts

josh1

Well-Known Member
I have one annoyance with AB, maybe you can help. Main drawing tool i need is a horizontal line that does not extend ( ie a trend line with 1 price and some length). AB does not have it and i dont think we can create custom drawing tools. Using trend lines, i try to draw straight lines. Its a small thing but annoying to align them everyday.

As a workaround, i think we can simply have a flatten button that goes through all trend lines and sets end price = start price.
We could again use study ids, but is there any way to just get all trend lines? And how to modify trend line?

I dont know afl, and somehow i can never get my head around the reference ...
But drawing horizontal line is so simple with Amibroker -- View -- crosshair cursor. Draw 1 line and copy it as many times as you want. :cool:
 

josh1

Well-Known Member
I was using Josh sir's utility since last one year but recently my system crashed and i have to install afresh both the utility and Amibroker. Since then though the charts are coming they are not getting saved. The present Amibroker version 6.00,1 (Trial version ).Earlier also Iwas using Amibroker trial version only.
Please guide how to save the charts.

BSRAO
Try earlier version
 

rmike

Well-Known Member
josh said:
I am also considering that idea for some time
TB said:
We can have all sorts of extra logic as per needs but this seems a good base. If you see a better way, shoot..... I have one annoyance with AB.....
:)

Lots of things are possible. Apart from buy sell signals, one can also have the exact no. of units to buy/ sell read off (as per set total equity & risk parameters). One can have one's ami driven version of OCO orders etc. Will need to know how (& what) input is required by your AHK model

Would suggest that we take this project to another thread as it would clash with other queries here. If you would like to correspond directly then mail Ids can be exchanged by PM (as desired)

P.S - Some restrictions of file upload in this forum are genuinely bugging

Regards,
 

NJ23

Well-Known Member

TracerBullet

Well-Known Member
But drawing horizontal line is so simple with Amibroker -- View -- crosshair cursor. Draw 1 line and copy it as many times as you want. :cool:
yes, i can also reuse yesterdays stuff. But few times a day i need to extend /shorten the line which can be annoying. Still dont have solution for it.

:)

Lots of things are possible. Apart from buy sell signals, one can also have the exact no. of units to buy/ sell read off (as per set total equity & risk parameters). One can have one's ami driven version of OCO orders etc. Will need to know how (& what) input is required by your AHK model

Would suggest that we take this project to another thread as it would clash with other queries here. If you would like to correspond directly then mail Ids can be exchanged by PM (as desired)

P.S - Some restrictions of file upload in this forum are genuinely bugging

Regards,
Right now I am just gathering info on viability before starting. AHK part should work and now you have given me way to integrate AB. Did some coding for few weeks already so might take a break.

As i understood, Nest plus apis for ordering need monthly fees and are somewhat limited, hence will do using AHK instead. Also Nest plus is less reliable in general for me. ( crashed NOW today ... )

My initial plan for it is to keep it simple with Limit + SL order and SL movement. Initially AHK only and then integrate with AB. Testing Ordering stuff will have its risks, so will need to be careful with Stop orders ( SL only after entry) and OCO - as both will need tracking of position.

AB to AHK will probably be integrated by calling exe and using input parameters. So you can have custom AFL code that decides position size etc.

When i make some initial progress ill release it here and then we can take it from there based on feedback. It will be gpl like rtdman.
 
Last edited:

candle

Well-Known Member
you all are doing great job men ! Many of your stuffs goes just above my head. Many times, I feel the urge to contribute here but I couldn't find myself to be in a position to be able to do even a little bit, as I am illiterate in this domain. I really appreciate your time and efforts. Great Going !!!
 

rmike

Well-Known Member
TB said:
When i make some initial progress ill release it here
Ok! In the meanwhile, let me just sort out one of your bugbears :)

http://www39.zippyshare.com/v/41cnF7MJ/file.html

Demo code snippet

Play around with params :)

Line is drawn w.r.t to any selected bar's parameters

Parameter can be changed to anything - e.g high, low, close, atr etc by manual editing of code, as desired

The mathematical sign change from '+' to '-' by manual editing will plot the line above or below, as desired

Regards,
 

TracerBullet

Well-Known Member
you all are doing great job men ! Many of your stuffs goes just above my head. Many times, I feel the urge to contribute here but I couldn't find myself to be in a position to be able to do even a little bit, as I am illiterate in this domain. I really appreciate your time and efforts. Great Going !!!
Just report bugs and suggest if you see any possible improvement in workflow. Any idea that reduces time and effort using the tools. Whether i do it or not is ofc not guaranteed.

Ok! In the meanwhile, let me just sort out one of your bugbears :)

http://www39.zippyshare.com/v/41cnF7MJ/file.html

Demo code snippet

Play around with params :)

Line is drawn w.r.t to any selected bar's parameters

Parameter can be changed to anything - e.g high, low, close, atr etc by manual editing of code, as desired

The mathematical sign change from '+' to '-' by manual editing will plot the line above or below, as desired

Regards,
thanks, ill have a look - but there is some discretion there as i may want to ignore tails or may want to draw at a round number etc.

Setting params manually will be extra work - Even in trend lines, i can also just copy paste start to end manually to align the line. Its not a big deal but doing it few times every day adds up. Just wanted to check if there can be a simple way around it with no effort once setup.

My ideal drawing tool - Horizontal segment. ie a Horizontal line that has only 1 price but does not extend (or a trendline that is always horizontal). Is this possible in AB?
 

rmike

Well-Known Member
TB said:
but there is some discretion there as i may want to ignore tails or may want to draw at a round number etc
That's possible with this demo itself. When you try it, it'll be apparent
TB said:
Setting params manually will be extra work - Even in trend lines, i can also just copy paste start to end manually to align the line. Its not a big deal but doing it few times every day adds up. Just wanted to check if there can be a simple way around it with no effort once setup
This is just a concept demonstrator. Can be made defined event driven and hence completely auto. Can incorporate various flexibilities e.g single sided extension etc
TB said:
My ideal drawing tool - Horizontal segment. ie a Horizontal line that has only 1 price but does not extend (or a trendline that is always horizontal). Is this possible in AB?
By definition, a trend line which does not extend has to possess at least two defined points - start & end. This is offered as a native study by ami, except that it has the inbuilt flexibility for the end point to be of a different Y axis value vs the start point. For same Y axis value of both, ami expects one to draw it horizontally :). Otherwise a single click adjustable horizontal line study is available, but it extends to both left and right! An in-between choice is the ray, which extends to one side only, but is not inherently limited to being horizontal and needs to be drawn that way!

Without getting into the reasons for such a curious tool wish, I'd have thought that a right extension would actually have been desirable if the object was to use the structure as a trigger in relation to future price crosses for order generation
 

Similar threads