Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
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
  #11 (permalink)  
Old 01-14-2009, 12:17 AM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 486
cockeyedcowboy is on a distinguished road
cja

Give me a day or two to dig up the code blocks. There was one other thing, at the time that of writing the code I remember that MT had a bug with the array copy funtion when you used it to copy series arrays it would not copy the last bar of data (the current zero bar). To get arround that I created a loop function to copy the data, dont know if they corrected that bug or not. Give me a day or two to get at it.


fxbs

That may of been some of my code too as I created a means to display data on the chart one screen at a time again with a timer and rotating them. I originally did that with the hans123 system on stratagybuilder forum back in 2005. The indicator memtioned above used the same code to rotate the indicators as did the data screens.

Keit



Quote:
Originally Posted by cja View Post
Hi
Sure post them if you like it sounds interesting

cja
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
  #12 (permalink)  
Old 01-14-2009, 12:50 AM
Member
 
Join Date: Sep 2008
Posts: 65
codobro is on a distinguished road
Thank you cja, very interesting.

I'd like to see what you've done like this also, cockeyedcowboy.
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
  #13 (permalink)  
Old 01-26-2009, 03:38 AM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 486
cockeyedcowboy is on a distinguished road
cja

sorry for the delay, had time this weekend to get things together. Instead of posting the function I talked about, I rewrote your code into what I call an iPack file. (a file packed with multi indicators). I have not completly checked for bugs so let me know if you find any. The code function I mentioned in my frist post are located to the end of the script.

The default timing is set for 1 second intervals but it depends largely on the amount of incoming ticks as to its rotation time. However you will note the similaities to your rotating screen shot in your first post.

Check out the code I have writen in other options into the code. An EA can access any data element or any indicator contained in this iPack file.


I created the first such file 2 years ago and sence then I have created others like tPack, cPack, mPack, aPack and sPack files off on the same idea. As fxbs has mentioned about screen displays I can show how thats done if there is any interest in that. All by the way use the same alternation engine to rotate desplays.

Enjoy

CockeyeCowboy



edit[ when viewing the code it is best to set the color for comments lines to a dim gray or other dim color so the actual code sticks out for the rest.]
Attached Files
File Type: mq4 The Multi-Oscllator iPack.mq4 (60.6 KB, 161 views)

Last edited by cockeyedcowboy; 01-26-2009 at 03:49 AM.
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
  #14 (permalink)  
Old 01-26-2009, 04:30 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
demm...that's impressive, Keit
more like software - than indicator

Last edited by fxbs; 01-26-2009 at 04:59 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
  #15 (permalink)  
Old 01-26-2009, 04:41 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
scary to think where we can go from there...
(+obj. contols on the chart - not gonna need any office, windws or other software anymore...
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
  #16 (permalink)  
Old 01-26-2009, 05:06 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
anticipating questions 'what this control does' and 'how to use it' - slight mod - just labels & info set bit closer 4 user friendliness
2.to truck changes:The Multi-Oscllator iPack__.mq4 (61.2 KB, 0 views) : endsandons -shortnames, lables, etc
3.The Multi-Oscllator iPack_m.mq4 (61.2 KB)
extern int Indicator_Quary brought to first place of inputs (var. applications requirement)
(Multi_Oscillator post 20)
Attached Files
File Type: mq4 The Multi-Oscllator iPack_m.mq4 (61.2 KB, 78 views)

Last edited by fxbs; 01-27-2009 at 04:57 AM.
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
  #17 (permalink)  
Old 01-26-2009, 08:07 PM
darkkiller's Avatar
Senior Member
 
Join Date: Jul 2007
Location: Malaysia
Posts: 258
darkkiller is on a distinguished road
Quote:
Originally Posted by cockeyedcowboy View Post
cja

sorry for the delay, had time this weekend to get things together. Instead of posting the function I talked about, I rewrote your code into what I call an iPack file. (a file packed with multi indicators). I have not completly checked for bugs so let me know if you find any. The code function I mentioned in my frist post are located to the end of the script.

The default timing is set for 1 second intervals but it depends largely on the amount of incoming ticks as to its rotation time. However you will note the similaities to your rotating screen shot in your first post.

Check out the code I have writen in other options into the code. An EA can access any data element or any indicator contained in this iPack file.


I created the first such file 2 years ago and sence then I have created others like tPack, cPack, mPack, aPack and sPack files off on the same idea. As fxbs has mentioned about screen displays I can show how thats done if there is any interest in that. All by the way use the same alternation engine to rotate desplays.

Enjoy

CockeyeCowboy



edit[ when viewing the code it is best to set the color for comments lines to a dim gray or other dim color so the actual code sticks out for the rest.]
Great creation
I just thinking,if this indicator can apply to separate window..so, it's possible to apply it on chart?Example combination envelope,alligator,bollingerband,aligator and other indicator on chart

I think,it also can apply to pivot,fibopivot,camarilla

Last edited by darkkiller; 01-26-2009 at 08:10 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
  #18 (permalink)  
Old 01-26-2009, 09:05 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,276
mladen is on a distinguished road
...

to cockeyedcowboy
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
  #19 (permalink)  
Old 01-26-2009, 09:07 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
Thumbs up

see
and what happends if we put it 24 framaes per sec... !
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
  #20 (permalink)  
Old 01-26-2009, 10:21 PM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 486
cockeyedcowboy is on a distinguished road
fxbs

Quote:
Originally Posted by fxbs View Post
anticipating questions 'what this control does' and 'how to use it' - slight mod - just labels & info set bit closer 4 user friendliness
2.to truck changes:The Multi-Oscllator iPack__.mq4 (61.2 KB, 0 views) : endsandons -shortnames, lables, etc

I'm not understanding your question here, can you restate it?

as for the rearanging the legends I don't usally put many external inputs into my code I prefer to make them as system defaults, I arranged the externals meny different ways and didnot like any of it theres way too much. The only think that you have to keep as the first input is the 'Indicator_Quary' input even thought its not a user friendly input that is if one changes it, it will trigger an error it must stay as zero any thing else will stop the indicator. Why is it needed? and why must it be the first extern parameter is due to the way iCustom() function works. If you want to call any of the indicators you must supply which one in the icustom function. if that input is at the end of the list you would have to give all imputs upto the Indicator_Quary input. even the legend would need to be stated in the iCustom function. anything after the Indicator_Quary input doesnot have to be stated if all have default values the iCustom will use the default values. but all inputs before the Indicator_Quary input has to be stated even though they have default values. To give an example lets say we want the value of the RSI for the current bar the icustom would like this.

iCustom( Null, 0, "The Multi-Oscllator iPack", 1, 0, 0 );


The above line will use: ( current symbol, current time period, calling the iPack file, indicator 1(this is the quary input), the buffer 0 which is the quary buffer, and data from the current bar. changing the red number for which ever indicator you want to retreive. and the blue to the data bar you want.

First you must turn on EA access in the system default section or the indicator will not give out any information. Hope all of this makes sence

CockeyedCowboy
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


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 05:28 PM.



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