| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
|||
|
Missing an indicator bar...
Hi guys...
Wondering if you would have any idea why when using an indicator that displays as an histogram bar...now and then it does not display a bar...even though there should be one there. It worked on previous bars as they occurred and following bars and when the indicator is put on a new chart the missing bar is shown on it...Also fixes itself if you re-compile the indicator... the indicator is very straight forward like a momentum style indicator just counting bars ...with a calculation at the end..using ...iclose ,iopen and such. just weird that it messes a bar... Last edited by Angler; 01-24-2008 at 01:52 PM. |
|
|||
|
You probably used '=' instead of '=='
|
|
|||
|
Changing values without chaging shape of an indicator
Hi,
I have the following programming problem: I have an indicator and I would like to change it so that it moves between -2 and 2. The current range is way smaller so simply putting a fixed minimum and fixed maximum in it does not work. I need to change the actual values of the indicator. Does anyone know how to do this? Help would be much appreciated.. cheers |
|
|||
|
pip-based timeframe
how would you code a chart that is based on pips and not on time, but on pips: a candle closes when you've had 10 pips up or 10 pips down. So candles(/bars) are based on price and not on time.
Doesn't seem like a simple coding thing so any help would be much appreciated |
|
|||
|
Quote:
|
|
|||
|
Quote:
new value: v1 in the range min1...max1 linear transformation: (v0-min0)/(max0-min0)=(v1-min1)/(max1-min1) => v1=min1+(max1-min1)*(v0-min0)/(max0-min0) ![]() |
|
|||
|
Multiple Orders
I never quite understood the concept behind multiple orders.
What I'm trying to code here is a system which open 5 separate lots, and then closes them individually as each lot reaches their respective TP. I know it's possible, how do I do it? |
![]() |
| Bookmarks |
| Tags |
| candle time, CHinGsMAroonCLK, coders guru, expert advisor, forex, how to code, I_XO_A_H, mechanical trading, trading |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/554-how-code.html
|
||||
| Posted By | For | Type | Date | |
| Need an experienced programmer? - Page 2 | Post #0 | Refback | 09-24-2008 07:24 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code this? | iscuba11 | Metatrader 4 mql 4 - Development course | 1 | 08-03-2007 05:22 PM |