Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in EFS New Study Suggestions only
Search
Advanced Search
Forums
Articles
Groups
Member List
Forum
EFS Development
EFS New Study Suggestions
Announcement
Collapse
No announcement yet.
Very simple reqest
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
2
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
1
2
template
Next
nibor
Registered User
Join Date:
Jan 2005
Posts:
1
Share
Tweet
#16
02-03-2005, 05:24 AM
hi i have just discovered TRIX - how do i get going so that it shows both long and short on my chart
Thanks
Robin
Comment
Post
Cancel
ACM
Senior User
Join Date:
Oct 2002
Posts:
19393
Share
Tweet
#17
02-03-2005, 06:07 AM
Robin
In preMain() add the following two statements
setColorPriceBars(true);
setDefaultPriceBarColor(Color.black);
Then after line 56 of the script add the following
if(Strategy.isLong())
setPriceBarColor(Color.lime);
if(Strategy.isShort())
setPriceBarColor(Color.red);
This will color the price bars in lime when long and in red when short
Alex
Comment
Post
Cancel
Previous
1
2
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment