Expert Advisors and Automated Trading - page 237

Guys, I am trying to code an indicator for D1 charts, which uses M1 price/volume/spread/etc. data to calculate the indicator daily values. I use this code to copy rates: MqlRates       RatesM1[],RatesD1[];datetime       first_bar_date=SeriesInfoInteger(_Symbol,PERIOD_M1...
  EA on python  (5)
Hi I´m doing an EA on Python from 0 using the Metatrader5 Library so i can call the functions from there. Until the moment I could login with specifict username and pass and also select a symbol ("EURUSD") but I´m not being able to open a position so this makes me ask myself 2 questions. Is the
double PositionProfit = PositionGetDouble ( POSITION_PROFIT ); //is get profit What is the equivelent of POSITION_LOSS for mlq5
I need help with the optimization of my EA, I'll just go ahead and explain from the top The goal is to develop a trading system based on currency correlation. I already have the strategy part down. But the indicator itself is heavy in the sense that it goes through a lot of calculations based on 28
Hi Yesterday I tried to export data directly into a CSV file using some code for write to file etc. Just when I started the strategy tester, the computer became very noticeably slow (including the little spinning circle). It took much longer to actually display alerts in the journal and so on
As you can see from the above image i use bollinger bands , my strategy involves having 2 point of candles touching the BB band and the candles between these 2 points should form an upside down "V", i am having trouble coding the V part, i use array maximum to find the highest close between the 2
hello, I have a question: - as a signal provider, can I change the monthly subscription fee? - and if so, will this be applied to all my subcribers or only to new followers? Thanks for clearing this out for me. Mick
Hello, I am requesting a refund of my money. A week ago I bought two EAs. Merchant deleted profile and site. I do not know what to do
Basically I have been able to write the code for the candle pattern. The candle pattern is satisfied when the upper wick of 3 consecutive timeframes has the same High and Close for a bullish candle. The details of the pattern are explained in the attached images. I am trying to get all the
  Cheap VPS  (1)
Hi what is the recommend VPS to run my EA ? i have 20 customer soo i need a lot of VPS machine i need a cheap one but reliable
Dear all, I'm looking to code the following entry criteria: Define the Swing High correctly and its validity. Find the first Break High within the Swing High's validity. Confirm continuation of counting (Break High) by Break Low. If the second Break High appears plot an indicator arrow. Could you
hi i have few customer that i want to connect to my EA, i dont want to send them the ex5 file i run a vps with my EA for each customer and ask from them the password and account number and then connect them to my EA , there is a customer that dont want to send the password can i connect them to my
Hello, I am running this ExpertMAMA and it is showing small but generally consistent profits.  It is a quite complex code but has been around at least since 2011.  The issue I am having is that every now and then it shows a large loss and when I review the code I could not figure out how to...
I copy a trader in MT5, but would like to adjust the .01 trade size up a bit. I'm pretty sure I've read all available documentation on signal copying and if this info is there, I missed it. (Possible.) Is this possible? If so, how do I do it? TIA... Chop
i am using the below code to check for existing positions and opening a trade but the ea still keeps opening multiple orders, help please. //+------------------------------------------------------------------+ //| ProjectName | //|
Hi there, <Deleted>
Hi, I have been using python module of mt5 succefully to trade fx. Recently, I added equity stocks to my portfolio and made changes to my python cods to do 'ordersend' for trading equities as well.however, the order send function is failing to execute. I have used exactly same function that I use
Hi, I have some code which is responsible for risking x% of capital, based upon the intended stop loss. The code responsible for this operates fine on the live MT5 accounts, and the equivalent MT4 code functions fine on both live and the tester. However, on MT5, using custom symbols, the value of a
this my code: void ListAllSymbols() { bool flag= true ; string ret= "" ; int n= SymbolsTotal ( flag ); int i; // string strTemp=strSymbol; // StringToLower(strTemp); string str= "" ; int all= 0 ; for (i= 0 ;i<n;i++) { string name= SymbolName (i,flag); //
I am having difficulty with the following code: bool LabelCreate( const string name= "Label" , // label name const int x= 10 , // X coordinate const int y= 10 , // Y coordinate
Hi. I used one activation of an EA on the wrong server. I should have bought/activated on a different server... Is it possible to cancel that activation? Anyone
Can i sell a free ea with my own set file
  Object delay  (2)
hi i made a OBJ_BUTTON that if i push im it will show at other OBJ_BUTTON the current Ask but sometimes there is a delay of couple second untill he show me the Ask why there is a delay ? //+------------------------------------------------------------------+ //|
Hey forum , question , if I subscribe to a signal service on here via my MT5 terminal , do I need to be logged in to the account for the copying to happen ? Or not
Dear everyone, Recently, I've decided to back test an EA advisor from the CodeBase section called Three timeframes. I ran the test on different time frames on EURUSD and I was happy with the results, but it turned out that after I have attached the strategy to EURUSD 1 minute chart it made 10
Hello, I tried to compare results of optimization and result from an EA in Live mode. To be able to have same result in both mode, we need to share the same prices between StrategyTester and EA running in Live mode (even on past data), and I realized that values sent bu SymbolInfoTick and
How would I go about coding Fibonacci placement based on my entry point and taking it to the previous low or high in the market
Hi guys, i'm currently using a pretty good manual strategy involving the fib levels which i have customised the inputs to enhance optimisation of entries. Anyways, i was thinking of automating it but, for me not having a clue how someone can code an EA to trade fib levels it really is off-putting as
  Signals are not copying  (17   1 2)
Hello I bought signal from provider 2 weeks ago and see that owner is still trading but unfortunatelly nothing is trading on my account. I wrote message to the author but he not responded. I have VPS and also money on account. What could be wrong
I have written a method for close the position bool ClosePosition_real( int currentMagic, double &_profit) { MqlTradeRequest tradeRequestClose; MqlTradeResult tradeResultClose; int total= PositionsTotal (); // number of open positions for ( int i=total- 1 ;