Le Nguyen Huy Nguyen / Publications
Forum
Bug separate window, I can't understand what it is
Dear everyone, My chart window version indicator works perfectly, but separate window version don't work correctly. I only change "#property indicator_chart_window" to "#property indicator_separate_window". I attach separate window version indicator soure code in post. Please tell me how to fix it
Need your help with iRSI
My code work correctly with: Momentum_Buffer [ Momentum_Position ] = Close [ Momentum_Position ] * 100 / Close [ Momentum_Position + Momentum_Period ] ; But with: Momentum_Buffer [ Momentum_Position ] = ( iRSI ( Symbol () , Period () , Momentum_Period , PRICE_MEDIAN , Momentum_Position ) * 100 ) /
Help me! To draw the result of iSar () ?
How to draw the result of iSAR.... on H1, M30....? int Count ; int Bar ; Bar = iBars ( NULL , 240 ) ; Count = Bar - 2 ; while ( Count >= 0 ) {
Problem with Strategy Tester
#property copyright " N.Huy " #property link "" //+------------------------------------------------------------------+ extern double Initial_Equity = 3000 ; extern double Profit_Rate = 5 ; //+------------------------------------------------------------------+ double Profit_Equity ;
Problem with File Funtion
//+------------------------------------------------------------------+ //| Invincible.mq4 | //| N.Huy | //| |
Use RSI indicator?
I use custom RSI indicator (Meta RSI indicator) in chart . I don't want calculate RSI in my EA. I want use RSI indicator's result in my EA. Exp: if RSI indicator's result =< 30 -> EA will order How can I do it
Equity ups a fixed percent comparing the starting balance
Hi, I want my E.A to stop if my equity ups a fixed percent comparing the initial balance. I coded my E.A but it can't compile. It has 2 errors. Please, help me to correct my EA. int init() { int InitialEquity = AccountEquity(); int Profit = InitialEquity * 10
How to program for protecting EA account automatically stopped when the Free Margin down to a certain level and continue the Free Margin of up to certain levels?
How to program for protecting EA account automatically stopped when the Free Margin down to a certain level and continue the Free Margin of up to certain levels
Help me! Why doesn't ea stop?
Help me, pls! //+------------------------------------------------------------------+ //| Test.mq4 | //| Nguyen Huy | //| |
I want to use the price which the select function buy for the next order. How can I do that?
Pls. help me. I'm beginner. [code] int start() { OrderSelect(Symbol(),OP_BUY,0.05,Ask,0,Ask-150*Point,Ask+15*Point,NULL,0,0,NULL); } [/code] I want to use the price which the select function buy for the next order. How can I do that