Heikin Ashi Candles Colour Change

Rkji

Well-Known Member
#92
hi edward

i haven' t got a chance to access MT4 but will surely hit my pc as soon as i reach home.

@ saivenkat - i don' t use heikin ashi as an indicator & edward hasn' t suggested it either. i just use it for quick understanding of general trend.


regards
rishi
 

Rkji

Well-Known Member
#93
hi edward

unfortunately, it did not work. the input colours remained same once i relaunched mt4 but colour tab colours (red & white) changed back to original & heikin ashi candles were red & white instead of mine chosen colours :(

anyways, thanks for trying !



regards
rishi
 

Edward

Well-Known Member
#94
here is the link www.forexkhan.com/Free_Forex_Tools/Heiken Ashi.rar

unrar it and install it in the experts>indicators folder... follow what I had mentioned it in the earlier post...
Sai, I did not recommend it to rishi, I was just giving something that he wanted to have so much that he has started a thread on it.. :)

In forex trading that too with TA, I have seen one thing very common and amusing... what works for one, does not for the other....

Some people are so fond of few indicators, that they almost become intuitive to it and others can't even see what they mean and how they interpret...

It's a learning curve for for everybody.... so the next time if you need an indicator and if i can help, i will do it ... it doesn't matter how dumb the indicator is in my personal view ;)


hi edward

unfortunately, it did not work. the input colours remained same once i relaunched mt4 but colour tab colours (red & white) changed back to original & heikin ashi candles were red & white instead of mine chosen colours :(

anyways, thanks for trying !



regards
rishi
 
Last edited:

Rkji

Well-Known Member
#96
Help Needed With Expert Advisor for TP & SL

hi guys, i request if you could look into this EA that i use which automatically puts in SL, TP. i have attached the file along with the post.

ok, it does the first point below but not the remaining which i would prefer :-

1) automatically puts in a stoploss on new or existing trades

2) keeps a trailing stoploss so that stoploss is trailed above from ninitial SL & not from ntrailing stoploss ( ** example gieven below )

3) automatically puts a TP at opening or during of a position along with SL or puts a TP once trade is in x amount of pips in profit

3) push the price automatically to breakeven once the trade is in x amount of profits BUT does not trail stoplosses or keeps any SL after breakeven. (this never happens & something i want as an extra feature)

example of what i want from this EA :-

i enter EURUSD at 1.2222, n initial SL is set to 35 pips so it places an initial stoploss of 35 pips from 1.2222 & not from 1.2229 which might be current price & it should automatically set TP of 40 pips or i am able to set an option that once my trade is in 15 pips plus, "n trailing stoploss" is applied which is set to 5 pips...so once price hits 1.2237 it trails SL & SL becomes 1.2232 & keeps on trailing. " nProp Threshold is given in EA properties also but not able to figure it out

Sorry, if that seems juggled. pls create an EA like that for me or make me understand how this one actually works as the poster of this EA was confusing in his explaination. but i am providing his expltn below as well. he has probably made this EA for long trades but i want to use it for scalping on 15 - 30 min charts.

*** Example His default setting is ninitial stoploss of 15 & ntrailing stoploss of 30 pips which never happens in scalping. i tried ninitial SL of 30 & trailing stoploss of 5 pips...but it trails from current price and once price drops 5 pips trade is taken whereas n initial stoploss was set at 30 pips.

_____________his expltn of EA below _____________________


- changed algorithm: if there is no SL, EA sets nInitialSL (pips) from the current price, then nTrailingStop is used as normal trailing stop until nPropSLThreshold profit (in pips) is reached. From that point proportional SL is used: (Buy/Sell)


SL = OrderOpenPrice() +/- dPropSLRatio(Bid/Ask - OrderOpenPrice()) -/+ spread

- 3 logging level are now meaningful: 0 - no logging, 1 - (default) only events (change SL) are logged, 2 - additional log file for diagnostic

The settable parameters are:
extern int logging=1;
//logging=0,1,2 - logging level
extern int nInitialSL=15;
// inital SL
extern int nTrailingStop=35;
//nTrailingStop [pips] - initial trailing stop. It will be used until your trade will reach profit = nPropSLThreshold. If you don't want trailing stop, set to a big value (bigger then nInitialSL + nPropSLThreshold)
extern int nPropSLThreshold=12;
//nPropSLThreshold [pips] - after reaching this profit proportional trailing stop will be used
extern double dPropSLRatio=0.35;
//dPropSLRatio [decimal] - multiplying factor ( PropSL = Profit * dPropSLRatio - Spred )
extern int nUseEscape=0;
//nUseEscape [ 1 or 0 ] - escape misplaced trades as soon as they reach some minimal profit
extern int nEscapeLevel=0;
//nEscapeLevel [pips] - lose size after which we want our trade to terminate
//as soon as it will reach next high
extern int nEscapeTP=35;
//nEscapeTP [pips] - take profit level in pips (you can set to negative value
//- then it will be a lose that you would be happy to get,
//in the case your trade reached some impressive negative pips value)
extern int nSleep=0;
//delay after new bar
extern int nSlip = 2;
//maximum price slip allowed


