Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Tools and utilities


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (59) Thread Tools Display Modes
  #111 (permalink)  
Old 04-17-2007, 04:48 AM
C.E.O.'s Avatar
Member
 
Join Date: Nov 2006
Posts: 90
C.E.O. is on a distinguished road
Quote:
Originally Posted by cja
Hi
Yes you are correct you cannot alter or select what timeframes you want other than the 2 current setups, this would required a huge amount of code to make the timeframes indivdually selectable and probably double the size of the indicator, you will just have to wait for the release of the mq4 file or i may get time to make one for you, i presume you want M15/m30/H1/H4/W1/MTH or is it M15/M30/H1/H4 ????

cja

Couldnt you just do something like so...
PHP Code:
extern bool show_1m true;


If (
Show_1m == true)
//Signal Labels           
    
{ObjectCreate("ObjLabel1"OBJ_LABELWindowFind("DIGISTOCH"), 00); //LABEL
        
ObjectSetText("ObjLabel1","SIGNAL",8"Arial Bold"Silver);
        
ObjectSet("ObjLabel1"OBJPROP_CORNER0);
        
ObjectSet("ObjLabel1"OBJPROP_XDISTANCE105);
        
ObjectSet("ObjLabel1"OBJPROP_YDISTANCE3);} 
Just insert the if over your object code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #112 (permalink)  
Old 04-17-2007, 06:24 AM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 538
cja is on a distinguished road
Timeframe adjustments

Quote:
Originally Posted by C.E.O.
Couldnt you just do something like so...
PHP Code:
extern bool show_1m true;


If (
Show_1m == true)
//Signal Labels           
    
{ObjectCreate("ObjLabel1"OBJ_LABELWindowFind("DIGISTOCH"), 00); //LABEL
        
ObjectSetText("ObjLabel1","SIGNAL",8"Arial Bold"Silver);
        
ObjectSet("ObjLabel1"OBJPROP_CORNER0);
        
ObjectSet("ObjLabel1"OBJPROP_XDISTANCE105);
        
ObjectSet("ObjLabel1"OBJPROP_YDISTANCE3);} 
Just insert the if over your object code?
Yes you are quite right you can do exactly as you suggest but that would just delete the timefame and leave a gap in the display so the other 7 timeframes would need to shift and enlarge to take up the gap, this would apply to every combination of timeframes plus double the code for the shift to the left side of the chart. Thanks for the idea but it is not practicle to do at present.

As for the externs STOCH_Bars_v2c on the POST#92 has these in the code under inputs although the price is not there it is coded to 1 = Open in the indicator

cja
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #113 (permalink)  
Old 04-20-2007, 04:27 AM
C.E.O.'s Avatar
Member
 
Join Date: Nov 2006
Posts: 90
C.E.O. is on a distinguished road
cja,
I would like to ask your help on something. I have taken digistochs code and am wanting to add an alert function to it, and maybe when you release(if) source for stochs bar, do the same. I am pretty new at this coding business and have trouble with alerts going off at every tick. The following is what I have and am not sure if it will work, but i would like an alert for one per bar of the current chart timeframe. Could you please give me a hand on this? Your help would be greatly appreciated.

