You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
Thank you for helping me to transform this indicator into EA
The purpose is to buy when the arrow blue appears and to sell when it is red
With the possibility of modifying manually the following parameters:
Min Range
Max Range
And putting TakeProfit, StopLoss, TrailingStop
Thank you very much
pdt.mq4costadelsol
For start, do you have the code that is not a decompiled code?
I am sure that this way coders are not very interested in examining it
That can help you!!!pdt.ex4
That can help you!!!pdt.ex4
That indicator is doing the performance test all wrong
As an example : entering a buy order on a lowest point of one candle and exiting it on a highest point of another candle is is rare that the ods that you can do that is consistently is equal to 0. Even for one order only entering on a low of one candle and exiting on a high of another candle is as rare as you can imagine it.
My advice is that you forget about that "indicator" and find some better ways of getting trading signals
My demand was simply that one m ' help to transform this indicator into EA Please
If somebody can make it I would be grateful for it
Help with code of EA
Hello; I built an EA using a code generator, afterwards I added an AdjustLotSize() function to it. But there is one part of code I dont understand, that is the AdvancedMMLots(). I am not sure the purpose of it, I tried to delete but then the EA wont work. File is attached, so if anybody with some knowledge of mql4 can take a look it would be great; also please test and backtest the strategy at will. Thank you!
Hello; I built an EA using a code generator, afterwards I added an AdjustLotSize() function to it. But there is one part of code I dont understand, that is the AdvancedMMLots(). I am not sure the purpose of it, I tried to delete but then the EA wont work. File is attached, so if anybody with some knowledge of mql4 can take a look it would be great; also please test and backtest the strategy at will. Thank you!
argento
It calculates the lot size depending on the result of the last order. If the last order was positive, it returns the lot size calculated by the AdjustLotSize, else it uses the lot size of the last (losing) order
Hi Mladen/Mr Tools
Could you please check and fix the min and max cross distance codes. After testing for few months I found that they are not working as they should. Ideally, after the price crosses ( on closed bar) above or under the upper or lower MA respectively, a new trade on next bar should open only if the condition of price distance from the MA ( upper ma for long trade and lower ma for short trade) is within the min and max distance. Additionally, if the condition is not met on each bar then the entry condition should be checked on future bars (upto a maximum number of future bars specified, similar to Uni EA ).
Further, an additional take profit feature will help where tp is hit on price touching a MA line.
Lastly, The trade time filter doesn't seems to work
I will be grateful if you find sometime to help me.
Many Thanks
Sachin
hello, can somebody help me make the candle as a background?
Is it possible to add BBANDs _stop indi to this indicator ?
I try to use iCustom like below but something doesn't work
In BBands_Stop_v3.0 indicator
extern int TimeFrame = 0; // TimeFrame in min
extern int UpBandPrice = 0; // Upper Band Price(ex.2 for High)
extern int LoBandPrice = 0; // Lower Band Price(ex.3 for Low)
extern int MA_Length = 20; // Bollinger Bands Period
extern int MA_Mode = 0; // Mode of Moving Average
extern double Deviation = 4; // Deviation
extern int DeviationLength = 20; // Period of Standard Deviation
extern double MoneyRisk = 1.00; // Offset Factor
extern int SignalMode = 2; // SignalMode: Display signals mode: 0-only Stops,1-Signals & Stops,2-only Signals
extern int LineMode = 1; // Display line mode: 0-no,1-yes
extern string alerts = "--- Alerts & Emails ---";
extern int AlertMode = 1;
extern int SoundsNumber = 1; //Number of sounds after Signal
extern int SoundsPause = 1; //Pause in sec between sounds
extern string UpSound = "alert.wav";
extern string DnSound = "alert2.wav";
extern int EmailMode = 1; //0-on,1-off
extern int EmailsNumber = 1; //0-on,1-off
[/CODE]
In All Ma.mq4
[CODE]
double UpLine[];
SetIndexStyle(4, DRAW_LINE,0,0);
SetIndexBuffer(4, UpLine);
UpLine [1]= iCustom(NULL, 0, "BBands_Stop_v3.0",0,0,0,20,0,4,20,1,2,"--- Alerts & Emails ---",1,1,1,1,"alert.wav","alert2.wav", 1,1, 4, 0);
DO I have to use some loop to display Bbands ?
Is it possible to add BBANDs _stop indi to this indicator ?
I try to use iCustom like below but something doesn't work
In BBands_Stop_v3.0 indicator
extern int TimeFrame = 0; // TimeFrame in min
extern int UpBandPrice = 0; // Upper Band Price(ex.2 for High)
extern int LoBandPrice = 0; // Lower Band Price(ex.3 for Low)
extern int MA_Length = 20; // Bollinger Bands Period
extern int MA_Mode = 0; // Mode of Moving Average
extern double Deviation = 4; // Deviation
extern int DeviationLength = 20; // Period of Standard Deviation
extern double MoneyRisk = 1.00; // Offset Factor
extern int SignalMode = 2; // SignalMode: Display signals mode: 0-only Stops,1-Signals & Stops,2-only Signals
extern int LineMode = 1; // Display line mode: 0-no,1-yes
extern string alerts = "--- Alerts & Emails ---";
extern int AlertMode = 1;
extern int SoundsNumber = 1; //Number of sounds after Signal
extern int SoundsPause = 1; //Pause in sec between sounds
extern string UpSound = "alert.wav";
extern string DnSound = "alert2.wav";
extern int EmailMode = 1; //0-on,1-off
extern int EmailsNumber = 1; //0-on,1-off
[/CODE]
In All Ma.mq4
[CODE]
double UpLine[];
SetIndexStyle(4, DRAW_LINE,0,0);
SetIndexBuffer(4, UpLine);
UpLine [1]= iCustom(NULL, 0, "BBands_Stop_v3.0",0,0,0,20,0,4,20,1,2,"--- Alerts & Emails ---",1,1,1,1,"alert.wav","alert2.wav", 1,1, 4, 0);
lukibest
You can not substitute the UpLine with bb stops. UpLine is defining the upper limit of the visible indicator area
can somebody plz help me?????
Hi Mladen/Mr Tools
Could you please check and fix the min and max cross distance codes. After testing for few months I found that they are not working as they should. Ideally, after the price crosses ( on closed bar) above or under the upper or lower MA respectively, a new trade on next bar should open only if the condition of price distance from the MA ( upper ma for long trade and lower ma for short trade) is within the min and max distance. Additionally, if the condition is not met on each bar then the entry condition should be checked on future bars (upto a maximum number of future bars specified, similar to Uni EA ).
Further, an additional take profit feature will help where tp is hit on price touching a MA line.
Lastly, The trade time filter doesn't seems to work
I will be grateful if you find sometime to help me.
Many Thanks
Sachin