Australian (ASX) Stock Market Forum

Hi Andrew, with a bit modification to the code in order to suit my list of stocks, I think it runs with no errors. May I suggest that we have another scanner/filter which scans a percentage change of the volume over the last n-periods. Or may be the TSV. Thank you. BR, Dazrul

I have attached file SymbolScanPCV20170818.zip that contains the percent change of volume over the last n-periods mql4 script. Dialog Inputs when run are "PerChangeVolPeriod" and "PerChangeVolThreshold".

Shouldn't be too hard to code other scans as the symbol is passed into symbol scan and you just need to perform calculations relative to the most current candle.

Cheers,

Andrew.
 

Attachments

  • SymbolScanPCV20170818.zip
    1.4 KB · Views: 24
if true, display the result (Experts Tab in Terminal Pane). You could also write code to store results in a file.
how can i write code to store results in a file plz suggest me or upload a file of code. thanks
 
Hi aryma, I think "uninit reason 0" simply means the script was removed from the chart. So I think it ran as expected as it couldn't find any history files. I presume you are using the charts that are generated in real time from mt4 itself. If so then you don't need the dll to scan the charts. I have attached a simple mt4 script that scans common forex charts (4 hours). For example the code "ScanSymbol("USDCHF",PERIOD_H4);" scans the USDCHF 4hr chart. Note: The symbol must match (case sensitive I think) what MT4 calls it. Some MT4 brokers might call it something like USDCHFFX.

Hello Mr Andrew,

Thank you very much for your fantastic MT4 Stock Scanner. I have been successful up to the point of getting the prices into MT4 but cannot perform any scan because your dll file is populated with ASX symbols. Can I request for a simple dll or MT4 script which refers to a symbols.txt file that I can use to scan other market ? Many thanks for your help.

Warmest regards and God Bless!!!

Roti
 
Hi aryma, I think "uninit reason 0" simply means the script was removed from the chart. So I think it ran as expected as it couldn't find any history files. I presume you are using the charts that are generated in real time from mt4 itself. If so then you don't need the dll to scan the charts. I have attached a simple mt4 script that scans common forex charts (4 hours). For example the code "ScanSymbol("USDCHF",PERIOD_H4);" scans the USDCHF 4hr chart. Note: The symbol must match (case sensitive I think) what MT4 calls it. Some MT4 brokers might call it something like USDCHFFX.

Cheerio Mr Andrew,

I like your scanner very much. How do you include an Ichimoku Cross code (default settings) ?

For buy signal :-
Tenken-sen crosses above Kijun-sen
Senkou Span A crosses above Senkou Span B
Chikou Span is above Price

For sell signal :-
Tenken-sen crosses below Kijun-sen
Senkou Span A crosses below Senkou Span B
Chikou Span is below Price

Appreciate your help very much.

God Bless You

Crusoe
 
Top