log in     sign up for free
 
Taking advantage of potential major winning trades is not only important to the mental health of the trader but is also critical to winning. Letting winners ride is every bit as important as cutting losses short. If you don't stay with your winners, you are not going to be able to pay for the losers.
Michael Marcus
 
 
Home
systems (285)
 
 
Special offer: buy AmiBroker and EOD+Real-Time Data
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Super-Signals

Formula for: MetaTrader

mql4 indicator

 

 

Views:  5233

Added: February 04, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaTrader, mql4 indicator
 


I found this indicator. It gives decent signals. Sometimes the arrow signal is not visible becaue of the way the code causes the arrow to be placed a certain distance from price bar. I would like to move the arrow it creates closer to price so it is not off the chart. I do not know how to change this indicator to do that. Perhaps someone would be willing to modify it to be more useful this way.

I like to compare this indicator to ADXcross. It signals less often so not as choppy, and earlier than ADXcross. I must watch to see if it disappears and repositions its placement.

Thank you.


~Nebula.

 

 



Code:

//+------------------------------------------------------------------+
//| super-signals.mq4 |
//| Copyright © 2006, Nick Bilak, beluck[AT]gmail.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2006, Nick Bilak"
#property link "http://www.forex-tsd.com/"

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Aqua

int dist=24;
double b1[];
double b2[];

int init() {
SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,1);
SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,1);
SetIndexArrow(1,233);
SetIndexArrow(0,234);
SetIndexBuffer(0,b1);
SetIndexBuffer(1,b2);
return(0);
}
int start() {
int counted_bars=IndicatorCounted();
int k,i,j,limit,hhb,llb;

if (counted_bars<0) return(-1);
if (counted_bars>0) counted_bars--;
limit=Bars-1;
if(counted_bars>=1) limit=Bars-counted_bars-1;
if (limit<0) limit=0;

for (i=limit;i>=0;i--) {
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
llb = Lowest(NULL,0,MODE_LOW,dist,i-dist/2);

if (i==hhb)
b1[i]=High[hhb]+10*Point;
if (i==llb)
b2[i]=Low[llb]-10*Point;
}
return(0);
}


 





Code to difficult? Find somebody to help you with coding here.

 



Author: Nick Bilak, beluck[AT]gmail.com
Source: http://www.forex-tsd.com

 

View similar (mql4 indicator for MetaTrader):

DS_Stochastic
5_34_5
5dayBreakout
3D Oscilator
Avg Daily Range
3 Line Break
Chaikin's Volatility
Inside or Outside Bars
Inside Bar
ATR Levels
...
 
 
all formulas for MetaTrader
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009