valLowest=iLow("USDJPY",PERIOD_H1,iLowest("USDJPY",PERIOD_H1,MODE_LOW,12,0));
valHighest=iHigh("USDJPY",PERIOD_H1,iHighest("USDJPY",PERIOD_H1,MODE_HIGH,12,0));
feel the difference
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
valLowest=Low[iLowest("USDJPY",PERIOD_H1,MODE_LOW,12,0)]; valHighest=High[iHighest("USDJPY",PERIOD_H1,MODE_HIGH,12,0)]; Print(pair," valLowest: ",valLowest," valHighest: ",valHighest);Is there another way to code this to get the information? I know that I could use this but I want to be able to lookback by X-hours.
valLowest=MarketInfo("USDJPY",MODE_LOW); valHighest=MarketInfo("USDJPY",MODE_HIGH);