Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005, 11:07 AM
peregrinus peregrinus is offline
Junior Member
 
Join Date: Oct 2005
Posts: 6
peregrinus is on a distinguished road
Is it possible? (MTS based on indicators)

I' ve just started with MT4 and I'm still not sure how to do dome thingd and if they are possible.
For instance, I want to make an Expert advisor based on 2 indicators. I should go like this:
if (conditions_met_by_indicator 1 && cond_met_by_ind2) go short/long

Is there any way to do it?
TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-27-2005, 08:00 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Smile That's what the Expert Advisors are for.

Quote:
Originally Posted by peregrinus
I' ve just started with MT4 and I'm still not sure how to do dome thingd and if they are possible.
For instance, I want to make an Expert advisor based on 2 indicators. I should go like this:
if (conditions_met_by_indicator 1 && cond_met_by_ind2) go short/long

Is there any way to do it?
TIA
Hi peregrinus!

That's exactly what the Expert Advisors are for.
You build an Expert Advisor based on indictors & conditions to automate you TS.

You can download the previous lessons you find in this section, and it left three lessons in this series.
After that we will create our own Custom Indicators & Expert Advisors.

Please send me your indicators & conditions and maybe it will be our practical example of our first EA next week.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-28-2005, 07:46 AM
peregrinus peregrinus is offline
Junior Member
 
Join Date: Oct 2005
Posts: 6
peregrinus is on a distinguished road
Cool

Hi, thx for reply.
Find two indicators enclosed. One of them is TRSI, which counts third and fourth grade MA of RSI, the second one is LaGuerre RSI.
The exact conditions of Expert Advisor should be like this:

if (MA3[i]>MA3[i+1] && RSI[i]>MA4[i] && LRSI[i]>25 && LRSI[i+1]<25) LongPosition
if (MA3[i]<MA3[i+1] && RSI[i]<MA4[i] && LRSI[i]<75 && LRSI[i+1]>75) ShortPosition

where MA3,MA4 are moving averages of TRSI and LRSI is LaGuerre RSI.
TIA
Attached Files
File Type: rar indicators.rar (1.7 KB, 152 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
sinewave and phase indicators based on John Ehlers's theory stlabc Indicators - Metatrader 4 2 08-15-2006 01:39 PM
EA based on rules of STI Nicholishen Post and compare Trades 9 02-28-2006 07:21 AM
EA based on 5.4.5 indicator BrunoFX Expert Advisors - Metatrader 4 1 01-26-2006 10:15 PM
EA based on STEP indicators (thanks Igorad!) alp Suggestions for Trading Systems 9 12-03-2005 01:59 PM


All times are GMT. The time now is 01:15 PM.