Page 1 of 1

Camarilla key levels? coding

PostPosted: Wed Aug 12, 2009 3:07 am
by vaibhavjain
Hi,
I want to insert key camrilla levels, R3,R4 and S3,S4 and mark those points on my chart.
I have found its coding on the page
http://xeatrade.com/trading/11/C/342.html

but I don't down how to create a MQ4 file using that coding, and download it in MT4.
Can you please do it and post here?

Thank You
Vaibhav

Re: Camarilla key levels? coding

PostPosted: Wed Aug 12, 2009 9:21 am
by Edward Revy
Attached is a ready mq4 file.

Here are the steps I used:

- copy the code and paste it into camarilla.txt file
- save .txt file and close it
- rename camarilla.txt to camarilla.mq4
- copy .mq4 file to /experts/indicators folder of your MT4 platform
- restart the platform :)

Re: Camarilla key levels? coding

PostPosted: Wed Aug 12, 2009 6:24 pm
by vaibhavjain
Thanks a lot Edwards for your help.
I tried to follow your procedure to code another formula for my custom indicator, but failed to change to .txt file to .mq4 file.
I have written the formula at end of my post, I request you to kindly convert this to .mq4 format like you did, and post.

I need one more favor from you.
I spent the whole day searching for the right forex broker to open the account with.
I want to start off with something close to $20,000. So, I want a broker with tight spreads, good reputation, and where I can be assured that my money will be safe. Some first deposit bonus will be great.
Can you please post some of your favourite brokers (i filtered out oanda.com bcos of low maximum leverage offered)? Or with which one you have an account with?
I would be obliged for your info.

Rgds
Vaibhav

//FORUMULA//


-=Rahul Mohindar Osc (RMO)=-
Mov(Fml("Swingtrd 1"),81,E)

-=SwingTrd 1=-
100 *
(CLOSE - ((Mov(C,2,S) +
Mov(Mov(C,2,S),2,S) +
Mov(Mov(Mov(C,2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S) +
Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(Mov(C,2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S),2,S)) / 10)) /
(HHV(C,10) - LLV(C,10))

-=SwingTrd 2=-
Mov(Fml("SwingTrd 1"),30,E)

-=SwingTrd 3=-
Mov(Fml("SwingTrd 2"),30,E)

Expert:

-=RMO + SwingTrd + Market Trend=-
Bullish Trend:
Mov(Fml("SwingTrd 1"),81,E)>0

BearishTrend:
Mov(Fml("SwingTrd 1"),81,E)<0

Highlights Sell:
Mov(Fml("SwingTrd 1"),81,E)<0

Highlights Buy:
(Mov(Fml("SwingTrd 1"),30,E)) > 0

Buy Arrow:
Cross( Fml( "swingTrd 2"),Fml( "swingTrd 3") )

Sell Arrow:
Cross( Fml( "swingTrd 3") , Fml( "swingTrd 2"))

Re: Camarilla key levels? coding

PostPosted: Thu Aug 13, 2009 9:22 pm
by Edward Revy
Hi Vaibhav,

This is just a formula, not a ready indicator code. I won't be able to write an indicator based on it, since I haven't learnt MQL4 language yet.

I still trade with Oanda. It's been long time since I did a search on Forex brokers, so I'm afraid I'm not the expert in this field.
However, I can recommend a sound website where you'll be able to get the answers: http://www.100forexbrokers.com/

Best regards,
Edward