Files
mt5-tools/__pycache__/view_set_comparator.cpython-314.pyc
T

65 lines
12 KiB
Plaintext
Raw Normal View History

2026-04-12 18:25:46 +10:00
+
«ÉÝiŔ&ăóđRt^RIt^RIt^RIHt^RIt^RIt]PP^]PP]PP] 444^RI
2026-04-12 18:25:46 +10:00
HtHtHtHtRtR#)um
view_set_comparator.py
======================
EA Settings Comparator page — migrated from main dashboard.
N)Údatetime)Úparse_set_fileÚbuild_comparison_dfÚexport_set_fileÚ
2026-04-12 18:25:46 +10:00
create_zipc óÂa%a&a'€\P!RRR7\P!R4R\P9d/\PR&R\P9d/\PR&R\P9d/\PR&R\P9d/\PR&R\P9d/\PR&\P!.RCO4wrpV;_uu_4\P
!R \
2026-04-12 18:25:46 +10:00
\^^ 44^R
7pR R R 4T;_uu_4\P!R RR7\P!R
RR7'd2RDFp/\PV&K \P!4R R R 4\P!4\P!\X^44p\V4EFopWV^,,;_uu_4\P!RV^, 2R.RV 2R7pVEe VP4pVPp \W‰4wr«rÍV
\PR,V &V \PR,V &V \PR,V &V\PR,V &V \PR,9d)V
P!4\PR,V &V
'd(\P"!RV R\%V
2026-04-12 18:25:46 +10:00
4 R24M\P&!RV R24R R R 4EKr \PR,p\%V4^EdH\P!4\
VP)44p\P!^4wrpV;_uu_4\P
!RV4o&R R R 4V;_uu_4\P*!R^^d^
4o%R R R 4V;_uu_4\P,!RRR7pR R R 4VUu.uF]pV\PR,V,\PR,V,\PR,V,3NK_ pp\/V4pVPUu.uFpVR8wgK VNK ppVV,P1^R7^8„VR &X'dVVR ,,P!4MVP!4pVP3R .R!7pVP5S&/4o'V%V&V'3R"lp\P!R#\%V4 R$\7VVR ,,P8^,4 R%24VP:P=V^R7p^#p\\%V4V,^(,R&4pR\P>PARR'R(7/pVF'p\P>PAVR)R(7VV&K) \PB!VR*RVVR+7\P!4\PD!R,4\P
!R-VR.R/7pV'Ed\PR,P5V/4p\PR,P5V.4p \PR,P5V/4p \FPH!V Uu.uFpRVR0VP5VR14/NK up4p\PJ!VR2RR3R\P>PARRR47R0\P>PAR04/R5V 2R67p RV P9d`R0V P9dO\M\OV R,V R0,PQ\R444\PR,V&\P!^4wrV;_uu_4\UV\PR,V,WĽ\PR,V,4p!\PV!R7V 2V!VR8R9R:7R R R 4T;_uu_4.p"Vp\UV\PR,P5VVV,4\PR,V,\PR,V,\PR,V,4p#V"PYVV#34 \[V"4p$\PV!R;V$R<\\P^!4PaR=4 R>2R?R@R:7R R R 4R #R #\%V4^8Xd\Pb!RA4R #\Pb!RB4R # +'giELî;i +'giEL;i +'giEK];i +'giELd;i +'giELL;i +'giEL5;iuupiuupiuupi +'giELé;i +'giR #;i)Ez•
<style>
[data-testid="stDataFrame"] {
margin-left: auto;
2026-04-12 18:25:46 +10:00
margin-right: auto;
}
2026-04-12 18:25:46 +10:00
</style>
T)Úunsafe_allow_htmluâš™ EA Settings ComparatorÚea_filesÚea_rawÚea_orderÚea_bytesÚ ea_editedzNumber of files)ÚindexNz<br>uđź—‘ Clear AllÚ secondary)ÚtypezFile ÚsetÚ
ea_upload_)rÚkeyuâś“ u — z paramsu⚠️ u— — this file does not appear to be an Ultimate Breakout System .set file. The comparator is optimised for UBS format only. Results may be incomplete.zSource file for comparisonz!Highlight % variation from sourcezShow different rows onlyF)ÚvalueÚ Parameter)ÚaxisÚ_diff)Úcolumnscó<R.\V4,pVR,pS PVR4p\VP4wrEVR8XdKW,pVS 8XdRW&K#VR8XgVR8Xd
Wc8wdRW&K=\ V4p\ V4pV^8XdV^8wdRW&KhKj\ W‡,
V, 4^d,p V S
2026-04-12 18:25:46 +10:00
8”dRW&KV ^8”dRW& V# Yc8wdRY&K¸;i)Úrz(background-color: rgba(100,100,255,0.15)z%background-color: rgba(255,180,0,0.2)z'background-color: rgba(255,100,100,0.2)z&background-color: rgba(255,180,0,0.15))ÚlenÚgetÚ enumeraterÚfloatÚabs)
ÚrowÚstylesÚparamÚsrc_vÚcolÚcell_vÚsvÚcvÚpct_diffÚ
pct_thresholdÚ source_fileÚ source_valss
& €€€Ú+C:\Users\pc\MT5Tools\view_set_comparator.pyÚ style_cellsÚrender.<locals>.style_cellshs ř€ŘTśC ›H•_Ő% —__ U¨BÓ/# C§IˇIÖ.‘ŘŘťŘ%Ř JFŘR”< 5¨B¤;ŘŘ$K™ ŮđLÜuv›Q”wŘ ś7Ř(QF$'¨­°2Ą~Ó#6¸Ő#<Ř# 3Ř(QFś\Ř(PF*ń+/đ4MřđLŘŘ$Kś ň'úsÂ(C.Â/*C.Ă C.Ă. Dz**u parameters** — z rows differ across filesiĐÚmedium)ÚwidthÚsmallÚcontent)r1Ú
hide_indexÚheightÚ
column_configz
2026-04-12 18:25:46 +10:00
Edit & ExportzSelect file to editÚ ea_edit_sel)rÚValuerÚstretchi)ÚdisabledÚ
ea_editor_)r1r4r5r6ru ⬇ Export zapplication/octet-streamÚea_export_single)ÚlabelÚdataÚ file_nameÚmimeru⬇ Export All as ZIPÚ ea_settings_z%Y%m%dz.zipzapplication/zipÚ
ea_export_allz"Upload at least 2 files to comparez+Upload .set files above to begin comparison)érCé)r r
r r r
2026-04-12 18:25:46 +10:00
)2ÚstÚmarkdownÚtitleÚ
session_staterÚ selectboxÚlistÚrangeÚbuttonÚrerunÚdividerÚminÚ
file_uploaderÚreadÚnamerÚcopyÚsuccessrÚwarningÚkeysÚsliderÚtogglerÚnuniqueÚdroprÚintÚshapeÚstyleÚapplyr6Ú
TextColumnÚ dataframeÚ subheaderÚpdÚ DataFrameÚ data_editorÚdictÚzipÚastypeÚstrrÚdownload_buttonÚappendrrÚtodayÚstrftimeÚinfo)(Úcol1Úcol2Úcol3Ún_filesrÚ upload_colsÚuploadedÚ
file_bytesÚfnameÚparamsÚ raw_linesÚorderÚis_ubsÚ
files_dataÚ filenamesÚshow_diff_onlyÚfnÚ
files_listÚdfÚ
value_colsÚ
df_displayr.ÚstyledÚ
row_heightÚtable_hÚ
col_configÚ edit_fileÚ
edited_paramsÚedit_dfÚeditedÚ export_bytesÚ all_exportsÚfbÚ zip_bytesr*r+r,s( @@@r-Úrenderrsnú€Ü‡K‚Kđđ ő‡H‚HĐ
ś"×*ČB¬B×,<Ń,<¸ZŃ,HŘś"×*ČB¬B×,<Ń,<¸XŃ,FŘś"×*ČB¬B×,<Ń,<¸ZŃ,HŘś"×*ČB¬B×,<Ń,<¸ZŃ,HŘś"×*ČB¬B×,<Ń,<¸[Ń,Iô—zz˘)Ó€Dß
ŠÜ—,’,Đ0´$´u¸QŔł|Ó2DČAÔN÷
ç
ŠÜ
Ź Š F¨dŐ
Ź9Š9Đ%¨K× RŘ(*”× Ń  ÓSä ŹHŠHŚJ÷
2026-04-12 18:25:46 +10:00
ô‡J‚J„LÜ—*’*śS ¨!›_Ó-€KÜ
7Ź^Ř
×
×
Ü×u
 U G°:¸a¸SĐ1AôÓ%ź]™]_
Ř%ź]™]Ü3AŔ*Ó3TŃ0 5Ř7=”× Ń  Ő,¨UŃ3Ř7@”× Ń  Ő*¨5Ń1Ř7<”× Ń  Ő,¨UŃ3Ř7A”× Ń  Ő,¨UŃ¤× 0Ń 0°Ő =Ô=Ř;Aż;ą;»=”B×$ [Ő1°%ŃÜ—J e W¨E´#°fł+°¸—J! % đ)TđUô÷# Ň