PHP Code:
if (AlertOnAllignment == true)
   
   {
    if (
StochsToAllign == 2
    
//up trend 2 alligned
    
{if  ((stoch_color_m15 == YellowGreen && stoch_color_m30 == YellowGreen) || 
         (
stoch_color_m15 == YellowGreen && stoch_color_h1 == YellowGreen) ||
         (
stoch_color_m15 == YellowGreen && stoch_color_h4 == YellowGreen) || 
         (
stoch_color_m30 == YellowGreen && stoch_color_h1 == YellowGreen) ||
         (
stoch_color_m30 == YellowGreen && stoch_color_h4 == YellowGreen) || 
         (
stoch_color_h1 == YellowGreen && stoch_color_h4 == YellowGreen))
         
     
//Down trend 2 alligned
    
else if  ((stoch_color_m15 == Tomato && stoch_color_m30 == Tomato) || 
         (
stoch_color_m15 == Tomato && stoch_color_h1 == Tomato) ||
         (
stoch_color_m15 == Tomato && stoch_color_h4 == Tomato) || 
         (
stoch_color_m30 == Tomato && stoch_color_h1 == Tomato) ||
         (
stoch_color_m30 == Tomato && stoch_color_h4 == Tomato) || 
         (
stoch_color_h1 == Tomato && stoch_color_h4 == Tomato))    
     }    
         
   if (
StochsToAllign == 3)
   
//up trend 3 alligned
   
{if  ((stoch_color_m15 == YellowGreen && stoch_color_m30 == YellowGreen && stoch_color_h1 == YellowGreen) || 
        (
stoch_color_m15 == YellowGreen && stoch_color_m30 == YellowGreen && stoch_color_h4 == YellowGreen) ||
        (
stoch_color_m30 == YellowGreen && stoch_color_h1 == YellowGreen && stoch_color_h4 == YellowGreen))
   
   
//Down trend 3 alligned
   
else if  ((stoch_color_m15 == Tomato && stoch_color_m30 == Tomato && stoch_color_h1 == Tomato) || 
        (
stoch_color_m15 == Tomato && stoch_color_m30 == Tomato && stoch_color_h4 == Tomato) ||
        (
stoch_color_m30 == Tomato && stoch_color_h1 == Tomato && stoch_color_h4 == Tomato))
   }
   
   if (
StochsToAllign == 4)
   
//up trend All alligned     
   
{if  ((stoch_color_m15 == YellowGreen && stoch_color_m30 == YellowGreen && stoch_color_h1 == YellowGreen && stoch_color_h4 == YellowGreen))    
   
//Down trend All alligned     
   
else if  ((stoch_color_m15 == Tomato && stoch_color_m30 == Tomato && stoch_color_h1 == Tomato && stoch_color_h4 == Tomato))    
   } 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #114 (permalink)  
Old 04-21-2007, 09:15 AM
Junior Member
 
Join Date: Nov 2005
Posts: 19
prosper888 is on a distinguished road
Smile STOCH 5,3,3 Indicator - 4H

CJA,

Please take a look at the attached GJ 4H chart. The stoch has already moved below 80, 66.xxxx while the STOCH 5,3,3 is still red above 80.
The red arrows are pointing at the two parts.

Happy trading,

Khai
Hope the attachment comes thru'
Attached Images
File Type: gif ScreenHunter_04 Apr. 21 19.05.gif (24.2 KB, 1153 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #115 (permalink)  
Old 04-21-2007, 10:26 AM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 538
cja is on a distinguished road
Stoch

Quote:
Originally Posted by prosper888
CJA,

Please take a look at the attached GJ 4H chart. The stoch has already moved below 80, 66.xxxx while the STOCH 5,3,3 is still red above 80.
The red arrows are pointing at the two parts.

Happy trading,

Khai
Hope the attachment comes thru'
Thank you for bringing this to my attention - this is how we improve things by having good feedback.
The difference is because the STOCH Bars are set to OPEN on the price and your STOCH is set to LOW/HIGH and the lower STOCH is set to CLOSE see the attached screenshot. Then there is Smoothed / EMA / SMA etc so differences will occur with different setups.

sto.gif
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #116 (permalink)  
Old 04-21-2007, 11:41 PM
Junior Member
 
Join Date: Nov 2005
Posts: 19
prosper888 is on a distinguished road
Smile STOCH Bar 5,3,3

Hi CJA,

Thanks for your quick reply. Please see attachment. The top 4 Stoch are drawn using mt4 built-in Stoch indicator with different settings. The 5th one is the same as I used b4 in the post above, available from the forum. Could not get what you have.

Could you post the Stoch indicator that you used as above for me to try.

Many thanks and lots of pips to you,

Khai
Attached Images
File Type: gif ScreenHunter_01 Apr. 22 09.28.gif (30.0 KB, 1113 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #117 (permalink)  
Old 04-22-2007, 07:46 PM
EnkiJr's Avatar
Senior Member
 
Join Date: Dec 2006
Location: Toronto
Posts: 103
EnkiJr is on a distinguished road
cjaLIGHTS

Hello CJA... you are not only a benevolent person... a good coder... but you are also an artist... your LIGHTS are one of the best looking indicators I ever seen... thank you for sharing... and giving us the setup options... it's a very handy tool for a non-coder like me...

I was thinking about your creation and... Jules Verne came to my mind... Flying Submarine... when the waters are calm, not much is happening, the crew can take a rest... [ORANGE]... when there is an action alert, we can take off, UP into the air... first [Green] forests and then higher into the Sun [Lime]... or... we can go deep under... first DeepSkyBlue, and then deeper [DodgerBlue]...

This is just a little story I made up to remember the color of your lights...

and... the Name... something with lights... NS LIGHTS [North/South Lights]... or better yet... cjaLIGHTS... ?

Wanted to ask you if you would consider adding one more row of lights...

I came across this trend-leading indicator OBV [On Balance Volume]... and when red the article on it, got quite impressed... for the UP trend it shows HigherHights and HigherLows [it could be a Lime color]... for flat, Orange... and for DOWN, LowerHighs and LowerLows [DodgerBlue]...

OBV is a wonderful indicator and would benefit us all by showing the Price/Volume trend on all time-frames...

The code and description is here at mq4.com site... at the bottom of this page there is a link to technical description... and from there, to... what is described as a more advanced/precise OBV, called "Price and Volume Trend" PVT...

Codes are given, but I do not know how to make them work...

CJA... please check the OBV and PVT indicators... and if PVT is indeed the "it"... it would be great to see it as the 4th row of your lights...

Please let us know your thoughts... -tks
PS: having your 4 cjaLIGHTS we could eliminate the bottom two windows as per my screen [OBV & TSR <- almost]
PSS: C.E.O. ... thank you for pointing us to cja page...
Attached Images
File Type: gif omega101.gif (35.5 KB, 1087 views)
__________________
"Nothing is obtained simply by wanting and nothing is achieved by relinquishing responsibility to higher authority. Belief is the act of be-living, for to be-live is to believe, and will - is the ultimate medium of the self" - Enki: 4500 BC

Last edited by EnkiJr; 04-22-2007 at 08:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #118 (permalink)  
Old 04-23-2007, 08:41 PM
EnkiJr's Avatar
Senior Member
 
Join Date: Dec 2006
Location: Toronto
Posts: 103
EnkiJr is on a distinguished road
Stoch Bar 5,3,3

Quote:
Originally Posted by prosper888
Hi CJA,

Thanks for your quick reply. Please see attachment. The top 4 Stoch are drawn using mt4 built-in Stoch indicator with different settings. The 5th one is the same as I used b4 in the post above, available from the forum. Could not get what you have.

Could you post the Stoch indicator that you used as above for me to try.

Many thanks and lots of pips to you,

Khai
Hi prosper888... I am searching the Forum for the Stoch 5,3,3 indicator you have on your chart and can not find it... could you please post it or give a link to... -tks

BTW: CJA, which Stochs should we use...? Low/High... or, Close/Close...? I do not have much insight to it... would you advise please... -tks
__________________
"Nothing is obtained simply by wanting and nothing is achieved by relinquishing responsibility to higher authority. Belief is the act of be-living, for to be-live is to believe, and will - is the ultimate medium of the self" - Enki: 4500 BC

Last edited by EnkiJr; 04-23-2007 at 08:51 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #119 (permalink)  
Old 04-23-2007, 08:57 PM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 219
Sadly is on a distinguished road
I just lurve the LED bar style readout shown with #signal bars and Stoch Bars. How is this achieved?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #120 (permalink)  
Old 04-24-2007, 01:50 AM
Junior Member
 
Join Date: Nov 2005
Posts: 19
prosper888 is on a distinguished road
Stoch 5,3,3

Quote:
Originally Posted by EnkiJr
Hi prosper888... I am searching the Forum for the Stoch 5,3,3 indicator you have on your chart and can not find it... could you please post it or give a link to... -tks

BTW: CJA, which Stochs should we use...? Low/High... or, Close/Close...? I do not have much insight to it... would you advise please... -tks

The STOCH indicator is attached.
Attached Files
File Type: mq4 Stochastic1.mq4 (3.8 KB, 177 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/6359-trend-reversal-continuation-helper.html
Posted By For Type Date
Scalping Strategien - Basics - Candletalk This thread Refback 08-12-2008 05:19 AM
Trend /Reversal /Continuation HELPER - Forum Forex - vamist.com This thread Refback 07-01-2008 12:01 PM
■テクニカルについて語ろう■part2 This thread Refback 06-27-2008 08:19 AM
Trend /Reversal /Continuation HELPER - Forum Forex - vamist.com This thread Refback 06-11-2008 09:16 PM
indicator colorat in colt - Forum Forex - vamist.com This thread Refback 06-09-2008 12:16 PM
Simple Method of Scalping any pair on 5 min chart , specially GBP/JPY - by Imran Sait - Page 367 This thread Refback 03-07-2008 05:38 PM
ヌ゚モネムハ フママ 趾ハヌニフ リネ DIN KUSKUS - ヌ瞰ンヘノ 7 - 聿ハマヌハ ヌ矼ハマヌ趁 ヌ瞽ムネ This thread Refback 02-11-2008 05:03 PM
Trend /Reversal /Continuation HELPER - vamist.com - Forex forums and blogs This thread Refback 02-02-2008 08:03 PM
。レForex。ロMetaTrader Partュケ。レCFD.&Futures。ロ - MetaTrader、゙、ネ、畍iki Post #23 Refback 01-18-2008 09:12 AM
。レForex。ロMetaTrader Partュケ。レCFD.&Futures。ロ - MetaTrader、゙、ネ、畍iki Post #23 Refback 01-18-2008 09:12 AM
Lowyat.NET -> Forex Trading Corner Post #1 Refback 01-14-2008 06:48 AM
NEW!! - Plot News indicator - Page 5 This thread Refback 01-12-2008 08:48 AM