Forum

stochastic & parabolic & moving avarage Indicator

Ergent !!! S.O.S Hi, I need to write an Indicator that display 3 elemnts in it, its should show stochastic & parabolic & moving avarage only the moving avarage and the parabolic should have as a datasource based on the stocastic, the stochastic have 2 returnd parameters fast and slow. the qustion is

wonderment before start execution - working against a broker

Do anyone know what data the metatrader server [my broker] gets when my expert start working ? on my client I can see all the extern variables name with them values, but it is very interesting to know what my broker see. Another thing, lets say I have champion E.A what are the possibilities my

How Can we create one order per sum candles?

Hi, I need to create an order every X candles whan X can be any number of candles, may anyone know to write something like this ? Tank you

price lines

Hi, I was thinking about price lines, in standard chart we can draw line by hand to see visually the price lines the market have draw, but in an automatic system we can use this lines in a concern of opening or closing orders. this is what I came with, I'm happy to share it and hope it will help

Time dimentions

Hi Everyone, I need to check an indicator on the next 3 time frame according to the time frame my curt is, lets say I'm on 5 minutes time frame curt so I need to check let say " parabolic sar " on 15 / 30 / 1H time frames, to get "this" curt time frame I will use Period() but how can I get the next

OrderClose do not close orders

Hi there, I need to write a script that will close all the open orders when drop on a churt, I try to use the buildin script that comes with the metatrader but it is not closing the orders, so I wrote this code : int x= 1 ; int i; int start() { if ( OrdersTotal ()!= 0 ) { for (i=