Forum

A Simple Question About Variables

Hello everyone :) All I want to do is giving value to "x". ( x is a variable) Then, when value of x is changed in OnTick function . That new value(given in Ontick) should remain untill its changed in Ontick again. double x= 10 void OnTick () { x= High[ 1 ] } That "10" value should called once at the

Simple question about RSI

Hello everyone! I know how to say " If RSI > x , then do this" But, how to say "If RSI > x when candle is closed then do this" ( I mean the last candle ) Thanks for your help. Have a good day :)

OrderOpenPrice error

Hello everyone. I need some help if ( OrderSelect ( 1 , SELECT_BY_POS , MODE_TRADES )== true ) { OrderModify ( OrderTicket (), OrderOpenPrice , Bid , 0 , 0 , 0 ); } I don't know why I get this error, which is: 'OrderOpenPrice' - Undeclared Identifier. Thanks

Time management a simple question

Hello everyone! I need help :) How to implement this to an advisor. If ( 5 minutes have passed since the last position was opened ) Do this Else Dont Thanks for your interest

Time constraint

How can I make sure that; Advisor (robot)should open position only if 5 min passed after last position had opened. Thanks