This EA is only checking if the order is on the same currency pair (as the chart EA is attached to). I personally even use it from different location. I keep one running at home, with somehow relaxed settings. So if I would open a position at the office and lost patience and leave, the one at home would take care to move my stop. So if you trade 6 pairs, EA has to be attached to each pair's chart.
Regarding time frame - it really is up to you. If moving SL every hour is enough for you - why not to keep this EA on hourly chart?
Just have this in mind if you open a position, the initial SL will not be applied until bar on the EA's chart will arrive.


For the manually setting SL: this EA lets you keep your SL as tight as you like, but it will not let you loosen it, beyond EA's parameters.

The algorithm is to move SL only one way, so EA will apply new SL ONLY if it will be in the trade direction.

The initial SL will only be applied if there is no SL set yet.
Afther that - if you tighten SL - it will be respected, if you make bigger gap then it would be calculated by EA, than "TradeProtector" will apply it's SL.

As for TP my EA is ignoring them.


Maybe this will explain it the best (example for the BUY operation):

Start
Is order of the same currency pair?
no: break
yes: continue
Is any SL set yet
yes: calculate initial SL
no: continue
Is nPropSLThreshold exceeded?
no:
Is nTrailingStop <>0 ?
Calculate traling stop
yes:
Calculate proportional stop
calculate maximum of (current SL, initial SL, trailing stop, proportional stop) = SLmax
if SLmax > current SL
apply SL max as a new SL ;

_______________________________________explantn ended__________________________




thanks a ton guys !!!


regards
rishi
 
Last edited:
#97
I didn't want to help you but....

You back stabbed me Rishi, :) so i was not going to help you out in this thing... but for the benefit of so many good members of traderji, I am not talking about the Lazy members and lousy members... I am going to post something which will do more than what you have asked in your "EPIC" post.

First of all, I would have charged you even to read such a lengthy post.... kaha se time milta hai itna.... Shadi shuda to nahin ho .. for sure...
If you need more than that is available in the EA that I am posting you will sure need to pay to the programmer... I am sure you can hire good ones here on traderji.

Before I post, some ground rules for people who would be using it:
1. READ the Manual first....
2. If you have any doubts, 'GOOGLE' it and then read the answers
3. If any of you have further doubts, buy a dictionary and improve English
4. Still doubts, then only God can help

But no questions to me.... and particularly no private messages asking for explanation.... I usually don't get time..... I have started posting after 2 long years... enough of spoon feeding i have done, and trust me it's a thankless job.

This system is not mine..... it's Steve's.

here it goes.... the manual first View attachment 14706
 
#98
Re: Help Needed With Expert Advisor for TP & SL

I am unable to attach the EA.... it says invalid file and also seems like I have exhausted the kilobytes limit.... so don't know what to do...

Anyways I suggest you first read it.... and if you feel that you have everything that you want and it will be useful only then you ask me to post... or best if someone can help me to ftp it on your servers, that would be great...

I am in no mood to create a new file sharing website account... may be i can send it in private messages to you guys....
I don know.... will keep trying it.... though .... maaf kijiyega .... EA post karne se pehle hi kuch jyaada dialoguebaaji ho gayi .... sab chalta hai take it easy :cool:
 
#99
If you know coding, I have good projects for you... it's about a simple and successful EA, already 90 percent is over, some bugs make it behave randomly sometimes... Anyone other than Edward, with coding knowledge can also apply....

here is the link www.forexkhan.com/Free_Forex_Tools/Heiken Ashi.rar

unrar it and install it in the experts>indicators folder... follow what I had mentioned it in the earlier post...
Sai, I did not recommend it to rishi, I was just giving something that he wanted to have so much that he has started a thread on it.. :)

In forex trading that too with TA, I have seen one thing very common and amusing... what works for one, does not for the other....

Some people are so fond of few indicators, that they almost become intuitive to it and others can't even see what they mean and how they interpret...

It's a learning curve for for everybody.... so the next time if you need an indicator and if i can help, i will do it ... it doesn't matter how dumb the indicator is in my personal view ;)
 

Similar threads