NexusFi: Find Your Edge


Home Menu

 





BB_MACD up/down arrows


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,271 views
    2. thumb_up 9 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread

BB_MACD up/down arrows

(login for full post details)
  #1 (permalink)
 wbtrader 
atlanta ga usa
 
Experience: Advanced
Platform: tradestation, ninja trader
Trading: es
Posts: 12 since Aug 2011
Thanks Given: 10
Thanks Received: 5

i am using this indicator but i want to place up/down arrows where it crosses the zero line. can anyone help me figure out how to code in the arrows. the code is great & just what i need but it is missing the arrows. im attaching a pic of the way it appears now.

Attached Thumbnails
Click image for larger version

Name:	needs up down arrows.JPG
Views:	401
Size:	24.8 KB
ID:	48768  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Futures Close-Out Policy
Commodities
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Looking for an MQL4 MetaTrader programmer/coder
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Daytrading ES & NQ
32 thanks
Battlestations: Show us your trading desks!
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Retail Trading As An Industry
25 thanks

(login for full post details)
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,248 since Jun 2009
Thanks Given: 33,111
Thanks Received: 101,368


wbtrader View Post
i am using this indicator but i want to place up/down arrows where it crosses the zero line. can anyone help me figure out how to code in the arrows. the code is great & just what i need but it is missing the arrows. im attaching a pic of the way it appears now.

Start by posting the code for the indicator, then someone can add the arrows for you.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
(login for full post details)
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,248 since Jun 2009
Thanks Given: 33,111
Thanks Received: 101,368


 
Thread Moved


Moved to EasyLanguage Programming



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading


We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
(login for full post details)
  #4 (permalink)
 wbtrader 
atlanta ga usa
 
Experience: Advanced
Platform: tradestation, ninja trader
Trading: es
Posts: 12 since Aug 2011
Thanks Given: 10
Thanks Received: 5

thanks for pointing this out! i completely forgot to post the code on the first post so here it is:
inputs: FastLength( 8 ),
SlowLength( 161 ),
Length( 8 ) ,
StDv(1),
OBColor (Green),
OSColor (Red);
variables: MyMACD( 0 ), MACDAvg( 0 ), MACDDiff( 0 ), BB_Macd (0),
Avg(0),
SDev(0),
Upper_band(0),
Lower_band(0);

MyMACD = MACD( Close, FastLength, SlowLength ) ;
MACDAvg = XAverage( MyMACD, Length ) ;
MACDDiff = MyMACD - MACDAvg ;
BB_Macd= MACD( Close, FastLength, SlowLength ) ;
Avg = XAverage(BB_Macd,Length);
SDev = StdDev( BB_Macd, Length ) ;
Upper_Band = Avg + StDv * SDev ;
Lower_Band = Avg - StDv * SDev ;

Plot1( MyMACD, "MyMACD" ) ;
Plot2( 0, "ZeroLine" ) ;
Plot3(BB_Macd, "BBMACD");
Plot4(Upper_Band, "HighBand");
Plot5(Lower_Band, "LowBand");
{ Alert criteria }
if MyMACD > 0 then
SetPlotColor(1, OBColor);
if MyMACD < 0 then
SetPlotColor(1, OSColor);
If 0 > MyMACD then
Setplotcolor(2, OSColor);
If 0 < MyMACD then
setplotcolor(2, OBColor);

Started this thread Reply With Quote
The following user says Thank You to wbtrader for this post:
(login for full post details)
  #5 (permalink)
 
Serger's Avatar
 Serger 
Quebec
 
Experience: Intermediate
Platform: Multicharts 64 +VolProfile
Broker: Interactive Brokers
Trading: Ym, Es
Posts: 74 since Oct 2010
Thanks Given: 64
Thanks Received: 25

Try this ....

Attached Files
Register to download File Type: pla MAcDBB.pla (42.5 KB, 212 views)
Reply With Quote
The following 6 users say Thank You to Serger for this post:





Last Updated on September 23, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts