Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #191 (permalink)  
Old 05-26-2009, 12:12 PM
AAD's Avatar
AAD AAD is offline
Member
 
Join Date: Feb 2008
Posts: 52
AAD is on a distinguished road
Thumbs up Minor Code Update...

Hi Cja,

I was wondering if you would be so kind enough to update the "Daily Data" & "Signal Bars" indicators to automatically switch between 5th or 6th decimal quotes (no user input necessary), and to also be able to show fractional pip spread with JPY type of pairs?

Below is an example of the small addition to your code that would allow it to do the above. This is my little way of giving back and thanking you for your help and great indicators.

I will post a pic so that you can see the difference between the "BarClock v3" indicator that is displaying the spread for USDJPY incomparison to your "Daily Data" indicator. I'll also post the "BarClock" indicator for folks that might be interested in it...


PHP Code:

//+----------------------------------------------------------------------------------------+
//|                                                             BarClock v3 (AAD Mods).mq4 |
//|                                       Original Copyright ©2005, Nick Bilak B-Clock.mq4 |
//|                                                           http://www.ForexFactory.com/ |
//|                                                             All Mods/Updates By AAD... |
//+----------------------------------------------------------------------------------------+
#property copyright "Copyright ©2009, AAD..."
#property link "www.ForexFactory.com"

/*
Updated: 07/11/2008 - I added customizable options (color, display text near bars on/off, and text size) along with a minor code fix to this indicator. It now deletes the time text near the bars when the indicator is removed or when the "Display Time Near Bars" option is set to false. AAD...

Updated: 11/17/2008 - I added the broker spread and changed the name to BarClock (AAD Mods v2)...

Updated: 11/18/2008 - I added the broker spread display around the top left hand corner of the chart and changed the name to BarClock (AAD Mods v2a)...

Updated: 12/05/2008 - I made some display code fixes, and also so that it won't delete other text on a chart when closing the BarClock indicator. I changed the name to BarClock v2 (AAD Mods)...

Updated: 05/18/2009 - I added an auto 5/6 digit quote switch in the code for the spread display to be fully compatible with brokers that use up to 6 digit quotes. I changed the name to BarClock v3 (AAD Mods)...
---

*/


#property indicator_chart_window

// Global.
double DblPoints;
double SP1;

//+----------------------------------------------------------------------------------------+
//| Custom indicator initialization function                                               |
//+----------------------------------------------------------------------------------------+

int init()
{
DblPoints=GetPoints();
SP1=Spreads();
}

//+----------------------------------------------------------------------------------------+
//| Custom indicator iteration function                                                    |
//+----------------------------------------------------------------------------------------+

// Auto 5/6 Digit Broker Quote Switch.
double GetPoints()
{
   if(
Digits==|| Digits==5DblPoints=Point*10;
   else 
DblPoints=Point;
   return(
DblPoints);
}
// Auto JPY Pair Style Digit Display Switch.
double Spreads()
{
   if(
Digits==3SP1=Digits-2;
   else 
SP1=Digits-4;
   return(
SP1);
}
int start()
{
   
// Spread.
   
double SPRD=(Ask-Bid)/DblPoints;
   
string SPREAD=DoubleToStr(SPRD,SP1); 
Attached Images
File Type: gif usdjpy with barclock.gif (31.6 KB, 888 views)
Attached Files
File Type: ex4 BarClock v3 (AAD Mods).ex4 (3.6 KB, 93 views)
__________________
Pipping ain't easy but someone's got to do it!

Last edited by AAD; 05-26-2009 at 02:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #192 (permalink)  
Old 05-26-2009, 01:54 PM
AAD's Avatar
AAD AAD is offline
Member
 
Join Date: Feb 2008
Posts: 52
AAD is on a distinguished road
Or perhaps the code below is more simple (no Global or int init() variables required), it seems to work fine...

PHP Code:

//+----------------------------------------------------------------------------------------+
//| Custom indicator iteration function                                                    |
//+----------------------------------------------------------------------------------------+
int start()
{
   
// Auto 5/6 Digit Broker Quote Switch.
   
double DblPoints; if(Digits==5||Digits==3) {DblPoints=Point*10;} else {DblPoints=Point;}
   
// Auto JPY Pair Style Digit Display Switch.
   
double SP1; if(Digits==3) {SP1=Digits-2;} else {SP1=Digits-4;}
   
// Spread.
   
double SPRD=(Ask-Bid)/DblPoints;
   
string SPREAD=DoubleToStr(SPRD,SP1); 
__________________
Pipping ain't easy but someone's got to do it!

Last edited by AAD; 05-26-2009 at 03:03 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #193 (permalink)  
Old 06-13-2009, 06:06 PM
MKRoxton's Avatar
Member
 
Join Date: Aug 2008
Location: Germany
Posts: 76
MKRoxton is on a distinguished road
For what indicator is "str" called?

Hi,
I find the Signal-Bars indicator is very nice!
But I know not, which indicator is mean with "str" (in second row)?

Do one here konw that?

Thanks!

MKRoxton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #194 (permalink)  
Old 06-13-2009, 09:45 PM
matfx's Avatar
Senior Member
 
Join Date: Sep 2007
Posts: 510
Blog Entries: 3
matfx is on a distinguished road
Quote:
Originally Posted by MKRoxton View Post
Hi,
I find the Signal-Bars indicator is very nice!
But I know not, which indicator is mean with "str" (in second row)?

Do one here konw that?

Thanks!

MKRoxton
The "STR" indicator comprised of RSI, Stochastic and CCI calculation in providing signal.
__________________
MY TRADING BLOG
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #195 (permalink)  
Old 06-16-2009, 06:58 PM
Junior Member
 
Join Date: Nov 2008
Posts: 1
robycolt is on a distinguished road
Thanks for sharing cja, what a great tool.

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #196 (permalink)  
Old 06-26-2009, 03:45 PM
Member
 
Join Date: Jan 2009
Posts: 85
Boyens is on a distinguished road
CJA thank you so much for your great job!

I'm looking for an indicator that only display de price and spread. Is it possible?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #197 (permalink)  
Old 07-25-2009, 03:12 PM
Senior Member
 
Join Date: Apr 2009
Posts: 130
Petor is on a distinguished road
Petor

Quote:
Originally Posted by cja View Post
Signal Bars has come of age so i thought that i would start a new thread with the latest version

This version Signal Bars v7 has some new features, the User can select which Timeframes they want displayed and the indicator can now be placed into any indicator window to help free up chart space.

One other difference is that now the Price color updates with the direction of price movement, UP = Lime / DN = Red / Flat = Orange or what ever colors you decide to use.

Some of the new inputs settings

IIIIIIIIIIIIIIIII="<<<< Adjustable TimeFrames >>>>>>>>>>>>>>>>>>>>>>>";
TF1 = 1;
TF2 = 5;
TF3 = 15;
TF4 = 30;
TF5 = 60;
TF6 = 240;

IIIIIIIIIIIIIIIIII= "<<<< Chart Position Settings >>>>>";
Corner_of_Chart_RIGHT_TOP = true;//false = Signal in top left corner
Shift_UP_DN =0;// Adjusts Signal Display Up & Down
Adjust_Side_to_side = 20;// Adjusts Signal Display from side to side
Sig_Bars_Window = 0;//1=1st Window/ 2=2nd Window etc

All the features that were avaliable on the previous Signal Bar indicators are still in this indicator, the ability to adjust indivdual indicator settings and colors for instance.

Attachment 54289

See the screenshots in the 2nd post below

************************************************** ********

02/12/2007

Attached is Signal Bars v71 which has an extra TimeFrame added as requested by some traders who require the lower TimeFrames plus Daily.

Attachment 54290

See Screenshots in the 3rd post below

11/02/2008
Important Signal Bars v7 & Signal Bars v71 both now have a password
This was coded into the indicators to get around the line of text i previously had displayed on the lower chart area to stop people selling this indicator, i feel that no one will pay money for an indicator that has this password. I hope that this is not too inconvenient for tsd users and believe that this a solution that should work for everyone.


PassWord = free_at_tsd


15/10/2008

I have rewritten the Signal Bars Indicator to try and avoid the issues some people have had with the BARS & TEXT misaligning on some platforms, I have totally changed the way the BARS are written - the default TEXT is now ARIAL & ARIAL BOLD which is a more common text found on most platforms and computer operating systems.

The password is still the same as above


28/01/2009
Signal Bars v8D now has a Digit Switch for 5 & 6 Digits platforms

Attachment 77080

Attachment 70797
Thanks You very much, CJA! The SignalsBars EA and -Indicators, are super: the refined, precise, nice, and wonderful Helper for winner Trading! Thank You very much!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #198 (permalink)  
Old 08-07-2009, 06:26 AM
Junior Member
 
Join Date: Aug 2009
Posts: 4
CanisLC is on a distinguished road
CJA, thanks a ton for Signal Bars! I just have one suggestion and one question.

The question: as I understood STR value is based on Stochastic, RSI and CCI. But what the principle? I mean how STR is calculated mathematically?

The suggestion: it would be really great to see also time left for the next bar and world market sessions.

Excuse me for my english.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #199 (permalink)  
Old 08-17-2009, 03:04 PM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 676
cja is on a distinguished road
#Signal Bars v9

Updated indicator posted on the 1st post of this thread. Signal Bars now resets automatically for the different platforms.

Signalbars.gif
__________________
My Disadvantage is that I am not a Trained Programmer - My Advantage is that I am not a Trained Programmer.
http://cjatradingtools.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #200 (permalink)  
Old 08-17-2009, 05:40 PM
Junior Member
 
Join Date: Jun 2009
Posts: 12
whitebloodcell is on a distinguished road
Thankyou for a great indicator, I am having trouble with the latest version however (Actually I had trouble with the earlier ones - has got worse though with this release), once I place the indicator on my chart memory usage for MT4 jumps up by about 800MB, placing it on a second chart makes it jump again and crashes my terminal. Is there anything you can think of that might be causing this? I have tried various versions from v3 now up to v9 with the same effect.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
#signal_bars_v7, #Signal_Bars_v7.ex4, cja forex, forex, free_at_tsd, HATR_Smoothed, imran, imran sait, signal bar, signal bar forex, Signal bar V7, SIGNAL BAR V8, signal bars, signal bars by cja, signal bars cja, signal bars forex, Signal Bars indicator, Signal Bars mq4, signal bars v7, signal bars v71, signal bars v8, SignalBars, signal_bar, Signal_Bars, signal_bars mq4, signal_bars _v6, Signal_Bars.mq4, signal_bars_v7, Signal_Bars_v8


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT. The time now is 03:36 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.