Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Adding additional buffer to SilverTrend indicator

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Default Adding additional buffer to SilverTrend indicator

    Hi,
    i'm writing an EA using SilverTrend indicator and using iCustom function. i have to access the last trend signal given by this indicator. the problem is, silvertrend has only 2 buffers and they have a value only when it signals. but i want to call it anytime. so, i'm trying to add an additional buffer to Silvertrend which stores latest trend(up/down) for every bar. i added a buffer stores uptrend as 1 and downtrend as -1. but it takes 0 for all bars. how can i code this?
    Last edited by mourath; 01-09-2011 at 20:33.

  2. #2
    Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Default

    i solved it. delete the old variable and operations about it. 2 buffers have a valid trend value for all the bars

Similar Threads

  1. ADX EA with additional indicators
    By Darius98 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 10-11-2014, 11:18
  2. Adding an alarm to an indicator
    By Daydream85 in forum Scripts and other tools
    Replies: 0
    Last Post: 05-07-2013, 15:38
  3. Req: Please help me to add some additional functions to this EA. Thanks a lot
    By james_phuc28 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 09-19-2010, 17:14
  4. Adding sound and email alert to Zig and Zag indicator
    By dsrtradefx in forum MQL programming
    Replies: 1
    Last Post: 05-22-2010, 17:05
  5. Adding alert to to the indicator
    By yasir9757 in forum Ideas for expert advisors
    Replies: 2
    Last Post: 01-16-2010, 15:46

Tags for this Thread

add, indicator, signal, signals, trend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •