Heikin Ashi Candles Colour Change

Rkji

Well-Known Member
#82
Working for a Bank as a forex trader

hi guys

recently i have come across many articles where in people from completly non trading background traded under some institution like banks etc & made huge money for them & later personally as well.

i was wondering how one can go about joining an instituion as a forex trader who can be groomed into a professional trader & work for a salary. this ofcourse might help you majorly in your personal trading as well !!


regards
rishi
 

desifxtrader

Well-Known Member
#83
Re: Working for a Bank as a forex trader

hi guys

recently i have come across many articles where in people from completly non trading background traded under some institution like banks etc & made huge money for them & later personally as well.

i was wondering how one can go about joining an instituion as a forex trader who can be groomed into a professional trader & work for a salary. this ofcourse might help you majorly in your personal trading as well !!

regards
rishi
What's 'trading' & 'non-trading' background? When you work as a professional, you become of that background. Moreover, in trading (retail), there's no need for any special background.

Anyways, yes, your question is correct and I was wondering about the same:


wondering how one can go about joining an instituion as a forex trader who can be groomed into a professional trader & work for a salary. this ofcourse might help you majorly in your personal trading as well !!
But I have a slight doubt here. Even if somebody has been trading for any institution for any duration of time, later in his personal life, chances are very thin that he would be able to make some money with his personal account.
 

Rkji

Well-Known Member
#84
Re: What Timeframes do you use

i follow following money management...

i start with $ 500

open 0.1 lot where in every pip movement is for $ 1

i set up stoploss for 15 pips with 25 pips as profit

if i have a drawdown...i loose $ 15 from $ 500...


how much % of my original capital have i lost..3 % ?
i would keep it between 2-3 % of losses to max.


i am aware of traders only putting in some percentage of their total capital on a single trade but i wish to use leverage to my advantage..and i realise it could be deadly as it works both ways !!


desifxtrader sir...you can go on laughing till you go burst. maybe you have made it big already. my concepts might not be clear & i admit that.

according to my understanding, bigger the time frame bigger is the stoplosses & smaller the timeframe you use, the more tight SL's you can keep. so timeframes does matter !!!

brokers never like winners & would do anything or everthing possible to create spikes that will take you down abruptly & yes there is a stoploss hunting almost everywhere. forex is a zero sum game !!!

i doubled my money on demo frequently ...always exiting trades manually instead of keeping SL's but 'take profit' was always set.....live trading is totally a different ball game.

nowadays, instead of posting at TJ, i prefer to read FOREX books instead of reading " experts " speak.

feedback is critical to trading improvement BUT it is equally important to know HOW to give it. read "Savant garde " posts, all of them. maybe you"ll understand what i am talking about.

No more posts from me on this thread.


regards
rishi
 

desifxtrader

Well-Known Member
#85
Re: What Timeframes do you use

i follow following money management...

i start with $ 500

open 0.1 lot where in every pip movement is for $ 1

i set up stoploss for 15 pips with 25 pips as profit

if i have a drawdown...i loose $ 15 from $ 500...


how much % of my original capital have i lost..3 % ?
i would keep it between 2-3 % of losses to max.


i am aware of traders only putting in some percentage of their total capital on a single trade but i wish to use leverage to my advantage..and i realise it could be deadly as it works both ways !!


desifxtrader sir...you can go on laughing till you go burst. maybe you have made it big already. my concepts might not be clear & i admit that.

according to my understanding, bigger the time frame bigger is the stoplosses & smaller the timeframe you use, the more tight SL's you can keep. so timeframes does matter !!!

brokers never like winners & would do anything or everthing possible to create spikes that will take you down abruptly & yes there is a stoploss hunting almost everywhere. forex is a zero sum game !!!

i doubled my money on demo frequently ...always exiting trades manually instead of keeping SL's but 'take profit' was always set.....live trading is totally a different ball game.

nowadays, instead of posting at TJ, i prefer to read FOREX books instead of reading " experts " speak.

feedback is critical to trading improvement BUT it is equally important to know HOW to give it. read "Savant garde " posts, all of them. maybe you"ll understand what i am talking about.

No more posts from me on this thread.


regards
rishi


No, you got me wrong dear friend Rishi,

I was laughing because of the Stop Loss hunting proposals. Yes, there are and always would be Stop Loss hunting by the brokers.

But, take some time and think about this - Why would your broker hate that you're a consistent winner?

The moment you open a position, your broker has already made money and your trade has been charged in form of 'spreads'.

Please do refer:

One more thing to think about:

Your broker can and will always, hunt for stops if they are in the range of volatility. 5 - 20 pips range is simply NOTHING in Forex.

Just take a look at the daily range of the pairs. If a pair has a Daily range of 100 pips, the probability is less that it would make a range of 200 pips.

I'm NOT saying it's impossible but the probability is less.

Why not increase you Stop Loss?

Suppose you're trading GBPUSD (1H) and you find the range is 60 pips. Why not use a Stop Loss of 150 pips and decrease your lot size subsequently so that 150 pips loss = US$ 15 only??

Give it a try.

take care
 

Rkji

Well-Known Member
#86
hi all

does anyone know how to change the default settings of colour of candles in heikin ashi.mq4 in meta editor ? below is the code & i have already tried changing just the names of the colour but it didn' t work.




//+------------------------------------------------------------------+
//| Heiken Ashi.mq4 |
//| Copyright 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
//| For Heiken Ashi we recommend next chart settings ( press F8 or |
//| select on menu 'Charts'->'Properties...'): |
//| - On 'Color' Tab select 'Black' for 'Line Graph' |
//| - On 'Common' Tab disable 'Chart on Foreground' checkbox and |
//| select 'Line Chart' radiobutton |
//+------------------------------------------------------------------+
#property copyright "Copyright 2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 White
#property indicator_color3 Red
#property indicator_color4 White
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//|------------------------------------------------------------------|
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, Red);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, White);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, Red);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, White);
SetIndexBuffer(3, ExtMapBuffer4);
//----
SetIndexDrawBegin(0,10);
SetIndexDrawBegin(1,10);
SetIndexDrawBegin(2,10);
SetIndexDrawBegin(3,10);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexBuffer(3,ExtMapBuffer4);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
double haOpen, haHigh, haLow, haClose;
if(Bars<=10) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
int pos=Bars-ExtCountedBars-1;
while(pos>=0)
{
haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;
haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;
haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
pos--;
}
//----
return(0);
}
//+------------------------------------------------------------------+
 

Edward

Well-Known Member
#87
hi all

does anyone know how to change the default settings of colour of candles in heikin ashi.mq4 in meta editor ? below is the code & i have already tried changing just the names of the colour but it didn' t work.




//+------------------------------------------------------------------+
//| Heiken Ashi.mq4 |
//| Copyright 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
//| For Heiken Ashi we recommend next chart settings ( press F8 or |
//| select on menu 'Charts'->'Properties...'): |
//| - On 'Color' Tab select 'Black' for 'Line Graph' |
//| - On 'Common' Tab disable 'Chart on Foreground' checkbox and |
//| select 'Line Chart' radiobutton |
//+------------------------------------------------------------------+
#property copyright "Copyright 2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 White
#property indicator_color3 Red
#property indicator_color4 White

//----Rishi this is the code that I have inserted, this will enable you to change the colors

extern color color1 = Red;
extern color color2 = White;
extern color color3 = Red;
extern color color4 = White;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//|------------------------------------------------------------------|
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, Red);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, White);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, Red);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, White);
SetIndexBuffer(3, ExtMapBuffer4);
//----
SetIndexDrawBegin(0,10);
SetIndexDrawBegin(1,10);
SetIndexDrawBegin(2,10);
SetIndexDrawBegin(3,10);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexBuffer(3,ExtMapBuffer4);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
double haOpen, haHigh, haLow, haClose;
if(Bars<=10) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
int pos=Bars-ExtCountedBars-1;
while(pos>=0)
{
haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;
haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;
haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
pos--;
}
//----
return(0);
}
//+------------------------------------------------------------------+
I have inserted 4 lines of code that will give you the option to change the color when you insert the indicator....
You can change the color of red or white to whatever you want, it will be seen in the same window where normally we change the parameters etc...
 

Edward

Well-Known Member
#88
Forgot to add one thing...

In the heiken Ashi properties, there will be two tabs. 1. input 2. color,
you will have to input your choice of color in both the tabs, otherwise it will not work.

Happy trading
 

Similar threads