Here is the code fuction which will return the total number of lots which are currently running in open trades :
Parameters: key is magic number, and type is the type of trades .
double...
Type: Posts; User: peteonthenet Total posts found:
* Only the account owner can search for likes
Here is the code fuction which will return the total number of lots which are currently running in open trades :
Parameters: key is magic number, and type is the type of trades .
double...
Here is code function which can be used say when ea needs to trade only during certain hours of the day and skip of certain day of the week :
bool ValidTime()
{
if (DayOfWeek()==1...
Here is a code which can be saved as a script file in the Scripts Folder.
To execute the script, drage and drop the script on the current chart, this will close all open trades and also pending...
Here is the Code that you can put in any EA to take a screenshot of the Chart and save it to disk, you can call this on any event like if there is any new trade taken, you can save the screenshot.
...
Here is the code function that will return the chart period in the nicely formation text line.
Example: (if EA is running on 1hour chart)
chartperiod = periodToString(Period()) // will...
If you have request for any specific code function, please feel free to post your request here and will that code posted to you here in this thread.
Of if you have own own custom codes and you...
This function will close All open trades for a particual MagicNumber of EA.
void CloseAll()
{
int total = OrdersTotal();
for(int i=total-1;i>=0;i--)
{
OrderSelect(i,...
Following is a custom function which when called will return total of active trades for a particular magic number:
int CountAllTrades(int magic) {
int c=0;
for (int...
Here is a code which you can use in an Expert Advisors to automatically adjust variables depending on if the Broker is 4 digits or 5 digits pricing.
following code should be inside the int Init()...
In this thread, we will collect and discuss useful code snippets/functions that we can incorporate in Expert Advisors to make coding process faster and easier:good:
Hello,
Whats the point of having this facily as any person using ea can have email alerts with just simply with one line of code to generate the alert.
Why do they need seperate ea to generate...
Good to know that the system has been working out good for you, keep practicing it on demo account till you get comfortable, and if need be make adjustments as necessary.
All the best in your...
Its best on 5min Timeframe and for most major pairs, and also for JPY pairs.
You could also watch the same system on bigger timeframes like 1H, 4H, daily etc to get the market position on a wider...
If there is anyone else testing this system on demo account then please feel free to post your trade charts or any improvements so we can all benefit.
Please share your experience of trading...
Hello Malik,
How have your testing of this system been? hope its easy and profitable.
This system will surely keep you out of sideways market, and catch good trends right when they start.
...
Support and Resistance is just one element of Trading, one cannot simply enter the trade like that. We have to know why market has been reversing at the same place, and keeping in mind where the...
Yes, If you take some elements from this system and incorporate it in your own system, if it will increase your win probability then, its all good.
Do also look for the levels indicator i posted...
Rightly said, Emotions is what actually gets traded on demo and live environment. Volume of Emotions is very small in demo accounts, but Volume of emotions will be much greater in live account and...
PIPForce Trading System is very easy and profitable if used correctly. This trading system is traded on 5min Charts.
Indicators used:
1) Envelope1
Period: 25, MA Method: Exponential,...
Hello,
NO this wont necessarily show you the trend, but yes it can show you reversal points. So just put it on a chart and watch it a day or two and you will get the idea, the simple fact being...
There are currently users online. members and guests
Threads:
Posts:
Member: