Ricks creations / Publications
Forum
invalid volume issue MT5 Expert Verification
test on EURUSD,H1 (netting) 2022.02 . 01 09 : 50 : 40 failed instant buy 0.01 EURUSD at 1.12584 sl: 1.12334 tp: 1.12734 [Invalid volume] 2022.02 . 02 10 : 04 : 40 failed instant buy 0.01 EURUSD at 1.12886 sl: 1.12636 tp: 1.13036 [Invalid volume] 2022.02 . 03 15 : 44 : 40 failed instant buy
Time Filter Roll over to next day Question
i wanted to check my code below with the community if i did it correctly so that if a user sets in the input variables \\ Global input section at the top of my code. input int TimeStartHour = 21 ; input int TimeStartMin = 0 ; input int TimeEndHour = 9 ; input int TimeEndMin = 0 ; that the time it
not enough money but volume is set correct
i am getting this error during verification 2020.02 . 03 00 : 02 : 30 current account state: Balance: 1.00 , Credit: 0.00 , Commission: 0.00 , Accumulated: 0.00 , Assets: 0.00 , Liabilities: 0.00 , Equity 1.00 , Margin: 0.00 , FreeMargin: 1.00 2020.02 . 03 00 : 02 : 30 calculated account state
Normalizedouble
Below is a section of my code // count open positions int cntBuy, cntSell; if (!CountOpenPositions(cntBuy,cntSell)){ return ;} // check for buy positions if (cntBuy== 0 && bufferRSI[ 1 ]>=( 100 -RSI_Level) && bufferRSI[ 0 ]<( 100 -RSI_Level) && currentTick.ask>bufferMA[ 0 ]){ if
Unknown Chart Property Error 4210
here is my chart configuration code inside my EA i was wondering if someone could help me because i seem to be getting an error on "Chart Last Price Line color and Line Mode" // "Modify chart properties" model template < typename T1, typename T2, typename T3, typename T4, typename T5, typename T6
Issues with seeing all my buffers and using both chart window and seperate window
i am trying to get my indicator i made work but i have a lot of buffers 18 to be exact . with #property Strict everything compiles fine no errors and no warnings. but when i load into terminal i only see the first buffer i am still new to coding. #property indicator_chart_window #property
Making my EA work on All charts by applying to 1 chart
i have made my EA using my iCustom indicator int OnInit () { //--- get custom indicator value double Signal1= iCustom ( _Symbol , _Period , "::Indicators\\Signal_Waves_Oscillator.ex4" , 0 , 0 ); double Signal2= iCustom ( _Symbol , _Period , "::Indicators\\Signal_Waves_Oscillator.ex4" , 0 , 0
implicit conversion from 'number' to 'string' error on my custom fibo indicator
i am getting this error " implicit conversion from 'number' to 'string' i am still new to coding and i am trying to figure out why this would cause this error. Section below is where the error is being generated SetIndexLabel( 0 , "Fibo(" +BandsPeriod+ ")[" +TimeFrame+ "]" ); SetIndexLabel( 1
how to make my arrow stop repainting
I am still new to coding and I was trying to make my arrow system stop repainting. what do I need to add or remove from my code because right now it always repaints