PureBytes Links
Trading Reference Links
|
Imagine there is an indicator (Let's say "Trade"), which handles a
trade from the very beginning to the very end (calculates and displays
trade size, entry and all stops from protective to profit
taking,...etc). All it really needs is a Trade Bar indicated by a user
( I still prefer human being decision, but after that there is no
thinking) . Trade Bar has to be stored, because a trade can last
longer than a day.
As I am aware, AB offers two potential solutions to store Trade Bar:
1. A study. Unfortunately, using a vertical line to mark Trade Bar
causes empty array return from a study function. This option seems to
be useless.
2. Using SelectedValue and AddtoComposite a composite array can be
created (prohibitive solution in real time when trading on 1 minute
bars)or DateNum and TimeNum at SelectedValue can be stored in text
file. In both cases the name of the file will be:
Name() + Interval() + _Section_Name() since there can be more than one
open trade (pyramiding) for the same symbol and the same time frame.
A "Trade" indicator is dragged and dropped on Price pane every time a
new trade is required (it handles just this trade). Trades can be
differentiated using different colors.
Since AB does not store charts every time a "Trade" is used it appears
on every symbol with the same Chart_Id and it is being executed (!!!).
In other words, if there are 100 trades (for one or several
symbols)100 Trade indicators (from Trade1...... Trade100)are present
for every symbol unless a unique template is used for every symbol
(this would be a horror story !). Each "Trade" indicator checks if a
corresponding file or composite exists and if it does not does nothing
(nevertheless does the checking 100 times).
Additionally, just by looking at the Parameter window with 100 "Trade"
indicators it is almost impossible to say which ones belong to the
current symbol and interval.
>From AB architecture point of view what is the the proper solution to
solve above problems ? Am I missing something ?
I was thinking about an extra ParamHotSpots which can store X/Y mouse
clicks for the symbol/interval/_Section_Name and if the indicator
containing ParamHotSpots has no data stored for
symbol/interval/_Section_Name it will never be presented (like a
study). For "Trade" purposes one mouse click is required, but multiple
mouse clicks will be very useful for things like: manual swings,
shapes recognition , ...etc.
Any constructive help will be appreciated.
AF
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|