Camarilla key levels? coding

Everything related to MT4

Camarilla key levels? coding

Postby vaibhavjain » Wed Aug 12, 2009 3:07 am

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
vaibhavjain
 
Posts: 4
Joined: Sun Aug 02, 2009 5:03 pm

Re: Camarilla key levels? coding

Postby Edward Revy » Wed Aug 12, 2009 9:21 am

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 :)
Attachments
camarilla.mq4
(2.63 KiB) Downloaded 581 times
User avatar
Edward Revy
Site Admin
 
Posts: 209
Joined: Wed Jul 01, 2009 6:20 pm

Re: Camarilla key levels? coding

Postby vaibhavjain » Wed Aug 12, 2009 6:24 pm

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"))
vaibhavjain
 
Posts: 4
Joined: Sun Aug 02, 2009 5:03 pm

Re: Camarilla key levels? coding

Postby Edward Revy » Thu Aug 13, 2009 9:22 pm

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
User avatar
Edward Revy
Site Admin
 
Posts: 209
Joined: Wed Jul 01, 2009 6:20 pm


Return to MetaTrader 4



cron