This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
Support & ResistanceBack to topics list |
|
davidphily
2005.02.25 05:10
Hi There,
I am new with MT - I still little confuse with the language can some one help me tranfer this indicator from Visual trading language to MT Language? Res :=valuewhen(1, Cross(Mov(C, LBP,S),C), HHV(H, LBP)); Sup :=valuewhen(1, Cross(C,Mov(C, LBP,S)), LLV(L, LBP)); in human language... Resistance = when "CLOSE" cross moving average happen, draw the highest value for LPB period. Support = when Moving average cross "CLOSE" happen, draw the Lowest value for LBP period. Mov is moving average, LBP is Look back period HHV is Highest High value for LBP LLV is Lowest Low value for LBP Valuewhen(Nth, EXPRESSION,Dataarray) is Returns the value of the DATA ARRAY when the EXPRESSION was true on the Nth most recent occurrence. Sincerely David. G |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
