NexusFi: Find Your Edge


Home Menu

 





Notepad++ and EasyLanguage


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one vmodus with 10 posts (32 thanks)
    2. looks_two rc76 with 4 posts (2 thanks)
    3. looks_3 sgjohnson with 4 posts (3 thanks)
    4. looks_4 syswizard with 3 posts (4 thanks)
      Best Posters
    1. looks_one vmodus with 3.2 thanks per post
    2. looks_two syswizard with 1.3 thanks per post
    3. looks_3 sgjohnson with 0.8 thanks per post
    4. looks_4 AllSeeker with 0.7 thanks per post
    1. trending_up 22,236 views
    2. thumb_up 43 thanks given
    3. group 9 followers
    1. forum 26 posts
    2. attach_file 3 attachments




 
Search this Thread
  #21 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
Systematic Algo Trader
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,270 since Feb 2017
Thanks Given: 2,960
Thanks Received: 2,856


sgjohnson View Post
Hm. It seems NPP doesn't do EasyLanguage multi-line comments correctly if you're commenting out anything with brackets already in them.

I will take a look at this. I'm working on the dark theme in the next few weeks, so maybe I will look at this at the same time. Can you point me in the right direction with a language in NPP that does multi-line comments as you described?


~vmodus

Enjoy everything!
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The Great Rotation -- Small Caps Crushing Tech as Sectio …
Traders Hideout
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
South Korea Suspends Bithumb for Six Months Over AML Fai …
Cryptocurrency
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
22 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #22 (permalink)
 sgjohnson 
Kingsport, Tennessee
 
Experience: None
Posts: 38 since Apr 2020
Thanks Given: 13
Thanks Received: 13


vmodus View Post
I will take a look at this. I'm working on the dark theme in the next few weeks, so maybe I will look at this at the same time. Can you point me in the right direction with a language in NPP that does multi-line comments as you described?

I don't think the particular language is the issue. It's just an issue with NPP. If you create a completely new language and use an open bracket as the opening of the block comment and the close bracket as the closing of the block comment, it still does the same thing. Take this block for example:
 
Code
{ trend:=	if (barstate.isfirst) {
			1
		} else {
			if (close>nz(resistance[1])) {
				1
			} else {
				if (close<nz(support[1])) {
					-1
				} else {
					nz(trend[1])
				}
			}
		}


if first bar, trend equals 1, or if close is greater than resistance of last bar, equals 1,
or if close is less than support of last bar, equals -1, otherwise trend of last bar }
This was a nested ternary operation from a PineScript indicator I converted to if-else to help me understand it so I could convert to EasyLanguage. I just copied and pasted into the code I already had to make it convenient to look at. If you copy and paste into TDE, it's commented out, but not in NPP. Not completely anyway. Some is, some isn't. It's not a huge deal. I can always use line comments since it's not terribly difficult to read.


Reply With Quote
Thanked by:
  #23 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
Systematic Algo Trader
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,270 since Feb 2017
Thanks Given: 2,960
Thanks Received: 2,856



sgjohnson View Post
I don't think the particular language is the issue. It's just an issue with NPP. If you create a completely new language and use an open bracket as the opening of the block comment and the close bracket as the closing of the block comment, it still does the same thing. Take this block for example:

This was a nested ternary operation from a PineScript indicator I converted to if-else to help me understand it so I could convert to EasyLanguage. I just copied and pasted into the code I already had to make it convenient to look at. If you copy and paste into TDE, it's commented out, but not in NPP. Not completely anyway. Some is, some isn't. It's not a huge deal. I can always use line comments since it's not terribly difficult to read.

Thanks. I'm wondering if those characters can be escaped somehow, if you know what I mean. I'm not sure how flexible the language editor is, but I will take a look at it anyhow.

I'll post any updates on this thread.


~vmodus

Enjoy everything!
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #24 (permalink)
 sgjohnson 
Kingsport, Tennessee
 
Experience: None
Posts: 38 since Apr 2020
Thanks Given: 13
Thanks Received: 13

Actually, line comments don't seem to work either. NPP sees a close bracket as ending the comment regardless if it's preceded by a line comment on the same line. Weird.


Reply With Quote
  #25 (permalink)
 Masber2000 
Detroit, MI
 
Experience: Intermediate
Platform: MultiCharts, Matlab
Posts: 12 since Mar 2010
Thanks Given: 25
Thanks Received: 5

Thank you for this! Is there a way for Notepad++ to show function details when typing in the function, as in the EL/PL editor?


Reply With Quote
  #26 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


vmodus View Post
You can pretty much design any language.

Nice work V....I use Notepad++ for fast searches thru the EasyLanguage source code, code comparisons using the Compare plug-in and for sending the source code to Github for versioning and archiving. It's a heckuva free tool.


Reply With Quote
Thanked by:
  #27 (permalink)
maxcodd
Dallas, Texas, USA
 
Posts: 1 since Jun 2025
Thanks Given: 0
Thanks Received: 0

tnks


Reply With Quote




Last Updated on June 15, 2025


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts