Forum

Read var from another EA.. ?!

Read var from another EA.. ?! Sometimes, I use short scrips to activate special operations while trading. To do that I need to get some values of the variables (some are 'extern vars ') that are used in my main expert. What is the recommended way to do that? Thank you, James

Is there a way to alter 'extern vars'.. ?!

Is there a way to alter 'extern vars' in such way that calling F7 window, will show the altered values ? (I mean, without saving and calling the file) James

When needed, the sound don't play (why?)

Greetings, I wrote an EA that supposed to help 'dismember' losing trades that got 'too fat' ,bearing heavy loss. I do that by comparing to another 'profitable' trade, and when I gain enough with the 'profitable' trade, I releases 1 part of the losing trade against the money in the 'profitable'

Sound 'full play'.. ?!

Greetings, I built a part in my sound() routine that will force 'full play' of the file it plays (some of them are more the 5 sec). It does it by extracting the length part that I added to the filename as [6] meaning - 6 sec full play (example: 'time to TP.wav' -> time to TP[6].wav ) Well, in most

formula result doesn't match the graphical plot view..

Greetings, Something doesn't match between the formula result to the graphical plot view. I run an EA routine that notes me when there is a cross event at each of my indicators. The problem is that sometimes (not always), I get the crossing signal from the EA's formula but looking at the graph

'zero devide' error, what's wrong with my routine?

Greeting, Sometimes, I get a 'zero devide' error while running my EA. I've narrowed the possibility and found out that when I disable a routine called trend_watch( ), the 'zero devide' doesn't happen anymore. I looked into that routine thoroughly but couldn't see anything that might cause deviation

is there a function to unify text?

Greetings, I would like to know if there is a function to convert text from Uppercase to Lowercase and vise verse. something like this: Let's say string variable 'a' might contain some version of the word 'buy'; instead: if (a=="buy" or a=="Buy" or a=="BUY").. etc. I'd like to use: if

Can 'ExoPC slate' run MT4 scripts?

Greetings, I would like to buy a tablet computer that can run the MT4 scripts. (I read that the Android types, can run the MT4 application, but can't run the script) Is there anyone that already using such a tablet computer and can verify that it works fine just like on the desktop computer

What is the correct formula for CCi ?!

Greetings, I use three CCi's - Pink(9), Yellow(19), Green(50) I use the known formula - iCCI(Symbol(), PERIOD_M5 ,9,PRICE_CLOSE,0); (sorry, in this example it is M5 not M15 - but the difference shows in all periods) Oddly, when I calculate the relative condition between the three CCi(s), I get a

Is there a way to speed up the script process?

Greetings, Sometimes, when the price reaches to buy a limit order and the trend is pointing to the opposite direction, I 'push' the trade's price further. This method works fine except when the price moves fast. In such cases, the script is too slow and the trade is acquired. Is there a way to speed